πŸ§ͺTest Webhook

Imitates withdrawal request changes to check your webhooks.

POST https://api.silus.io/v1/withdrawals/testWebhook

Request body

Name
Type
Definition

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

status*

string

Status which will be sent in the webhook List of valid statuses

* - mandatory parameter

Request example

Response

Successful response

Possible errors

401 Unauthorized

In case of providing invalid API credentials, you will receive response in the following format:

422 Validation failed

In case of validation error, you will get response in the following format:

Last updated