Obtener último estado de una intención de pago - Pagos Point - Mercado Pago Developers
Obtener último estado de una intención de pago

GET

/point/integration-api/payment-intents/{paymentintentid}/events
Este endpoint permite encontrar el último estado de 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"
paymentIntentId

REQUERIDO

string
Localización: pathPayment intent Id
Parámetros de respuesta
status
string
Localización: body
created_on
string
Localización: body
Solicitud
curl
curl -X GET \
      'https://api.mercadopago.com/point/integration-api/payment-intents/{paymentintentid}/events' \
       -H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
      
Respuesta
json
{
  "status": "FINISHED",
  "created_on": "2021-09-03T20:59:10Z"
}
Errores
401bad_request
401 Unauthorized - Token is invalid
403bad_request
403 Forbidden - Integrator isn't registered
404bad_request
404 Not Found - Payment Intent doesn't exist
500bad_request
500 Internal server error