Get last payment intent state - Point Payments - Mercado Pago Developers
Get last payment intent state

GET

/point/integration-api/payment-intents/{paymentintentid}/events
This endpoint allows to find the last state of a payment intent.
Request's parameters
x-test-scope
string
Localization: headerThis is a temporary header, it should be used just for development with the value "sandbox"
paymentIntentId

REQUIRED

string
Localization: pathPayment intent Id
Response parameters
status
string
Localization: body
created_on
string
Localization: body
Request
curl
curl -X GET \
    'https://api.mercadopago.com/point/integration-api/payment-intents/{paymentintentid}/events' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
{
  "status": "FINISHED",
  "created_on": "2021-09-03T20:59:10Z"
}
Errors
401bad_request
401401-- Unauthorized - Token is invalid
403bad_request
403403-- Forbidden - Integrator isn't registered
404bad_request
404404-- Not Found - Payment Intent doesn't exist
500bad_request
500500-- Internal server error