Main
/Payouts
/Webhook
Copy page
Webhook is a kind of feedback method for payout information.
When payout status changes, a POST request is sent to the url_callback specified when creating the payout.
| Name | Definition |
|---|---|
| type | Type. Only payout is available |
| uuid | uuid of the payout |
| order_id | Order ID in your system (to identify the payout) |
| amount | The amount of the payout |
| merchant_amount | The amount that is debited from the merchant's balance, including all commissions |
| commission | Heleket commission amount |
| is_final | Whether the payment is completedIf the payout is not final and failed, its still possible to resend it through the support.When payout is finalized it's either paid or failed. |
| status | Payment status see |
| txid | Transaction hash on the blockchain.The txid field will not exist if1) Payout was paid by p2p to Heleket address2) Payout failed. |
| currency | Invoice currency |
| network | The blockchain network in which the payment was made |
| payer_currency | Cryptocurrency code in which the payout will be actually made. The payout address will receive the payout currency. |
| payer_amount | Amount in payer_currency of the payout |
| sign | Signature to verify that webhook was from Heleket |
1{
2 "type": "payout",
3 "uuid": "2b852d86-3cf1-43fb-b1bb-36f0b7d12151",
4 "order_id": "129359",
5 "amount": "207.00000000",
6 "merchant_amount": "207.30000000",
7 "commission": "0.30000000",
8 "is_final": true,
9 "status": "paid",
10 "txid": "0xcf8",
11 "currency": "USDT",
12 "network": "bsc",
13 "payer_currency": "USDT",
14 "payer_amount": "207.00000000",
15 "sign": "eff3afba8600af59c98b74155934da2d"
16}Copy