Capture an invoiceAsk AIpost https://api.processout.com/invoices/{invoice_id}/capturePath Paramsinvoice_idstringrequiredThe invoice ID generated by ProcessOut during the invoice creationBody ParamssourcestringSource used to capture the payment. Can be a card, a token or a gateway request.invoice_detail_idsarray of stringsArray of invoice details created with the invoice to capture.Only supported on compatible payment providersinvoice_detail_idsADD stringcapture_amountstringAmount to capture partially the transactioncapture_statement_descriptorstringSome payment providers are supporting different statement descriptor for the capture. Use this field to send a different one. By default, the one sent during the authorization will be forwarded.initial_scheme_transaction_idstringOverride the scheme IDsplit_allocationsarray of objectsAn array of allocation objects that defines how the capture payment should be divided among different recipients. Each object in this array represents one "split" of the total invoice amount. This object will override the invoice's default split allocations.split_allocationsADD objectcapture_typestringWhether this partial capture is "final" or "non-final".HeadersIdempotency-KeystringUnique key to your request that will be used for idempotencyResponses 200200 401401 404404 410410 4XX4XXUpdated about 2 months ago