AI resources

Process payments (via Advanced Payments API)

The Advanced Payments API/v1/advanced_payments is a legacy API and will soon stop receiving new updates. The recommended integration flow is via the Orders API/v1/orders.

With the Advanced Payments API, payments are processed using the payer_token obtained in the agreement, debiting the amount directly from the buyer's wallet. Before processing payments, you must have completed the agreement flow and obtained the payer_token. If you have not done so yet, see the Configure agreements section.

To learn in detail about all the parameters sent and returned in these requests, please refer to our API ReferenceAPI. Additionally, if you receive an error when processing the payment, consult the Possible errors section for more information.