AI resources

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.

OperationPathDescription
Create agreementPOST/v2/wallet_connect/agreementsCreates a binding between the integrator and the payer's Mercado Pago account.
Generate payment tokenPOST/v2/wallet_connect/agreements/{agreement_id}/payer_tokenGenerates 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_paymentsCreates 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}/refundsPerforms a full or partial refund of an advanced payment.
Validate couponPOST/v2/wallet_connect/couponsVerifies the validity of a pre-added coupon, confirming expiration date, eligibility criteria, and existence of an associated campaign.
Create discount promisePOST/v2/wallet_connect/discountsCreates a discount promise to be applied to the transaction, with or without a pre-added coupon, before starting the payment flow.