m2pfintech
Implementation Guide

Card Lifecycle

Understand the complete card status state machine — from issuance through blocking and replacement.

Every card in the M2P platform follows a defined lifecycle with clear status transitions. Understanding this lifecycle is essential for building user experiences around card management.


Card Status State Machine


Status Reference

StatusCodeCan TransactDescription
UnallocatedULNoCard has been created in the system but not yet assigned to a customer
ActiveAVYesCard is active and can be used for all enabled transaction types
LockedTLNoTemporarily frozen by the customer — can be unlocked at any time
BlockedBLNoPermanently blocked (lost, stolen, or compromised) — cannot be reversed
ClosedCLNoCard program has been closed and the card is decommissioned
InactiveIANoCard has been issued but not yet activated by the customer

Status Transitions

Allowed Transitions

FromToTriggerAPI
UnallocatedActiveCustomer registration / card issuancePOST /registration-manager/v3/register
ActiveLockedCustomer requests temporary freezePOST /card-manager/lockCard
LockedActiveCustomer unlocks cardPOST /card-manager/unlockCard
ActiveBlockedCard reported lost/stolen/compromisedPOST /card-manager/blockCard
LockedBlockedCard reported lost while lockedPOST /card-manager/blockCard
Active / BlockedReplacedReplacement card requestedPOST /card-manager/replaceCard

Blocked Transitions

AttemptedReason
Blocked → ActiveBlocking is permanent — use card replacement instead
Blocked → LockedCannot lock an already blocked card
Closed → AnyClosed cards cannot be reactivated

Blocking is irreversible. Once a card is blocked, the customer must receive a replacement card. The replacement card gets a new kit number and card number, but the wallet balance is automatically transferred.


Card Replacement Flow

When a card is replaced, the platform automatically:

  1. Blocks the old card permanently
  2. Issues a new card with a new kit number and card number
  3. Transfers the full wallet balance to the new card
  4. Returns the new card details to your application

On this page