Create payer token - Integration configuration - Mercado Pago Developers

Create payer token

After the agreement creation and the buyer's approval, you must create the payer token. The payer token is responsible for storing the buyer's data and ensuring the security of the transaction, it is also a mandatory attribute for creating transactions throughout the validity period of the agreement previously created.

Check out the diagram below that illustrates how the payer token creation flow works.

Create payer token

To create a payer token, send a POST with all necessary attributes to the endpoint /v2/wallet_connect/agreements/{agreementId}/payer_token and execute the request.

With the creation of the payer token, the Wallet Connect integration will finish successfully. Therefore, we recommend you check the Webhooks documentation to set notifications up and receive real-time information anytime an event occurs.