Cancel agreementhttps://api.mercadopago.com/v2/wallet_connect/agreements/{agreement_id}
Endpoint to cancel an agreement by id. An agreement is an authorization link that the buyer receives to allow the seller to access their Mercado Pago wallet to debit the payment. You will need to cancel an agreement when the vinculation flow has ended
DELETE
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
x-platform-id
Field intended for platforms or modules that offer Mercado Pago in their solutions.string
Path
agreement_id
Unique ID that identifies an agreement.string
REQUIRED
Query
client.id
Unique ID that identifies a clientnumber
Response parameters
Errors
400Error
400
Bad-Request
404Error
404
Not-Found
500Error
500
Error
Request
curl -X DELETE \
'https://api.mercadopago.com/v2/wallet_connect/agreements/{agreement_id}?client.id=1451895580758649'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-8*********932064-12*********edf6d3c99*********2236c703f*********668' \
-H 'x-platform-id: YOUR_PLATFORM_ID' \
Response
// This request has not been responded to.