Search payment intent - Point Payments - Mercado Pago Developers
Search payment intent

GET

/point/integration-api/payment-intents/{paymentintentid}
This endpoint allows to get information of payment intent. This endpoint will provide the payment intent’s information, its final status and the payment-id, which can be used to get the final status of the transaction in the Payment-API. The Webhook notifications are the main communication point of the payment intent information, then this endpoint should be used for testing and eventualities, and not for polling, because it has restrictions like consume by time, allows to get information one request per second.
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
id
string
Localization: body
state
string
Localization: body
amount
integer
Localization: body
device_id
string
Localization: body
Request
curl
curl -X GET \
    'https://api.mercadopago.com/point/integration-api/payment-intents/{paymentintentid}' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
{
  "id": "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1",
  "state": "FINISHED",
  "amount": 1500,
  "device_id": "INGENICO_MOVE2500__ING-23976989",
  "payment": {
    "id": 16499678033
  },
  "additional_info": {
    "external_reference": "some-reference-from-your-application",
    "print_on_terminal": true,
    "ticket_number": "S0392JED"
  }
}
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