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).
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/jsonRequest body
Response
application/jsonorderNo*StringrequiredTransaction id
originOrderNoStringOrigin Transaction No
merchantOrderNoStringClient transaction id
cardNoStringCard id
currency*StringrequiredCurrency
amount*BigDecimalrequiredAmount
fee*BigDecimalrequiredFee
receivedAmountBigDecimalReceived Amount
receivedCurrencyStringReceived Currency
type*StringrequiredType.
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.
subTypeStringSub 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*StringrequiredStatus.
wait_process: pending;
processing: processing;
success: success;
fail: failure
descriptionStringDescription
remarkStringRemark, equal description. will remove
transactionTime*LongrequiredTransaction time. Millisecond timestamp

