Skip to main content
GET
List cards

Authorizations

X-Auth-Client
string
header
required

Your workspace client id.

All calls must include four headers:

  • X-Auth-Client — your workspace client id
  • X-Auth-Timestamp — Unix seconds
  • X-Auth-Nonce — 16-byte random hex
  • X-Auth-Signature — hex(HMAC-SHA256( {client_id}:{timestamp}:{nonce}:{raw_body}, client_secret))

The playground computes the timestamp, nonce and signature for you.

X-Playground-Client-Secret
string
header
required

Your sandbox client secret. The playground uses it to sign the request in your browser and removes it before the request is sent. Never send your client secret as a header in your own integration.

Query Parameters

customer_id
string

Only cards held by this customer.

card_id
string<uuid>

Only this card.

status
string

Comma-separated card statuses (pending, active, frozen, blocked, pending_termination, terminated, failed).

card_type
string

Comma-separated card types (virtual, physical, lite).

currency
string

Card currency.

reference
string

Card reference.

has_address
boolean

Only cards with (true) or without (false) a stablecoin address.

first
integer

Page size. Clamped to at most 50. Alias: limit.

Required range: 1 <= x <= 50
limit
integer

Alias of first.

Required range: 1 <= x <= 50
after
string

Cursor from page_info.next_cursor. Alias: cursor.

cursor
string

Alias of after.

created_after
string<date-time>

Created at or after (RFC3339). Cannot be combined with period.

created_before
string<date-time>

Created at or before (RFC3339). Cannot be combined with period.

period
enum<string>

Creation-date window. custom needs start_date and end_date.

Available options:
all_time,
last_7_days,
last_1_month,
last_3_months,
last_6_months,
last_12_months,
year_to_date,
custom
start_date
string

Start for period=custom (RFC3339 or YYYY-MM-DD).

end_date
string

End for period=custom (RFC3339 or YYYY-MM-DD).

spending_min
integer<int64>

Minimum spend, micro-units (1 USD = 1,000,000).

Required range: x >= 0
spending_max
integer<int64>

Maximum spend, micro-units. Must not be below spending_min.

Required range: x >= 0
balance_min
integer<int64>

Minimum balance, micro-units.

Required range: x >= 0
balance_max
integer<int64>

Maximum balance, micro-units. Must not be below balance_min.

Required range: x >= 0
last_four_digit
string

Exactly 4 digits.

Pattern: ^[0-9]{4}$
first_six_digit
string

Exactly 6 digits.

Pattern: ^[0-9]{6}$
cardholder_name
string

Cardholder name, at most 255 characters.

Maximum string length: 255
email
string

Cardholder email, at most 255 characters.

Maximum string length: 255

Free-text search, at most 255 characters.

Maximum string length: 255
card_brand
enum<string>

Card brand.

Available options:
visa,
mastercard
created_status
string

Provisioning status (processing, completed, failed).

contactless_payment
boolean

Contactless enabled.

has_webhook
boolean

Only cards with (true) or without (false) a webhook_url.

initiated_from
string

Channel the card was created from.

stablecoin_network
string

Stablecoin network of the card address.

Response

OK

Successful responses are wrapped in this envelope, and so are errors a handler answers itself (request body and field validation, some not-found and conflict cases, ORG_NOT_ACTIVE): success is false and error carries a code and message. Errors raised by authentication and by the services behind a handler are a Problem instead.

success
boolean
required

true on success

timestamp
string<date-time>
required

When the response was written.

data
object

The payload; its shape is given per operation. Omitted when there is none.

error
object
message
string

Human-readable summary; omitted when empty.

metadata
object

List metadata. Page lists set page, per_page, total and total_pages; offset and cursor lists set limit, offset, has_more and next_cursor. Zero and empty fields are omitted, and metadata is absent when nothing is set.

request_id
string

Set on error envelopes: the request's correlation id (req_ followed by a UUID), the same value as the X-Correlation-ID response header. Quote it to support.