Skip to main content

Change in order status

A webhook is pushed when an order's status changes. The data structure is as follows:

Data parameters

ParameterTypeMandatoryDescription
merchantOrderIdStringYMerchant's Order Id
orderIdStringYOrder ID
userIdStringYUser ID
fiatCurrencyStringYFiat currency
cryptoCurrencyStringYCryptocurrency
fiatAmountStringYFiat amount
cryptoAmountStringYCryptocurrency amount
orderFeeStringYTransaction fee
priceStringYPrice
payWayCodeStringYPayment method
stateStringYOrder status:
CREATEED: Order created successfully (only push to bottom warehouse merchants)
CREATED: Order Successfully Created (Only Pushed to Underlying Merchants)
PROCESSING: 3DS Payment Link Generated
FAILED: Payment failed
SUCCESSED: Payment successful, awaiting coin transfer (Pushed after payment by underlying merchants)
CHAIN_WITHDRAW_WAIT: Coin transfer in progress (Pushed after payment by on-chain merchants)
COMPLETED: Crypto transfer successful, order completed
CONVERSION_FAILED: Conversion Failed
errorCodeStringNError code for payment failure.
errorMessageStringNError information
completedTimeStringNOrder execution time
createTimeStringYCreation time
updateTimeStringYLast update time
networkStringYNetwork
addressStringYWithdrawal address
tagStringNtag address
merchantUserStringNUser's unique tag on the merchant side
txIdStringNOn-chain transfer transaction ID
networkFeeStringNOn-chain gas fee
chainArrivalTimeStringNOn-chain crediting time
actualReceivedAmountStringYActual amount received
threeDsRedirectUrlStringN3DS link
orderCallBackUrlStringYWebhook callback address
privateSecretStringNApp private secret
appidStringNappId

Output parameters

ParameterTypeMandatoryDescription
codeStringYStatus code. Success: 00000
dataObjectNBusiness parameters
msgStringYNote
requestTimeLongYInterface response timestamp

How was your Reading Experience with us?

footer_logoCopyright
Quadrum Verslo Centra, Konstitucijos pr 21, Vilnius 08130 , Lithuania