Skip to main content
GET
List refunds

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Query Parameters

limit
integer
default:20

Whole number from 1 to 100. Default 20. Anything else is 400 invalid_request.

Required range: 1 <= x <= 100
starting_after
string

The id of the last item you have. Returns the items after it: the next page.

ending_before
string

The id of the first item you have. Returns the page just before it. Send one cursor or the other, not both. Checkout sessions, payments and subscriptions refuse it with 400.

payment
string<uuid>

A payment id (payments UUID).

checkout_session
string

A checkout session id (cs_…).

Pattern: ^cs_

Response

A page of refunds of the payment.

object
any
required
has_more
boolean
required

Read this before you assume the list ended.

url
string
required

The path of the list.

data
object[]
required