Auth
Authentication
Basic authentication of the form Basic <username:password>.
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.
Required for express checkout only. Amount to be checked against the value in the create checkout request. If the amounts do not match, then the request is rejected and an error specific to this scenario is returned.
Express checkout only. The isCheckoutAdjusted field can be used to allow the order amount to be changed after the checkout flow.
Express checkout only. A unique value representing the payment schedule that must be provided when there has been changes since the initial order creation (retrieved from checkout widget).
Express checkout only. An array of order items that have been updated to be provided if it has changed since the initial order creation.
Express checkout only. The shipping address if it has changed since the initial order creation.
Response
If the payment is approved by Afterpay, a Payment object is returned with a status of APPROVED and a paymentState of AUTH_APPROVED.
is the merchant’s order id/reference that the payment corresponds to.
List of billing agreements utilized or created if any (field omitted if empty)