Home
Documentation
Resources
Certifications
Community

Resources

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

Community

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

Get specific refund - Refunds - Mercado Pago Developers

Intelligent search powered by OpenAI 

Get specific refund

GET

https://api.mercadopago.com/v1/payments/{id}/refunds/{refund_id}
Get a specific Refund from a specific payment..
Request's parameters
PATH
id
string

REQUIRED

Payment identifier.
refund_id
string

REQUIRED

Refund identifier.
Response parameters
id
number
Refund identifier.
payment_id
number
Payment identifier from the payment.
amount
number
Refund amount.
metadata
array
Contains payment metadata that is sent to us in the payment post
Errors

400Error

400

Bad-Request

401Error

5

Must-provide-your-access-token-to-proceed

404Error

2000

Payment-not-found

2032

Refund-not-found

Request
curl -X GET \
    'https://api.mercadopago.com/v1/payments/{id}/refunds/{refund_id}'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-2151*********762-03031*********750b665b7*********4dac477-1*********' \
    
Sample answer
{
  "id": 1032332129,
  "payment_id": 18552260055,
  "amount": 10,
  "metadata": [
    {}
  ],
  "source": [
    {
      "name": {
        "en": "Firstname Lastname",
        "pt": "Nome e sobrenome",
        "es": "Nombre y apellido"
      },
      "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": [
    {}
  ]
}