Cancel refund intent
DELETE
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
deviceId
Identifier of the device that have the refund intent queued, for example "PAX_A910__SMARTPOS1234345545". If you don't know this value, you can send a GET to "Search refund intent endpoint"string
REQUIRED
refundintentid
Refund intent identifier that was received in the respose to its creation. For example, "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1"string
REQUIRED
Response parameters
id
Identifier of the refund intent that was successfully cancelledstring
Errors
401Error
401
Unauthorized - Token is invalid
403Error
403
Forbidden - Integrator isn't registered
500Error
500
Internal server error
Request
curl -X DELETE \
'https://api.mercadopago.com/point/integration-api/devices/{deviceid}/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": "d71e88d6-6281-416b-b8ed-592c27352c99"
}