Card

This document defines the core dictionary variables involved in the Card business, including the Transaction Type Enum and the Transaction Reason Code Enum. Please refer to the tables below for logical mapping when parsing Webhook notifications or querying transaction details.

1. Card Transaction Type Enum

This enumeration identifies the nature of the fund flow occurring on a card. These values help differentiate between standard purchases, reversals, and internal account fund transfers.

Enum ValueDescription
transfer_inTransfer In: Funds are transferred from the main Account into this Card.
transfer_outTransfer Out: Funds are transferred back from the Card to the main Account.
consumptionConsumption: Standard card consumption or authorization transactions.
refundRefund: Refunds (full or partial) after a consumption transaction is completed. Funds are credited back to the current card.
settlement_debitSettlement Debit: For example, if a $10 pre-authorization was made for an Uber ride, but the final settled amount is $15, the platform will generate a $5 difference debit order.
settlement_refundSettlement Refund: For example, if a $10 pre-authorization was made, but the final settled amount is $8, the platform will generate a $2 difference refund order.
reversalReversal: The business logic is similar to a refund, but such orders typically occur before the final transaction settlement (e.g., reversing an original pre-authorization).
declined_refundDeclined Refund: Exception handling scenario. If the platform successfully authorizes a transaction and deducts the quota, but the final order fails due to issuing bank or other routing errors, the platform will proactively create a new order to refund this amount.
auth_feeAuthorization Fee: Fees incurred during transaction authorization verification.

2. Transaction Reason Code Enum

The following status codes are used to identify the specific outcome of a transaction. Particularly when a transaction is declined or requires manual intervention, developers can extract the Message field to display user-friendly prompts to end-users.

CodeMessageDescription
100001InsufficientBalanceInsufficient Balance: The available balance in the account or card is not enough to cover this transaction.
100002CardNotActiveCard Not Active: The current card being used has not been activated yet.
100003MCCNotAllowProhibited MCC: The transaction involves a Merchant Category Code (MCC) banned by the system and is not permitted.
100004ScenariosRiskControlRisk Control Rejection: The transaction triggered the platform's security risk control rules.
100005SceneBlacklistScenario Blacklisted: The transaction scenario or payee is blacklisted.
100006SceneWhitelistNoMatchScenario Not in Whitelist: The transaction scenario falls outside the permitted whitelist.
100007SystemDownSystem Service Exception: An anomaly occurred in the internal system or upstream channel services.
100008UnknownDeclinedUnknown Decline: The transaction was declined, usually because the acquiring bank did not return a specific error reason.
100009ForceDebitForced Debit: A mandatory debt collection/debit executed against this account/card.
100010DeleteCardRefundCard Deletion Refund: A balance clearance transaction triggered after the card is canceled or deleted.
100011ShareNotActiveShare Group Not Available: The shared fund pool or group to which the card belongs is currently unavailable.
100012CustomerAuthRejectedCustomer Authorization Rejected: The customer (or cardholder) rejected the authorization request.
100013SplitTrxSettlementSplit Transaction Settlement: This transaction needs to be split into multiple parts for settlement.
100014CardRepaymentCard Negative Balance Repayment: A repayment credited to a card with an overdraft or negative balance.
100015CvvNotMatchCVV Mismatch: The CVV (security code on the back of the card) provided during verification is incorrect.
100016LimitExceededLimit Exceeded: The transaction amount exceeds the single or periodic spending limits set for the card.
100017CardInfoNotMatchCard Information Mismatch: The provided card details (e.g., billing address, cardholder name) do not match the system records.
100018BankDownBanking Services Unavailable: The issuing bank or clearing network is currently unavailable.
100019BankRiskControlBanking Risk Control Rejection: The transaction was blocked by the issuing bank's risk control system.
200800ApproveApproved: The transaction has been successfully authorized or approved.
200801DoNotHonourDo Not Honour: The issuing bank declined the transaction without providing a specific reason.
200802AccountClosedAccount Closed: The associated bank account has been canceled or closed.
200804CardExpiredCard Expired: The card has passed its expiration date and cannot be used for transactions.
200808RestrictedRestricted Card: The card is marked as restricted (e.g., reported lost, frozen) by the issuing bank.
200810FrequencyLimitFrequency Limit: Transactions are too frequent, triggering anti-fraud or risk control frequency limits.
200811InvalidExpiryValidity Period Mismatch: The entered expiration date (Exp Date) does not match the issuing bank's records.