Bitnob Cards API
Virtual cards: issue, fund, withdraw, freeze, terminate, and the card KYC and corporate onboarding behind them. ## Card programs Every card belongs to one card program, named by `card_program` on card KYC, card creation and the card object. A program must be enabled for your company before you can use it; otherwise the request returns 400. | Program | What it is | Funding | Card KYC | |---|---|---|---| | `prepaid` | Virtual prepaid card. | From your company balance at creation, 2 to 2,500 USD. | `POST /api/cards/kyc` with `card_program: prepaid`. | | `collateral` | A cardholder's own card, backed by a deposit. | No initial funding; spending power comes from the deposit. | `POST /api/cards/kyc` with `card_program: collateral`; the cardholder finishes on the hosted page (`completion_link`). | | `collateral_business` | Business cards that draw on one shared company pool. | The company pool. | `POST /api/cards/kyc/corporate`. | | `prepaid_platinum` | Virtual prepaid USD Visa card. | From your company balance at creation, $5 to $2,500; $1 always stays on the card. | `POST /api/cards/kyc` with an identity document and `id_front_image`. | | `prepaid_premium` | Virtual prepaid USD Visa card, premium range. | As `prepaid_platinum`. | As `prepaid_platinum`. | For `prepaid_platinum` and `prepaid_premium`: - **Register your card encryption key first.** Send your RSA public key (2048 bits or more) to `POST /api/cards/encryption-key`. These programs only ever return card details encrypted to that key, so until it is registered, `GET /api/cards/{cardId}/secure` returns 422 for their cards. Card creation itself does not check for the key, so register it before you issue cards. To open the encrypted details, see [Decrypt card details](/docs/card-issuing/decrypt-card-details). - One card KYC covers both: a customer approved for either can be issued cards in both. - Create the card with a `customer_id` that has passed card KYC; an inline customer is refused. - `prepaid_premium` must always be named. When `card_program` is omitted you get the platform's default prepaid program. - Card details from `GET /api/cards/{cardId}/secure` are always encrypted to your registered key, and are shown through `secure_view_url`, a link usable for about one minute.