Essa informação foi útil?
Sim
Não
Obter último status de uma intenção de pagamento/point/integration-api/payment-intents/{paymentintentid}/eventsEste endpoint permite que você encontre o último status de uma intenção de pagamento.
GET
Produtos relacionados:
Parâmetros de requisição
x-test-scope
Localização: headerThis is a temporary header, it should be used just for development with the value "sandbox"string
paymentIntentIdstring
Localização: pathPayment intent IdOBRIGATÓRIO
Parâmetros de resposta
status
Localização: bodystring
created_on
Localização: bodystring
Solicitação
curl
curl -X GET \
'https://api.mercadopago.com/point/integration-api/payment-intents/{paymentintentid}/events' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
Resposta
json
{
"status": "FINISHED",
"created_on": "2021-09-03T20:59:10Z"
}
Erros
401bad_request
401
403bad_request
403 Forbidden - Integrator isn't registered
404bad_request
404 Not Found - Payment Intent doesn't exist
500bad_request
500 Internal server error