Cards, Subscriptions, and Verifications
How cards, card subscriptions and verifications fit together: card and cardholder fields, subscription states, the three enrollment types, and 3DS verification.
Introduction
In Astrada, three core resources manage the lifecycle of card enrollment and data sharing: Cards, Card Subscriptions, and Verifications.
A Card represents the physical or virtual payment card identity. A Card Subscription models the data-sharing relationship between a Card and a Subaccount: it is the active link that determines whether transaction data is captured. A Verification ensures the card is validated before data begins to flow.
Together, these resources form the enrollment layer that sits between Subaccounts and Transaction data.
Card
The Card represents the physical or virtual payment card, encapsulating essential information that remains constant over its lifetime. This includes the card's country of issuance, expiry date, network, and the first and last digits of the PAN (Primary Account Number). A Card is created during the enrollment process and belongs to a specific Subaccount.
| Field | Description | Type |
|---|---|---|
| id | Unique card identifier | string, uuid |
| subaccountId | The Subaccount this card belongs to | string, uuid |
| first6digits | First 6 digits of the PAN (BIN) | string, or null on a card from a bank connection |
| last4digits | Last 4 digits of the PAN | string |
| network | Card network | string: visa, mastercard, amex; null on a card from a bank connection whose network is not known |
| country | Country of issuance | string, ISO 3166 ALPHA-3 |
| expiryMonth | Card expiry month | integer, 1–12 |
| expiryYear | Card expiry year | integer, YYYY |
| createdAt | Creation timestamp | string, ISO 8601 |
| updatedAt | Last update timestamp | string, ISO 8601 |
Example Card
{
"_links": {
"self": { "href": "/cards/f744b691-bf05-4f2a-ab89-bb1afe4eb840" }
},
"id": "f744b691-bf05-4f2a-ab89-bb1afe4eb840",
"subaccountId": "da6649a8-f0ea-4af0-b342-c0b5c3e024dd",
"first6digits": "434343",
"last4digits": "4343",
"network": "mastercard",
"country": "USA",
"expiryMonth": 11,
"expiryYear": 2028,
"createdAt": "2024-02-04T18:41:16.142Z",
"updatedAt": "2024-02-04T18:41:16.142Z"
}The API returns only the first 6 and last 4 digits of the card number. Astrada keeps the full number encrypted in a separate card vault and never returns it; it is deleted 60 days after the card's expiry date, or earlier when the card's records are deleted.
Cardholder
The Cardholder is the person a card belongs to: their name, email address and postal code, and their company details in corporate. A card has at most one cardholder, and not every card has one.
Read it with GET /cards/{cardId}/cardholder (scope cardholder:read), or inline with GET /cards/{cardId}?expand=cardholder or GET /card-subscriptions/{id}?expand=card,cardholder. A card that has a cardholder carries a cardholder link in its _links. For a card without one, the GET answers 404 and both expand calls leave cardholder out; for a transaction's expand=cardholder, see Get a transaction.
| Field | What it holds |
|---|---|
firstName, lastName | The cardholder's name |
email | The cardholder's email address |
postalCode | The cardholder's postal code; from a feed, as the card network provides it |
corporate | The company details below |
Inside corporate:
| Field | What it holds |
|---|---|
id | The company ID the bank or card network gives the cardholder's company; every card from the same company carries it |
employeeId | The employee's identifier |
alternativeEmployeeId | An alternative employee identifier |
legalEntity | The legal entity the card belongs to, when the card network supplies one |
networkToken | For a tokenized American Express card, the network token the network issued for it |
An empty field is null; legalEntity and networkToken are left out instead. Which fields are filled depends on how the card was enrolled:
- Card entered by number (the card form, or
POST /card-subscriptions): since 10 November 2026, the cardholder appears when the card subscription is created, before the bank's check. When created it holds only thecardholderNamesent: its last word inlastName, the words before it infirstName;email,postalCodeand the ids incorporatearenull. A blank name gives no cardholder, and a card entered by number before 10 November 2026 got none when it was entered. - Network bulk feed: the cardholder appears when the network's file delivers the card with cardholder data. It holds the fields that file carries, which differ by network; most have a company ID and an employee ID.
- Bank sign-in: the cardholders a bank sign-in creates are on some American Express cards only, with no company details when created. See American Express cards.
Every field and its rules: Cardholder in the API reference.
Card Subscription
The Card Subscription models the state of the continuous flow of transactional data for a specific Card within a specific Subaccount. It is the active link that determines whether transaction data is captured for a given card. When a Card Subscription is active, Astrada will deliver transaction data for that card to the associated Subaccount.
| Field | Description | Type |
|---|---|---|
| id | Unique subscription identifier | string, uuid |
| subaccountId | The Subaccount context | string, uuid |
| cardId | Reference to the associated Card | string, uuid |
| enrollmentType | How the card was enrolled | string, enum: cardholder-single, network-bulk, bank-feed |
| state | Current subscription state | string (see states below) |
| effectiveDate | When the subscription became active | string, ISO 8601 |
| expirationDate | The card's expiry; see the API reference | string, ISO 8601 |
| customerReferenceId | Optional customer context | string, uuid |
| createdAt | Creation timestamp | string, ISO 8601 |
| updatedAt | Last update timestamp | string, ISO 8601 |
Subscription state
state| Value | Description |
|---|---|
pending | Enrolled from a network feed while the card is still inactive at the network; becomes active with the first transaction or an active feed record |
active | Currently receiving transaction data |
reqSCA | Requires Strong Customer Authentication: awaiting verification |
expired | A pending subscription whose card expired before its first transaction |
deactivated | Ended, by you or by the network's feed; permanent |
failed-to-create | Subscription creation was unsuccessful |
creating | Short-lived, while a cardholder-single subscription is set up; becomes reqSCA or failed-to-create. Read it again later |
deactivating | Short-lived, while a network-bulk subscription is ended; becomes deactivated. Read it again later |
Example Card Subscription
{
"_links": {
"self": { "href": "/card-subscriptions/a1b2c3d4-5678-90ab-cdef-1234567890ab" },
"card": { "href": "/cards/f744b691-bf05-4f2a-ab89-bb1afe4eb840" }
},
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"subaccountId": "da6649a8-f0ea-4af0-b342-c0b5c3e024dd",
"cardId": "f744b691-bf05-4f2a-ab89-bb1afe4eb840",
"enrollmentType": "cardholder-single",
"state": "active",
"effectiveDate": "2024-02-04T18:53:32.000Z",
"expirationDate": "2028-11-30T23:59:59.999Z",
"createdAt": "2024-02-04T18:53:32.000Z",
"updatedAt": "2024-02-04T18:53:32.000Z"
}Only
cardholder-singleandbank-feedsubscriptions can be deactivated viaPATCH /card-subscriptions/{id}. Attempting to update anetwork-bulksubscription returns 422. Acardholder-singleVisa or Mastercard subscription becomesnetwork-bulk, keeping its id, when the same card later arrives in a network bulk feed on its subaccount, and from then on it answers 422 too. To stop a bulk-enrolled card, have it deactivated at the bank; Astrada support can help if that is not possible.
Deactivation is final and cannot be undone.
Enrollment Types
- Cardholder Individual Enrollment (
cardholder-single): Enrolled via the SDK or API on a per-card basis. See Enrolling Cards. - Network Bulk Enrollment (
network-bulk): Enrolled via the API for corporate card portfolios. See Enrolling Cards. - Bank sign-in (
bank-feed): Created from a connected bank account. See Bank Linking.
Webhook Events
| Event Name | Trigger |
|---|---|
cardsubscription.created | A new Card Subscription is created |
cardsubscription.updated | A Card Subscription is updated |
Learn more about Webhooks.
Verification
Verifications ensure a Card is validated and authorized before data tracking begins. When a Card Subscription is created via cardholder individual enrollment, it enters the reqSCA state. A Verification must be completed to transition the subscription to active.
For individual enrollment, the verification process uses 3D Secure (3DS):
- Device Fingerprint: Browser and device data is collected via a hidden iframe to assess risk.
- 3DS Challenge (conditional): If the issuer requires it, a challenge is presented via the issuer's Access Control Server (ACS). The form of the challenge (OTP, biometric, in-app notification, etc.) is determined by the card issuer.
Once the verification completes successfully, the Card Subscription transitions to active and transaction data begins flowing.
For a detailed walkthrough of the enrollment and verification flow, see Cardholder Individual Enrollment.
API
See our API reference for the full set of Card and Card Subscription endpoints.
Updated 1 day ago
