Create cards

Choose a card product, link a cardholder, and create a virtual card.

Before creating a card

Before creating a card, usually confirm that:

  • A card product has been selected
  • The merchant account has enough available balance
  • The corresponding cardholder has been created and its status meets card creation requirements

Card creation flow

Card creation usually includes selecting a card product, linking a cardholder, setting card information, and submitting the creation request.

1. Select a card product

Choose the card product that matches the business scenario, such as a U.S. product or an international product, and the corresponding card network. View the card products enabled and available for creation for the current account in the platform. Actual availability is determined by the account configuration.

When creating cards through the API, first use the List card products API to retrieve the card products available to the account, then provide the relevant product identifier in the creation request.

Select a cardholder from the existing cardholder list and bind the card to that cardholder.

3. Set card information

Current card creation mainly involves the following information:

ItemDescription
CardholderUser associated with the card
Initial amountInitial amount set when creating the card

Actual fields and display methods depend on the Dashboard or API capability.

4. Submit creation

After confirming the information, submit the creation request. After the card is created successfully, the system generates the virtual card and the card enters a usable status.

Card management after creation

After a card is created and enters a usable status, the following actions can be taken for fund management, usage controls, and operational reconciliation:

  • Retrieve card status, basic information, and balance
  • Add available balance to the card or return the card balance
  • Freeze or unfreeze the card to control subsequent transaction availability
  • Query card transaction records and related accounting information

Card statuses and transitions

After a card is created successfully, it enters the ACTIVE status. A card can subsequently change status because of merchant management actions, system risk controls, termination, or expiration.

StatusDescription
ACTIVEThe card is active and can be used normally
FROZENThe card is frozen and temporarily unavailable, but incoming postings such as refunds are not affected
SYSTEM_FROZENThe card is automatically frozen after triggering risk control rules to protect fund security. Merchants cannot unfreeze it themselves. See Freeze and unfreeze cards
TERMINATEDThe card has been terminated and can no longer be used
EXPIREDThe card has expired

The following state machine presents the primary virtual card statuses and transition triggers:

A frozen card also enters the relevant terminal status when terminated or expired. TERMINATED and EXPIRED are terminal statuses and cannot return to a usable status. SYSTEM_FROZEN cards cannot be unfrozen by merchants. Contact the ONERWAY support team for handling. See Freeze and unfreeze cards.

Creation methods

Cards can be created through the Dashboard or API. Available methods depend on the account capabilities.

Create through the Dashboard

  1. Log in to the ONERWAY Dashboard
  2. Go to the card management page
  3. Start the card creation operation
  4. Select a card product and link a cardholder
  5. Fill in the required information and submit

Create through the API

When integrating through the API, use the Create card API to create a card, and then query the card status and related information.