Logoelepay
Refunds

List refunds

返金に関する情報を一覧で取得します。

GET
/charges/{id}/refunds
Charge ID

Response Body

application/json

OK

TypeScript Definitions

Use the response body type in TypeScript.

curl -X GET "https://api.elepay.io/charges/string/refunds"
{
  "total": 0,
  "refunds": [
    {
      "id": "string",
      "object": "refund",
      "chargeId": "string",
      "liveMode": true,
      "amount": 0,
      "currency": "str",
      "metadata": {},
      "reason": "string",
      "status": "pending",
      "refundedTime": 0,
      "createTime": 0
    }
  ]
}