Get refunds list - Refunds - Mercado Pago Developers
Get refunds list

GET

/v1/payments/{id}/refunds
Get all Refunds for a specific payment.
Request's parameters
id

REQUIRED

string
Localization: pathPayment identifier
Response parameters
id
number
Localization: bodyRefund identifier
payment_id
number
Localization: bodyPayment identifier
amount
number
Localization: bodyPayment identifier
metadata
array
Localization: bodyContains payment metadata that is sent to us in the payment post
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
400400--Bad-Request--missing-information-on-header-
401bad_request
55--Must-provide-your-access-token-to -proceed--Valid-token-required-
404bad_request
20002000--Payment-not-found--Payment_Id_does_not_exist-