Cancelar intenção de pagamento

DELETE

/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}
Este endpoint permite cancelar uma intenção de pagamento.
Parâmetros de requisição
x-test-scope
string
Localização: headerThis is a temporary header, it should be used just for development with the value "sandbox"
deviceId

OBRIGATÓRIO

string
Localização: pathidentificador do dispositivo que terá uma tentativa de pagamento em fila
paymentIntentId

OBRIGATÓRIO

string
Localização: pathID de intenção de pagamento
Parâmetros de resposta
id
string
Localização: body
Solicitação
curl
curl -X DELETE \
      'https://api.mercadopago.com/point/integration-api/devices/{deviceid}/payment-intents/{paymentintentid}' \
      -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Resposta
json
{
  "id": "d71e88d6-6281-416b-b8ed-592c27352c99"
}
Erros
401bad_request
401 Unauthorized Token is invalid
403bad_request
403 Forbidden - Integrator isn't registered
409bad_request
500bad_request
500 Internal server error