Update Payment by Order ID
This endpoint is to create merchant side order ID's following the Afterpay order ID creation. Call the endpoint immediately after the Afterpay order is created.
Basic authentication of the form Basic <base64(username:password)>.
The merchant’s new order ID to replace with
The unique Afterpay (merchant payment) payment ID.
“APPROVED” (update is only valid for successful orders)
The payment creation time ISO 8601 UTC/Zulu time.
Available states: “AUTH_APPROVED”, “CAPTURED”, “VOIDED”, “EXPIRED”, “AUTH_DECLINED”, “PARTIALLY_CAPTURED”, “CAPTURE_DECLINED""