Retrieve a Refund
HTTP Request¶
GET /v1/payments/charges/refund/{{idempotencyKey}}
Response
{
    "transferStatusCode": 200,
    "transferErrorMsg": null,
    "idempotencyKey": "2022030214000007-1",
    "referenceId": "2022030214000007",
    "paymentMethod": "CARD",
    "amount": 300,
    "currency": "MXN",
    "country": "MX",
    "finalAmount": 100,
    "finalCurrency": "MXN",
    "createTime": "2022-03-01 21:18:56 GMT-08:00",
    "scheduledTime": "2022-03-01 21:18:56 GMT-08:00",
    "finalStatusTime": "2022-03-01 21:18:58 GMT-08:00",
    "payer": {
        "name": "username",
        "email": "username@liquido.com",
        "document" : "1234567890",
        "phone": "+521234567890",
        "billingAddress": {  
            "zipCode": "03400",
            "state": "CDMX",
            "city": "Álamos",
            "street": "Simón Bolívar",
            "number": "12121"
        }
    },
    "transferStatus": "SETTLED",
    "description": "refund test",
    "callbackUrl": "https://api.client.com/callback/"
}
HTTP Headers Details¶
| Key | Value | 
|---|---|
| Authorization | "Bearer" + " " + {{access_token}} | 
| x-api-key | {{api_key}} | 
PATH and Query Parameters¶
| Parameter | Type | Description | 
|---|---|---|
| idempotencyKey | String | The idempotency key of the refund | 
Response Body Details¶
| Parameter | Type | Description | 
|---|---|---|
| idempotencyKey | String | Unique key of refund record. | 
| referenceId | String | Unique key of payment record which refunded. | 
| amount | Long | The refund amount | 
| country | String | country code | 
| currency | String | The currency of the transferred fund | 
| finalAmount | Long | The final amount that is used for creating the charge order. EX: for charge orders with FX conversion, this field represents the converted amount from the original requested amount. | 
| finalCurrency | String | The currency code of the finalAmount. | 
| createTime | String | The creation time of refund request | 
| scheduledTime | String | Transfer ticket scheduled time | 
| finalStatusTime | String | The settled or failed time of refund transaction | 
| transferStatus | String | Transfer status, SETTLED, IN_PROGRESS, FAILED | 
| transferStatusCode | Integer | Transfer status code, 200 transaction SETTLED or IN_PROGRESS or FAILED | 
| transferErrorMsg | String | Transfer error message if failed | 
Object Parameters¶
Payer¶
| Parameter | Required | Type | Description | 
|---|---|---|---|
| name | String | fullname(Input specification: Only a combination of uppercase and lowercase letters, numbers and spaces is allowed. Spanish and Portuguese letters, and other special characters are not allowed). | |
| String | email. | ||
| document | String | CURP | |
| phone | String | Mobile phone number. Should include “+52” as a prefix. | |
| billingAddress | JSON | Billing address info. | 
BillingAddress¶
| Parameter | Required | Type | Description | 
|---|---|---|---|
| zipCode | String | zip code. | |
| state | String | state. | |
| city | String | city name. | |
| street | String | street name. | |
| number | String | street number. |