Cancel payment intent - Payment intent - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps
Cancel payment intent

DELETE

https://api.mercadopago.com/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}
This endpoint allows to cancel a payment intent while it's status is [open] and it has not been send to the terminal yet..
Request's parameters
HEADER
x-test-scope
string
This is a temporary header. It should be used only in the development stage with the value "sandbox". When going to production, it should be removed
PATH
deviceId
string

REQUIRED

Identifier of the device that will have a payment intent queued
paymentIntentId
string

REQUIRED

Payment intent identifier
Response parameters
id
string
Errors

401Error

401

Unauthorized Token is invalid

403Error

403

Forbidden - Integrator isn't registered

409Error

500Error

500

Internal server error

Request
curl -X DELETE \
    'https://api.mercadopago.com/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}'\
    -H 'Content-Type: application/json' \
       -H 'x-test-scope: sandbox' \
       -H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
    
Sample answer
{
  "id": "d71e88d6-6281-416b-b8ed-592c27352c99"
}