Auth
Authentication
Basic authentication of the form Basic <username:password>
.
Headers
Request
A unique request ID, required for idempotent retries. We recommend that merchants generate a Universally Unique Identifier (UUID) for each unique request.
The reference/order ID that this payment corresponds to in the merchant’s system.
Note: Providing a new value updates 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. Used for express checkout.
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 Cash App 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.