WASABICARD

API · Cards

Card operation transaction-v2

If you create card using the /merchant/core/mcb/card/openCard interface, there will be no create record in this interface (it has been moved to the Card Purchase Transaction interface).

POST/merchant/core/mcb/card/v2/transaction

Notes & special transaction types

If you create a card using the legacy /merchant/core/mcb/card/openCard interface, there will be no create record in this interface (it has been moved to Purchase history).

  • blocked: The highest level of freezing. It is unilaterally initiated by the card issuing bank or card network, and can only be unfrozen through manual application.
  • overdraft_statement: Card overdraft statement. If the card balance is less than 0, WasabiCard pushes an overdraft statement and transfers funds from the merchant's account to the Wasabi system account to make up for it. Example: when a card balance equals -80 USD after cancellation, the transaction amount is 80 and the merchant's account transfers 80 USD to the Wasabi system account.

Request

application/json

Request body

Response

application/json
orderNo*Stringrequired

Transaction id

originOrderNoString

Origin Transaction No

merchantOrderNoString

Client transaction id

cardNoString

Card id

currency*Stringrequired

Currency

amount*BigDecimalrequired

Amount

fee*BigDecimalrequired

Fee

receivedAmountBigDecimal

Received Amount

receivedCurrencyString

Received Currency

type*Stringrequired

Type.

create: Create Card;

deposit: Deposit Card;

cancel: Cancel Card;

Freeze: Freeze Card;

UnFreeze: UnFreeze Card;

withdraw: Withdraw Card;

update_pin: Update PIN;

blocked: Block Card;

card_update: Update Card;

overdraft_statement: Card overdraft statement.

subTypeString

Sub type.

DEFAULT: Default

REFUND: Card balance refund.This generally refers to a refund initiated by the merchant after the card is cancelled. Because the card is cancelled, the balance cannot be refunded to the card itself and needs to be withdrawn to the customer's wallet.

status*Stringrequired

Status.

wait_process: pending;

processing: processing;

success: success;

fail: failure

descriptionString

Description

remarkString

Remark, equal description. will remove

transactionTime*Longrequired

Transaction time. Millisecond timestamp