Skip to main content

Card lifecycle

A card is the tenant's physical or virtual payment instrument. This page describes how a card moves from creation to a terminal state, as the caller observes it. How to call each step is in endpoints → cards.

Card state machine

The platform does not store card status — each read reports the card's current state, and an operation that isn't valid for the current state is rejected with CAR009001.

DAMAGED cancel is a special case: calling cancel with reason = DAMAGED on a PROVISIONED, ACTIVE, or LOCKED card does not move it to CANCELED. The existing card stays ACTIVE and a replacement card is issued; the response reflects the original card's unchanged state.

State descriptions

StateDescriptionAvailable transitions
NEWPhysical card requested; not yet provisioned. PAN/expiry may not be available yet.PROVISIONING (async)
PROVISIONINGThe card is being provisioned (intermediary; asynchronous).PROVISIONED (async)
PROVISIONEDReady to activate. Applies to physical cards; virtual cards skip to ACTIVE.ACTIVE, CANCELED
ACTIVEActive and usable for transactions.LOCKED, CANCELED
LOCKEDTemporarily locked; cannot be used for transactions.ACTIVE, CANCELED
CANCELEDPermanently cancelled; cannot be used.— (terminal)

Card formats and initial states

FormatInitial stateNotes
PHYSICALNEWRequires activation after provisioning
VIRTUALACTIVEUsable immediately on creation
PHYSICAL_AND_VIRTUALACTIVEVirtual component active immediately; physical follows

End-to-end caller journey

A typical journey: create → activate → lock → unlock → cancel.

State guard errors

An operation that isn't valid for the card's current state is rejected:

OperationRequired stateError on violation
activatePROVISIONED409 CAR009001
lockACTIVE409 CAR009001
unlockLOCKED409 CAR009001
cancelPROVISIONED, ACTIVE, or LOCKED409 CAR009001
updateTransactionSettingsany non-terminal409 CAR009001