Issuing
Issuing covers everything before the first payment and around it afterwards: the customer (cardholder),
their account, the bank’s offer (products), the card itself and its settings. Module ubo-card.
Objects
Section titled “Objects”| Object | What it carries | Key points |
|---|---|---|
| Cardholder | Identity, contact details, date of birth, nationality, address; organisation | KYC level (0 none, 1 simplified, 2 standard, 3 enhanced), politically exposed person, AML risk (low, standard, high); read by the authorization rules |
| Account | Currency, number, IBAN, holder | Booked balance, held amounts, authorized overdraft, available; its ledger (see Limits and balances) |
| Contract | Reference, signature, end | Groups the cards of one agreement |
| Product | Network, debit or credit, currency, BIN range, validity, channels, countries and MCCs allowed or blocked, limits, services, designs, EMV profile | Versioned: a card keeps the version it was issued on; a new version applies to the next cards |
| Card | Cardholder, product and version, account, organisation, form, role, status, expiry, language, design | The full number is never stored in clear nor returned |
| Plastic | The physical support: material, design, batch, tracking | A card may have several plastics in its life (replacement, new design) |
| Token | A substitute number (wallet, merchant) | Linked to its original card (derived_from_id) |
The card
Section titled “The card”Form and role
Section titled “Form and role”| Form | Use |
|---|---|
PHYSICAL |
Made by a personaliser; active on receipt |
VIRTUAL |
No manufacturing: usable once activated |
TOKENIZED |
A token for a wallet or a merchant |
| Role | Use |
|---|---|
STANDALONE |
Single card (default) |
PRIMARY |
Main card of a card family |
SUPPLEMENTARY |
Supplementary card (a spouse, a child); needs its main card |
DERIVED |
Card derived from another (token, virtual twin); needs its original card |
The number
Section titled “The number”- It is drawn in the product’s BIN range, with its check digit (Luhn).
- It is encrypted by the HSM (card number vault key) and a separate fingerprint (MAC) is computed: it finds a card by its number (a clearing file, a block) without ever decrypting it.
- Only its last four digits and a token travel; display in clear goes through the controlled access to sensitive data.
Lifecycle
Section titled “Lifecycle”| Status | Payments | How one gets there |
|---|---|---|
created |
Declined | At creation |
pending_activation |
Declined (78) | Sent to activation; physical card shipped |
active |
Approved per rules and limits | Activation |
suspended |
Declined | Temporary hold (often by the cardholder), reversible |
blocked |
Declined | Block by the bank, reversible |
lost, stolen |
Declined | Declaration; final, the card is replaced |
cancelled |
Declined | Cancellation |
expired |
Declined (54) | Expiry date passed |
pending_renewal, replaced |
Declined | Renewal in progress; replaced by a new card |
destroyed |
Declined | End of life of the plastic |
A renewed or replaced card keeps the link with the previous one (renewed_from_id, replaced_from_id):
a cardholder’s history follows from card to card. Replacing a lost or stolen card, like a renewal,
creates a new card linked to the previous one; the old one no longer serves.
A status change may come from the portal, the API, a bank’s block file (UBO_CARD_STATUS, checked
against the last four digits), manufacturing (card shipped) or a job (expiry). Each change is
written in the card’s history with its author, reason and origin, and produces the event
card.status_changed.
Services and settings of the card
Section titled “Services and settings of the card”- Services: each channel (in-store payment, e-commerce, withdrawal, contactless, abroad) is a service of the card, inherited from the product and turned on or off card by card. A service off declines the operation at the validation step.
- Restrictions: countries, MCCs and channels blocked, inherited from the product, completed by the card.
- Card-specific rules: inclusion or exclusion of the bank’s rules for this card only.
- Card limits: the product’s, unless an exception is set on the card (a temporary increase).
- Language: used by ATMs, terminals and letters.
The PIN
Section titled “The PIN”- The PIN is never stored: only a verification value (PVV), computed by the HSM, is kept.
- At each authorization with a PIN, the PIN block received from the network is translated and verified by the HSM; an attempt counter blocks the verification after several errors (decline 75).
- Changing the PIN and resetting the counter are card operations, traced.
Interfaces
Section titled “Interfaces”| Channel | What travels |
|---|---|
| API | /cardholders, /accounts, /cards, /card-products, /card-visuals — see the reference |
| Files | Bulk blocks and unblocks (UBO_CARD_STATUS), manufacturing orders |
| Events | card.status_changed, card.renewed, card.replaced |
| Screens | Cardholders, Cards, Products, Designs, EMV profiles, Manufacturing |

