π§ͺTest Webhook
Imitates withdrawal request changes to check your webhooks.
This method requires authorization We're using different API keys for authorizing Invoicing & withdrawal requests.
Make sure you use correct one. This method does not perform any real action. It is supposed to be used as a testing tool.
POST https://api.silus.io/v1/withdrawals/testWebhook
Request body
amount
string
numeric required_without:fiat_amount
Amount to be paid in crypto currency.
If there are pennies in the amount, then send them with a separator '.'
Example: 10.28 You can omit this parameter and send fiat amount using parameters below
fiat_currency
string required_with:fiat_amount
Fiat currency ISO 4217 code. List of supported fiat currencies
fiat_amount
string numeric required_without:amount
Amount to be paid in fiat currency.
If there are pennies in the amount, then send them with a separator '.'
Example: 10.28 You can omit this parameter and send crypto amount using amount parameter. When provided, we will automatically convert it to the target crypto currency based on our exchange rates.
order_id*
string min: 1 max: 255 alpha_dash
Order identifier from your system.
We will send this ID in every webhook request.
address*
string
The address of the wallet to which the withdrawal will be made
is_subtract*
boolean
Defines where the withdrawal fee will be deducted
true - from your balance
false - from payout amount, the payout amount will be decreased
additional_data
nullable array|object max: 255 KB
You can send any additional data with this request, it will be returned to you with the webhook.
uuid*
string
UUID of the withdrawal request. Any randomly generated UUID
transaction_id
string
String which will be returned as transaction_id
webhook_url*
string url
Webhook url
* - mandatory parameter
Request example
Response
Successful response
Possible errors
Last updated