Card APIs
Full card lifecycle: card types, issuance, balance, deposit/withdraw, freeze/unfreeze, cancel, activate (physical), PIN management, and 5 transaction query types.Base URL:
POST /api/v2.1/fincard/virtual/card/...Support Bins (Card Types)
Returns all available card types with pricing, features, and cardholder requirements.{} (empty body)
Response data[]:
Create Card V2
Create a new virtual or physical card with initial deposit.
Response
data:
cardNo is the unique card identifier. Use it for all card operations (info, deposit, withdraw, freeze, cancel).Card Info
Get card details, status, and optional balance.
Response
data:
Card Statuses:
Card Sensitive Info
Get encrypted card number, CVV, and expiry date. Decrypted with merchant’s RSA private key.{ "cardNo": "..." }
Response data:
Gift cards only return
activateUrl. No card number, CVV, or expiry date.Card Balance
{ "cardNo": "..." }
Response data: { cardNo, amount, usedAmount, currency }
Card Operations
All card operations follow the same request/response pattern.Common Request Fields
Common Response Fields
Endpoints
Update Card — Additional Fields
The Update endpoint also accepts:Only one of
allowedMcc or blockedMcc can be set. Send empty array [] to remove.Update PIN — Rules
PIN must be 6 digits with these constraints:- No 3+ consecutive repeated digits
- Not entirely ascending or descending
- No repeated 2-3 digit segments (e.g. 123123)
Activate Card (Physical)
Activate a physical card with PIN and activation code.
Response
data: { merchantOrderNo, cardNo, type: "card_activated", status, remark }
Transaction Queries
All transaction queries return{ total, records[] } with pagination (pageNum, pageSize).
Card Purchase Transactions
Card fee and initial deposit records.Card Operation Transactions (V1 / V2)
Card lifecycle operations (create, deposit, withdraw, freeze, cancel, etc.)type = create / deposit / cancel / Freeze / UnFreeze / withdraw / update_pin / blocked / card_update / overdraft_statement
Card Authorization Transactions
Consumption (auth), refund, verification, reversal, and maintenance fee records.type = auth / refund / verification / Void / maintain_fee
Statuses: authorized / failed / succeed
Card Authorization Fee Transactions
Fee records when card balance is insufficient for authorization fees.tradeType = card_patch_fee / card_patch_cross_border
Card 3DS Transactions
3DS OTP codes, authorization URLs, and physical card activation codes.type = third_3ds_otp / auth_url / activation_code