Order webhook

Brief Description

Configuration and usage of the order notification webhook:

  • Please contact the staff to configure your Webhook Endpoint Url in the backend The Url must be HTTPS
  • When the order status changes the corresponding order message will be pushed to your Webhook Endpoint Url
  • Upon receiving the Webhook message if you return HTTP CODE 200 it means that you have successfully received it

Return Parameter Description

ParameterTypeDescription
orderNostringOrder number
emailstringEmail
cardNumberstringCard number
cardIdstringCard ID
cryptoAddressstringWallet address
networkstringNetwork
orderTypestring1: Create card 2: Recharge
cardTypestring1: Virtual card 2: Physical card
orderAmountstringOrder amount in the cryptocurrency received corresponding to the recharge currency
paymentAmountstringPayment order amount in the cryptocurrency received corresponding to the recharge currency
cryptoCurrencystringCryptocurrency type (eg USDT BTC ETH)
applyFeestringTotal card application fee in USDT
rechargeFeestringCard recharge fee in USDT
rechargeMarkupstringMerchant recharge fee commission in USDT
deliveryFeestringDelivery fee in USDT
cardAmountstringCard amount in cents corresponding to the card fiat currency
cardCurrencystringCard currency (eg USD EUR)
currencyExchangeRatestringFiat currency exchange rate
cryptoCurrencyExchangeRatestringCryptocurrency exchange rate
orderTimestringOrder time
statusstringINIT: Initialization
REFUNDING: In progress
SUCCESS: Success
FAIL: Failure
CANCEL: Cancelled

Return Example

{
email: alchemy@alchemytechio
cardNumber: 5567665457839662
cardId: c_52b6365f752c4bc480ef
cryptoAddress: TWU5feBTJDnjddZwuiJEDvyB4XCNmMfHAd
network: BSC
orderNo: 100216928821071960014
orderType: 1
cardType: 1
status: SUCCESS
orderAmount: 100
paymentAmount: 100
cryptoCurrency: USDT
applyFee: SUCCESS
rechargeFee: 3
rechargeMarkup: 1
deliveryFee: 1
cardAmount: 95
cardCurrency: USD
currencyExchangeRate: 1
cryptoCurrencyExchangeRate: 1
orderTime: 2023-08-24 21:01:54
}

Note

  • For more error codes please refer to the error code description on the homepage

Did this page help you?