Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Online payments
In-person payments
Tools and resources
APIs and SDKs
Cancel refund intent - Refund intent - Mercado Pago Developers
Cancel refund intent

DELETE

https://api.mercadopago.com/point/integration-api/devices/{deviceid}/refund/{refundintentid}
This endpoint allows to cancel a refund intent while its status is [open] and it has not yet been send to the terminal.
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
deviceId
string

REQUIRED

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"
refundintentid
string

REQUIRED

Refund intent identifier that was received in the respose to its creation. For example, "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1"
Response parameters
id
string
Identifier of the refund intent that was successfully cancelled
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"
}