API · Cards
Card authorization transaction (Consumption bill)
* verification: Card binding verification. Example, when you bind a card to Alipay for consume, a card binding transaction record will be generated.
Transaction types & statuses
- verification: Card binding verification (e.g. binding a card to Alipay for consumption generates a card binding transaction record).
- auth: Authorization / consumption (e.g. subscribing to a monthly membership generates a consumption record).
- Void: Reversal — when a refund is issued after an auth transaction before the acquiring bank and issuing bank settle.
- refund: Refund initiated after the acquiring bank and issuing bank have already settled the auth transaction.
- maintain_fee: Card fee (monthly fee, annual fee, ATM withdraw fee, etc.).
- Status authorized: The transaction is still being processed and has not yet been settled.
- Status failed: The transaction failed.
- Status succeed: The transaction has been completed.
Request
application/jsonRequest body
Response
application/jsoncardNo*StringrequiredCard id
tradeNo*StringrequiredTransaction serial number
originTradeNoStringOrigin transaction serial number
currencyStringCurrency. example: SGD
amountBigDecimalAmount. example: 125.24
authorizedAmount*BigDecimalrequiredAuthorized amount. example: 56
authorizedCurrency*StringrequiredAuthorized currency. example: USD
fee*BigDecimalrequiredAuthorization fee
feeCurrencyStringAuthorization fee currency
crossBoardFee*BigDecimalrequiredCross board fee
crossBoardFeeCurrencyStringCross board fee currency
settleAmountBigDecimalSettlement amount. Pushed after receiving settlement information
settleCurrencyStringSettlement currency. Pushed after receiving settlement information
settleDateLongSettlement date. Millisecond timestamp
authorizationCodeStringAuthorization code
merchantNameStringMerchant name
merchantDataObjectMerchant info
merchantData.nameStringMerchant name
merchantData.categoryCodeStringMerchant Category Code (MCC)
merchantData.categoryStringMCC category
merchantData.countryStringMerchant country. ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3
merchantData.stateStringMerchant state
merchantData.cityStringMerchant city
merchantData.zipCodeStringMerchant ZIP/postal code
merchantData.midStringMerchant ID (MID)
merchantData.walletTypeStringDigital wallet was used for the transaction
type*StringrequiredTransaction type of card.
auth: Authorization
refund: Refund
verification: Verification
Void: Reversal
maintain_fee: Card fee (monthly fee, annual fee, ATM withdraw fee...)
status*StringrequiredTransaction status of card.
authorized: Authorized;
failed: Fail;
succeed: Success
description*StringrequiredTransaction Description
transactionTime*LongrequiredTransaction time. Millisecond timestamp
assistFeeInfoObjectMerchant mark up fee
assistFeeInfo.authorizationFeeBigDecimalMerchant mark up authorization fee
assistFeeInfo.crossBorderFeeBigDecimalMerchant mark up cross-border fee

