AI resources

Configure agreements

An agreement is the authorization granted by the buyer that allows the seller to debit payments directly from their Mercado Pago wallet, without requiring a login for each transaction. It is the first step of the Wallet Connect integration and is mandatory before processing any payment.

The flow consists of three stages: creating the agreement, obtaining the buyer's approval, and generating the payment token. Once completed, you will have the payer_token, a credential that authorizes the charges described in the Process payments section.

The same agreement can be used for multiple payments while it remains active, which means there is no need to repeat the authorization flow for each new charge.
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 configuring the agreement, consult the Possible errors section for more information.