Search refund intent
GET
Products that use it:
Request's parameters
HEADER
x-test-scope
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 removedstring
PATH
refundintentid
Refund intent identification, obtained when creating it. For example "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1"string
REQUIRED
Response parameters
id
Identification of the refund intentstring
state
State of the refund intentstring
device_id
Identifier of the device to which the intent was assignedstring
payment_id
Identification number of the payment to refund.string
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-8971*********918-01191*********5874530a4*********4799fdf-1*********' \
Sample answer
{
"id": "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1",
"state": "FINISHED",
"device_id": "PAX_A910__SMARTPOS1234345545",
"payment_id": "12345678"
}