Endpoints map of Wallet Connect API
According to the flows of the APIs available for Wallet Connect integration, see below the links to each of the endpoints needed for integration.
| Operation | Path | Description |
| Create agreementPOST | /v2/wallet_connect/agreements | Creates a binding between the integrator and the payer's Mercado Pago account. |
| Generate payment tokenPOST | /v2/wallet_connect/agreements/{agreement_id}/payer_token | Generates a payment token associated with the agreement to authorize transactions. |
| Get agreementGET | /v2/wallet_connect/agreements/{agreement_id} | Returns the information of an agreement based on its identifier. |
| Cancel agreementDELETE | /v2/wallet_connect/agreements/{agreement_id} | Cancels an active agreement between the integrator and the payer's Mercado Pago account. |
| Create paymentPOST | /v1/advanced_payments | Creates an advanced payment with support for splitting and two-step capture. |
| Capture paymentPUT | /v1/advanced_payments/{advanced_payment_id} | Confirms and captures the amount of an advanced payment, withdrawing funds from the payer's account. |
| Get paymentGET | /v1/advanced_payments/{advanced_payment_id} | Returns the details of an advanced payment based on its identifier. |
| Refund paymentPOST | /v1/advanced_payments/{advanced_payment_id}/refunds | Performs a full or partial refund of an advanced payment. |
| Validate couponPOST | /v2/wallet_connect/coupons | Verifies the validity of a pre-added coupon, confirming expiration date, eligibility criteria, and existence of an associated campaign. |
| Create discount promisePOST | /v2/wallet_connect/discounts | Creates a discount promise to be applied to the transaction, with or without a pre-added coupon, before starting the payment flow. |
