Cancelar intención de pago

DELETE

/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}
Este endpoint permite cancelar una intención de pago.
Parámetros para la solicitud
x-test-scope
string
Localización: headerThis is a temporary header, it should be used just for development with the value "sandbox"
deviceId

REQUERIDO

string
Localización: pathidentificador del dispositivo que tendrá un intento de pago en cola
paymentIntentId

REQUERIDO

string
Localización: pathID de intención de pago
Parámetros de respuesta
id
string
Localización: body
Solicitud
curl
curl -X DELETE \
      'https://api.mercadopago.com/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}' \
      -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Respuesta
json
{
  "id": "d71e88d6-6281-416b-b8ed-592c27352c99"
}
Errores
401bad_request
401 Unauthorized Token is invalid
403bad_request
403 Forbidden - Integrator isn't registered
409bad_request
500bad_request
500 Internal server error