Cancel payment intent - Point Payments - Mercado Pago Developers
Cancel payment intent

DELETE

/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}
This endpoint allows to cancel a payment intent.
Request's parameters
x-test-scope
string
Localization: headerThis is a temporary header, it should be used just for development with the value "sandbox"
deviceId

REQUIRED

string
Localization: pathidentifier of the device that will have a payment intent queued
paymentIntentId

REQUIRED

string
Localization: pathPayment Intent ID
Response parameters
id
string
Localization: body
Request
curl
curl -X DELETE \
    'https://api.mercadopago.com/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
{
  "id": "d71e88d6-6281-416b-b8ed-592c27352c99"
}
Errors
401bad_request
401401-- Unauthorized Token is invalid
403bad_request
403403-- Forbidden - Integrator isn't registered
409bad_request
500bad_request
500500-- Internal server error