Documentation
Checkout API
Receive a webhook

Receive a webhook

Once a purchase has been completed our server will send a POST request to the webhook url provided in the creation of a checkout.

  • 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.
  • You wont receive a webhook if the amount is less than the price.

Request body

ParameterTypeDescription
idstringUnique identifier for the transaction
checkout_idstringIdentifier for the checkout process
payout_addressstringCryptocurrency address for payout (your address)
receive_addressstringCryptocurrency address for receiving payment (our address)
currencystringFiat currency code (e.g., USD)
coinstringCryptocurrency code (e.g., LTC)
amountnumberTotal amount send in fiat currency
amount_feenumberFee amount in fiat currency (includes all network & platform fees)
amount_receivednumberAmount you received in fiat currency
amount_coin_receivednumberAmount you received in cryptocurrency

Example request

{
  "id": "bijolz9fowdgv32x7h51uv0z",
  "checkout_id": "a7119xu5x0vrl5jlsagjt12x",
  "payout_address": "LLtLGA3NcfUUXuJ1DPf7vyXSyUgcY9cr3a",
  "receive_address": "MQVWSBKusE7iqhohsY7qwjXjgzC5FU3qtS",
  "currency": "USD",
  "coin": "LTC",
  "amount": 1.5,
  "amount_fee": 0.01,
  "amount_received": 1.49,
  "amount_coin_received": 0.0225777,
}