WASABICARD

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.

POST/merchant/core/mcb/card/authTransaction

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/json

Request body

Response

application/json
cardNo*Stringrequired

Card id

tradeNo*Stringrequired

Transaction serial number

originTradeNoString

Origin transaction serial number

currencyString

Currency. example: SGD

amountBigDecimal

Amount. example: 125.24

authorizedAmount*BigDecimalrequired

Authorized amount. example: 56

authorizedCurrency*Stringrequired

Authorized currency. example: USD

fee*BigDecimalrequired

Authorization fee

feeCurrencyString

Authorization fee currency

crossBoardFee*BigDecimalrequired

Cross board fee

crossBoardFeeCurrencyString

Cross board fee currency

settleAmountBigDecimal

Settlement amount. Pushed after receiving settlement information

settleCurrencyString

Settlement currency. Pushed after receiving settlement information

settleDateLong

Settlement date. Millisecond timestamp

authorizationCodeString

Authorization code

merchantNameString

Merchant name

merchantDataObject

Merchant info

merchantData.nameString

Merchant name

merchantData.categoryCodeString

Merchant Category Code (MCC)

merchantData.categoryString

MCC category

merchantData.countryString

Merchant country. ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3

merchantData.stateString

Merchant state

merchantData.cityString

Merchant city

merchantData.zipCodeString

Merchant ZIP/postal code

merchantData.midString

Merchant ID (MID)

merchantData.walletTypeString

Digital wallet was used for the transaction

type*Stringrequired

Transaction type of card.

auth: Authorization

refund: Refund

verification: Verification

Void: Reversal

maintain_fee: Card fee (monthly fee, annual fee, ATM withdraw fee...)

status*Stringrequired

Transaction status of card.

authorized: Authorized;

failed: Fail;

succeed: Success

description*Stringrequired

Transaction Description

transactionTime*Longrequired

Transaction time. Millisecond timestamp

assistFeeInfoObject

Merchant mark up fee

assistFeeInfo.authorizationFeeBigDecimal

Merchant mark up authorization fee

assistFeeInfo.crossBorderFeeBigDecimal

Merchant mark up cross-border fee