Skip to content
Authorization<token>

Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment — there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

per_page?integer | null

Must be at least 1. Must not be greater than 100.

cursor?string | null
search?string | null

Must not be greater than 255 characters.

status?"pending" | "processing" | "succeeded" | "failed" | "cancelled"
"pending""processing""succeeded""failed""cancelled"
date_from?string | null

Must be a valid date.

date_to?string | null

Must be a valid date. Must be a date after or equal to <code>date_from</code>.

Response Body

application/json

application/json

curl -X GET "https://example.com/refunds" \  -H "Content-Type: application/json" \  -d '{}'
GET
/refunds
{
  "code": 200,
  "status": "OK",
  "items": [],
  "meta": {
    "total": 0
  }
}
{
  "code": 401
}