Search a refund intent - Refund intent - Mercado Pago Developers
Search refund intent

GET

https://api.mercadopago.com/point/integration-api/refund/{refundintentid}
This endpoint will provide information of a refund intent, such as its final status, the device to which it was assigned, or the payment identifier to which it belongs.
Request's parameters
HEADER
x-test-scope
string
This is a temporary header. It should be used only in the development stage with the value "sandbox". When going to production, it should be removed
PATH
refundintentid
string

REQUIRED

Refund intent identification, obtained when creating it. For example "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1"
Response parameters
id
string
Identification of the refund intent
state
string
State of the refund intent
device_id
string
Identifier of the device to which the intent was assigned
payment_id
string
Identification number of the payment to refund.
Errors

401Error

401

Unauthorized - Token is invalid

403Error

403

Forbidden - Integrator isn't registered

404Error

404

Not found - Refund intent doesn't exist

500Error

500

Internal server error

Request
curl -X GET \
    'https://api.mercadopago.com/point/integration-api/refund/{refundintentid}'\
    -H 'Content-Type: application/json' \
       -H 'x-test-scope: sandbox' \
       -H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
    
Sample answer
{
  "id": "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1",
  "state": "FINISHED",
  "device_id": "PAX_A910__SMARTPOS1234345545",
  "payment_id": "12345678"
}