Intelligent search powered by OpenAI
Search payment intent
GET
Products that use it:
Request's parameters
HEADER
x-test-scope
This is a temporary header, it should be used just for development with the value "sandbox"string
PATH
paymentIntentId
Payment intent identificationstring
REQUIRED
Response parameters
id
Identification of the payment intentstring
state
State of the payment intentstring
amount
Total amount of payment intentinteger
device_id
Identifier of the device to which the payment intent was assignedstring
Errors
401Error
401
Unauthorized - Token is invalid
403Error
403
Forbidden - Integrator isn't registered
404Error
404
Not-found - Payment intent doesn't exist
500Error
500
Internal server error
Request
curl -X GET \
'https://api.mercadopago.com/point/integration-api/payment-intents/{paymentintentid}'\
-H 'Content-Type: application/json' \
-H 'x-test-scope: sandbox' \
-H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
Sample answer
{
"id": "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1",
"state": "FINISHED",
"amount": 1500,
"device_id": "PAX_A910__SMARTPOS1234345545",
"payment": {
"id": 16499678033
},
"additional_info": {
"external_reference": "some-reference-from-your-application",
"print_on_terminal": true,
"ticket_number": "S0392JED"
}
}