This endpoint voids the remaining openToCapture amount of the payment auth, and refunds the consumer.
Partial voids can be performed by specifying an amount in the request body.
This operation is idempotent based on the requestId (if provided), which allows for the safe retry of multiple requests, guaranteeing the payment operation is only performed once.
Connection Timeouts
Basic authentication of the form Basic <base64(username:password)>.
The unique ID of the Afterpay Order, returned as the id property of the Auth response.
Can be passed in void requests to conditionally modify wording of the corresponding consumer refund email. This can be set to 1 of 3 values, cancelledItems, amountAdjustment or null
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)
If successful, returns an updated copy of the Payment object.