Invoice Webhook Notification
CCPayment will post the webhook notification when the merchant receives the Invoice payment.
Webhook notification
Name
Value
Required
Type
Description
```json
{
"pay_status": "success",
"order_type": "Invoice",
"record_id": "202307311012021***477271900160",
"order_id": "202307310956071***952473421795328",
"product_price": "18",
"order_amount": "0.009637573687282151",
"fiat_rate": "1",
"denominated_currency": "USD",
"paid_amount": "10",
"credit_amount": "",
"token_rate": "1867.69",
"chain": "ETH",
"contract": "0xdAC17F***206206994597C13D831ec7",
"crypto": "USDT",
"txid": "",
"network_fee": "0",
"service_fee": "0.003",
"memo": "",
"extend": {
"invoice_id": "2023073109560***3384046592",
"user_email": "b***[email protected]"
}
}
```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