Skip to main content
GET
Get a customer's accounts

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

memberId
string
required

The customer's memberId, as returned when the customer was created or imported. At most 36 characters.

Maximum string length: 36

Query Parameters

includeBalance
boolean

Include availableBalance and reservedBalance for each account. Default false.

accountType
string

Only return accounts of this account type, by name. Omitted, accounts of every type are returned.

includeExpiringBalance
boolean

Include expiringBalance, the bonus that expires next, for each account. Default false.

isActive
boolean

true returns only the accounts the customer can use now, false only the others. Omitted, all are returned.

Response

The customer's accounts. The list is empty when the customer has no account, or none that matches.

id
integer<int64>
required

The account's id. The calls that take an accountId or a toAccountId use it.

Example:

48213

isActive
boolean
required

Whether the customer can use the account now: the account is active and the customer is still linked to it.

Example:

true

isAllowedToSpend
boolean
required

Whether the bonus on the account can be spent in payments. false when the account or its account type does not allow it.

Example:

true

type
string
required

The name of the account's account type.

Minimum string length: 1
Example:

"Default"

conversionRate
number<double>
required

The factor the account type applies when a balance is shown: the balances here are the bonus on the account multiplied by it. 1 where bonus is shown as it is booked.

Example:

1

externalId
string | null

The account's external id. Absent when the account was created without one.

Maximum string length: 60
Example:

"ACC-100234"

availableBalance
number<double> | null

The bonus that can be spent now, multiplied by conversionRate. Bonus reserved for payments that are not captured yet is already taken out. Present only when includeBalance is true.

Example:

1250

reservedBalance
number<double> | null

The bonus held by transactions that still wait to be captured or cancelled, multiplied by conversionRate. Present only when includeBalance is true.

Example:

150

expiringBalance
object | null

The bonus that expires next. Present only when includeExpiringBalance is true and your environment expires bonus.

Last modified on August 10, 2026