Card transition state

In this article, we will take you through the different transition phases of the card once the user’s account has been created. Kindly refer to the image below.

  • Ordered State - Once the Create a card(Virtual/Physical) APi is hit a new card is created and its state is changed to the ordered state.

  • Issued state - Once the card has been Ordered, it now needs to be issued to an account, hence in this step by hitting card issuance API we issue a card to an account_id ie. we attach the card to that particular account_id.

  • Active state - Once the card has been issued, it now needs to be activated, hence we get the Activate card API, and with this card has been activated. Once it has been activated, it is now ready to be used.

  • Inactive State - In case if the users want to block a card due to certain reasons, we can consume block card API and block the card. And in case if we want to unblock it we can simply consume the Unblock card API and the card will transition back to the active state.

Detach Operation - This API is consumed when we want to detach an active card from a user or his account and transition it back to the ordered state. Once it has been detached, the card can again be attached and activated for the same User(Card cannot be shared among Users.) or his account by simply calling Issue card API>Activate Card API.

Last updated