Webhook
Request Headers
Field | Type | Remarks |
---|---|---|
X-BN-Connect-Timestamp | timestamp | timestamp |
X-BN-Connect-Signature | string | SHA256withRSA(requestBody + X-Connect-Timestamp) |
X-BN-Connect-For | string | Same with your client id (X-Tesla-ClientId) |
Request Body
Field | Type | Remarks |
---|---|---|
externalOrderId | string | The unique order id from the partner side. |
type | int | 1: buy, 3: send |
status | int | INIT(0) ON_RAMP_PROCESSING(1) ON_RAMP_COMPLETED(2) WITHDRAW_INIT(10) WITHDRAW_PROCESSING(11) COMPLETED(20) WITHDRAW_ABANDONED(96) ON_RAMP_FAILED(97) WITHDRAW_FAILED(98) FAILED(99) |
payMethodCode | string | The payment method code is from payment method list API |
payMethodSubCode | string | The payment method sub code is from payment method list API |
fiatCurrency | string | fiat currency |
cryptoCurrency | string | crypto currency |
fiatAmount | string | fiat amount |
cryptoAmount | string | crypto amount |
feeAmount | string | fee amount |
feeCurrency | string | fee currency, USD or crypto |
revenueAmount | string | partner revenue amount |
revenueCurrency | string | partner revenue currency, USD or crypto |
networkFee | string | network fee amount |
withdrawWalletAddress | string | withdraw wallet address |
withdrawNetwork | string | withdraw network |
withdrawMemo | string | withdraw network memo |
withdrawTxHash | string | withdraw tx hash |
orderDetailLink | string | order detail link |
orderTime | timestamp | order time |
completionTime | timestamp | completion time |