Capture Payment
Authentication
Basic authentication of the form Basic <username:password>.
Path parameters
The unique ID of the Afterpay Order, returned as the id property of the Auth response.
Headers
Request
The reference/ order id that this payment corresponds to in the merchant’s system.
Note: Providing a new value will update any value previously set in the Create Checkout request.
Response
If successful, returns an updated copy of the Payment object, with the newly captured payment appended to the events array as a Payment Event object with a type of “CAPTURED”.
is the merchant’s order id/reference that the payment corresponds to.
An array of refunds. Note: in response to a Capture Full Payment call, this array will always be empty, since refunds cannot occur until payment is captured.
List of billing agreements created if any (field omitted if empty)