Skip to main content
GET
cURL
Retrieves an array of credits.

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Query Parameters

currency_code
string

Filter to adjustments in a specific currency

Minimum string length: 1
customer_id
string | null
required

The id provided when creating the customer, we suggest matching with your internal customer id in your backend

Minimum string length: 1
effective_after
string<date-time>

Filter to adjustments that are effective after this date

effective_before
string<date-time>

Filter to adjustments that are effective before this date

expires_after
string<date-time>

Filter to adjustments that expire after this date

expires_before
string<date-time>

Filter to adjustments that expire before this date

issued_after
string<date-time>

Filter to adjustments that were issued after this date

issued_before
string<date-time>

Filter to adjustments that were issued before this date

status
enum<string>[]

Filter to a specific set of adjustment statuses. Defaults to both active and inactive.

  • active - Active
  • inactive - Inactive
Available options:
active,
inactive

Response

200 - application/json
credit_id
string
required
customer
object
required
amount
number<double>
required
Required range: 0 <= x < 10000000000
amount_remaining
number<double>
required
read-only
Required range: 0 <= x < 10000000000
currency
object
required
description
string | null
required
read-only
effective_at
string<date-time>
required
read-only
expires_at
string<date-time> | null
required
read-only
status
enum<string>
required
read-only
  • active - Active
  • inactive - Inactive
Available options:
active,
inactive
amount_paid
number<double>
required
read-only
Required range: -10000000000 < x < 10000000000
amount_paid_currency
object | null
required
drawdowns
object[]
required
read-only