v1

latestOpenAPI 3.1.02026-07-26500375.1 KB

Refund Fetch by ID

The following endpoint retrieves the details of a single refund

get/refunds/{id}

Path parameters

idstring required

Unique identifier of the Refund to be retrieved

Response

200

Example response

{
  "data": {
    "id": "rfn_lCs4X0M9gB0135",
    "amount": "10000.00",
    "refund_type": "partial",
    "status": "approved",
    "created_at": "2021-06-29T15:43:49.998179Z",
    "updated_at": "2021-06-29T15:43:54.634024Z",
    "approved_at": "2021-06-29T15:43:54.634024Z",
    "source": "api",
    "customer_id": "cus_0lyb30V7O16812",
    "customer_name": "John Doe",
    "customer_email": "john@doe.com",
    "customer_phone": "0812778161"
  }
}