Automatic Webhook
After a successful payment, a POST request with payment information is sent to the notification URL specified in the project settings.
Webhook Parameters
Parameter | Value | Example | Description |
---|---|---|---|
status | string | success | Order status |
invoice | object | {{...}} | Invoice ID and title |
method | object | {{...}} | Cryptocurrency ID and name |
amount | decimal | 0.0005 | Payment amount in cryptocurrency |
inUSD | decimal | 40.94 | Payment amount in USD ($) |
Example Response
json
{
"status": "success",
"invoice": {
"id": "d298c343-78a6-44bf-8975-f30a76a8f35f",
"title": "My invoice #1232"
},
"method": {
"id": "USDT-ERC20",
"title": "USDT (ERC-20)"
},
"amount": 100,
"inUSD": 100
}