v1

latestOpenAPI 3.1.02026-07-2656258207.2 KB
Refunds

Retrieve a refund

get/refunds/{id}

Path parameters

idstring required

ID of the refund

Headers

X-Trace-Idstring

A unique identifier to track this operation. It must be between 12 and 255 characters in length.

Response

OK

status'success' | 'failed'
messagestring

Example response

{
  "data": {
    "amount_refunded": 12.34,
    "reason": "requested_by_customer",
    "status": "new",
    "charge_id": "chg_VnUihmASmF"
  }
}