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.

FieldDescriptionType
idUnique card identifierstring, uuid
subaccountIdThe Subaccount this card belongs tostring, uuid
first6digitsFirst 6 digits of the PAN (BIN)string, or null on a card from a bank connection
last4digitsLast 4 digits of the PANstring
networkCard networkstring: visa, mastercard, amex; null on a card from a bank connection whose network is not known
countryCountry of issuancestring, ISO 3166 ALPHA-3
expiryMonthCard expiry monthinteger, 1–12
expiryYearCard expiry yearinteger, YYYY
createdAtCreation timestampstring, ISO 8601
updatedAtLast update timestampstring, 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.

FieldWhat it holds
firstName, lastNameThe cardholder's name
emailThe cardholder's email address
postalCodeThe cardholder's postal code; from a feed, as the card network provides it
corporateThe company details below

Inside corporate:

FieldWhat it holds
idThe company ID the bank or card network gives the cardholder's company; every card from the same company carries it
employeeIdThe employee's identifier
alternativeEmployeeIdAn alternative employee identifier
legalEntityThe legal entity the card belongs to, when the card network supplies one
networkTokenFor 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 the cardholderName sent: its last word in lastName, the words before it in firstName; email, postalCode and the ids in corporate are null. 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.

FieldDescriptionType
idUnique subscription identifierstring, uuid
subaccountIdThe Subaccount contextstring, uuid
cardIdReference to the associated Cardstring, uuid
enrollmentTypeHow the card was enrolledstring, enum: cardholder-single, network-bulk, bank-feed
stateCurrent subscription statestring (see states below)
effectiveDateWhen the subscription became activestring, ISO 8601
expirationDateThe card's expiry; see the API referencestring, ISO 8601
customerReferenceIdOptional customer contextstring, uuid
createdAtCreation timestampstring, ISO 8601
updatedAtLast update timestampstring, ISO 8601

Subscription state

ValueDescription
pendingEnrolled from a network feed while the card is still inactive at the network; becomes active with the first transaction or an active feed record
activeCurrently receiving transaction data
reqSCARequires Strong Customer Authentication: awaiting verification
expiredA pending subscription whose card expired before its first transaction
deactivatedEnded, by you or by the network's feed; permanent
failed-to-createSubscription creation was unsuccessful
creatingShort-lived, while a cardholder-single subscription is set up; becomes reqSCA or failed-to-create. Read it again later
deactivatingShort-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-single and bank-feed subscriptions can be deactivated via PATCH /card-subscriptions/{id}. Attempting to update a network-bulk subscription returns 422. A cardholder-single Visa or Mastercard subscription becomes network-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 NameTrigger
cardsubscription.createdA new Card Subscription is created
cardsubscription.updatedA 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):

  1. Device Fingerprint: Browser and device data is collected via a hidden iframe to assess risk.
  2. 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.


Did this page help you?