Skip to main content

Programs

A program is a card product definition. It sets the product type and currency for the cards issued under it. List programs (the id on each row is program_id everywhere else):
cURL
TEST keys only return TEST programs; LIVE keys only LIVE. Fetch one with GET /v1/programs/{id}.
cURL
The underlying issuing rail is chosen and managed by Apocor. It is an implementation detail and never appears in your API responses.

Card funding mode

Each program can use wallet service (Apocor deposit address) or bring-your-own wallet (byo_wallet). Configure with PUT /v1/programs/{id}/funding-config. Full walkthrough: Card funding (wallet & BYO).

Accounts

An account holds funds and backs the cards issued under a program. Create an account before issuing cards — card issuance references account_id and provisions issuer-side funding on first use.
cURL
name is an optional display label to tell accounts apart (useful once a program has more than one). Rename later with PATCH /v1/accounts/{id} — send { "name": null } to clear it.

Balances

Balances are reported in minor units (cents). available is what’s spendable after holds.
cURL