Which documentation are you looking for?
Do not know how to start integrating?
Check the first stepsDid you find this information useful?
Yes
No
Get refunds list/v1/payments/{id}/refundsGet all Refunds for a specific payment.
GET
Products that use it:
Request's parameters
idstring
Localization: pathPayment identifierREQUIRED
Response parameters
id
Localization: bodyRefund identifiernumber
payment_id
Localization: bodyPayment identifiernumber
amount
Localization: bodyPayment identifiernumber
metadata
Localization: bodyContains payment metadata that is sent to us in the payment postarray
Request
curl
curl -X GET \
'https://api.mercadopago.com/v1/payments/{id}/refunds' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
Answer
json
{
"id": 1032332129,
"payment_id": 18552260055,
"amount": 4,
"metadata": [
{}
],
"source": [
{
"name": "Firstname Lastname",
"id": "1003743392",
"type": "collector"
}
],
"date_created": "2021-11-24T13:58:49.312-04:00",
"unique_sequence_number": null,
"refund_mode": "standard",
"adjustment_amount": 0,
"status": "approved",
"reason": null,
"label": [
{}
],
"partition_details": [
{}
]
}
Errors
400bad_request
400
401bad_request
5Valid-token-required-
404bad_request
2000Payment_Id_does_not_exist-