AI resources
Cancel agreementhttps://api.mercadopago.com/v2/wallet_connect/agreements/{agreement_id}
This endpoint allows canceling an existing link by its ID, revoking the seller's authorization to process payments from the buyer's wallet. In case of success, the request will return a response with status 200.
DELETE
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
x-platform-id
Identifier for platforms or modules that offer Mercado Pago within their solutions.string
Path
agreement_id
Unique identifier of the agreement.string
REQUIRED
Query
client.id
Unique identifier of the client application.number
Response parameters
Errors
400Request error.
400
Bad Request.
404Error. Resource not found.
404
Not Found.
500Processing error.
internal_error
Some error occurred on our side while attempting to process the request. Please try again later.
Request
curl -X DELETE \
'https://api.mercadopago.com/v2/wallet_connect/agreements/{agreement_id}?client.id=<CLIENT_ID>'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-5*********956537-12*********ff1a3d36d*********47e7b9985*********770' \
-H 'x-platform-id: YOUR_PLATFORM_ID' \
Response
// This request has not been responded to.