API Deposit Webhook Notification
Notification will be posted when the orders from Get Checkout URL, Create Payment Order interface is completed.
Webhook notification
Name
Value
Required
Type
Description
```json
{
"pay_status": "success",
"order_type": "API Deposit",
"record_id": "202302201213531627642695975706624",
"order_id": "202302200951001627606736097771520",
"product_price": "25",
"denominated_currency": "USD", //The currency for calculating the order price, it could be cryptocurrency or fiat currency
"order_amount": "25",
//When denominated_currency is set to a fiat currency, order_amount=product_price/fiat_rate/token_rate;
//When denominated_currency is set to 'Token', order_amount is the token amount required to pay for the order;
"fiat_rate": "0.08",
"paid_amount": "10",
"token_rate": "0.08",
//Token paid in USD value = token_rate*paid_amount
"chain": "BSC",
"txid": "0xbA2aE424d96...c32edC70B295c744C43",
"contract": "0xbA2aE424d960c26247Dd6c32edC70B295c744C43",
"crypto": "DOGE",
"extend": {
"merchant_order_id": "202211154785795"
}
}
```Name
Type
Description
$this->response->setString("success")this.response.setString("success");this.response.SetString("success")self.response.set_string("success")this.response.setString("success");
Last updated