Receive a webhook
Once a payment has been completed our server will send a POST request to the webhook url provided in the creation of an address.
- Sellgate does not sign webhook data meaning you should not trust the data you receive.
- Make sure you return a 200 OK status so our server stops sending requests to your server.
Request body
Parameter | Type | Description |
---|---|---|
id | string | Unique identifier for the transaction |
payout_address | string | Cryptocurrency address for payout (your address) |
receive_address | string | Cryptocurrency address for receiving payment (our address) |
coin | string | Cryptocurrency code (e.g., LTC) |
amount | number | Total amount send in coin |
amount_fee | number | Fee amount in coin |
amount_received | number | Amount you received in coin |
Example request
{
"id": "bijolz9fowdgv32x7h51uv0z",
"payout_address": "LLtLGA3NcfUUXuJ1DPf7vyXSyUgcY9cr3a",
"receive_address": "MPjGarrkrMh6PmvrrXXxXnN3q26hKJBk8i",
"coin": "LTC",
"amount": 0.00717362,
"amount_fee": 0.00007173,
"amount_received": 0.00709639
}