Documentation
Address API
Receive a webhook

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

ParameterTypeDescription
idstringUnique identifier for the transaction
payout_addressstringCryptocurrency address for payout (your address)
receive_addressstringCryptocurrency address for receiving payment (our address)
coinstringCryptocurrency code (e.g., LTC)
amountnumberTotal amount send in coin
amount_feenumberFee amount in coin
amount_receivednumberAmount 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
}