0xCard Documentation
  1. Webhook ๐Ÿ“ฅ
0xCard Documentation
  • Overview ๐Ÿ“ƒ
  • Updates log โš™๏ธ
  • Client API ๐Ÿ–ฅ
    • Users ๐Ÿ‘ค
      • Create
      • Get
    • Cards ๐Ÿ’ณ
      • Layouts List
      • New
      • Details
      • Top Up
      • List
      • Transactions
      • Statement
      • Block
      • Freeze
      • Unfreeze
  • Merchant API (CLOSED)
  • Webhook ๐Ÿ“ฅ
    • Overview
    • Descriptions & Typing
    • Demo ๐Ÿ“
      • Brief description
      • Payment
      • Verification Code
      • Change Card Status
      • Recharge Card
      • Card Block
  • Components ๐Ÿ—‚
  1. Webhook ๐Ÿ“ฅ

Descriptions & Typing

Event Types#

TitleDescription
TRANSACTION_VERIFICATION_CODEConfirmation code for the card, which comes to the provider's e-mail (e.g. for linking the card in the App Store)
CARD_STATUS_CHANGEChanging the card status (e.g. activation after the first top-up)
CARD_CLOSE_RESULTComplete blocking of the card after notifying the bank about it. Also displays the amount of funds returned to the merchant's account from the card.
TRANSACTION_CREATEDData on the transaction made (e.g. purchase in a store)
CARD_RECHARGE_RESULTConfirmed information on the card balance replenishment performed

Decrypted data formats#

TRANSACTION_VERIFICATION_CODE#
ParameterDescription
cardNoCard number
codeVerification code
createAtTrigger time
userBankcardIdCard unique ID
CARD_STATUS_CHANGE#
ParameterDescription
cardNoCard number
statusNew card status
createAtTrigger time
userBankcardIdCard unique ID
TRANSACTION_CREATED#
ParameterDescription
userBankcardIdCard unique ID
currencyCurrency
cardNoCard number
createAtTrigger time
transactionTransaction object
transaction.authTypePURCHASE or ATM
transaction.idTransaction ID
transaction.recordNoTransaction unique ID
transaction.receiptNoOnly when the transaction type is transaction fee, there is a value, which is the "recordNo" of the transaction corresponding to the transaction fee
transaction.localCurrencyCard Local currency
transaction.merchantNameMerchant Name
transaction.respCodeResponse Code
transaction.respCodeDescResponse code Description
transaction.localCurrencyAmtCard Local currency amount
transaction.transCurrencyCard transaction currency
transaction.transCurrencyAmtCard transaction currency amount
transaction.transStatusTransaction Status
transaction.transTypeTransaction Type
TRANSACTION_VERIFICATION_CODE#
ParameterDescription
cardNoCard number
statusSUCCESS or FAILED , recharge result
createAtTrigger time
userBankcardIdCard unique ID
amountUser operate Amount
receiveAmountCard receive Amount, Only returned when status is SUCCESS
currencyCard unique ID
requestOrderIdRequest order ID, same with recharge method response field
CARD_CLOSE_RESULT#
ParameterDescription
cardNoCard number
statusSUCCESS or FAILED , card close result
createAtTrigger time
userBankcardIdCard unique ID
amountUser operate Amount
receiveAmountCard receive Amount, Only returned when status is SUCCESS
currencyCard unique ID
requestOrderIdRequest order ID, same with card close method response field
Modified atย 2024-08-07 16:01:35
Previous
Overview
Next
Brief description
Built with