The Afterpay v2 API offers merchants a choice of two different payment flows. The v1 API uses the Direct Capture flow.
Customers repayment commences once the order has been confirmed.
- For Immediate Capture repayment commences on Capture.
- For Deferred Payment repayment commences on Auth.
This flow allows merchants to capture the full payment amount at the time of order.
Read more about this payment flow in our API v2 docs
All platforms support the Direct Capture payment flow
This flow allows merchants to capture incremental amounts as items are shipped. Afterpay will settle funds when payments are captured by the merchant. If it is later determined that one or more shipments cannot be fulfilled, the un-captured remainder of the payment auth can be voided. This is similar to the Auth and Capture process of an order paid with a credit card.
Read about this payment flow in our API v2 docs.
Supported Platforms for Auth and Capture Payment Flow
The quickest way to start testing the API is to use our Postman request collection
Updated over 2 years ago