πŸ§ͺTest Webhook

Imitates invoice request changes to check your webhooks.

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

Request body

Name
Type
Default
Definition

amount*

string

Amount to be paid.

If there are pennies in the amount, then send them with a separator '.'

Example: 10.28

fiat_currency*

string

Fiat currency ISO 4217 code. List of supported fiat currencies

order_id*

string min: 1 max: 255 alpha_dash

Order identifier from your system.

We will send this ID in every webhook request.

is_payment_multiple

boolean

true

Allow multiple payments for this order

lifetime

int min: 300 max: 43200

3600

The lifespan of the issued invoice (in seconds)

accuracy_payment_percent

numeric min: 0 max: 5

0

Acceptable inaccuracy in payment.

webhook_url*

nullable string url

null

In case you need to have a custom webhook url for that specific order. It has higher priority than the one set in project settings

additional_data

nullable array|object max: 255 KB

null

You can send any additional data with this request, it will be returned to you with the webhook.

paid_crypto_amount

nullable numeric

Paid amount in crypto

paid_fiat_amount

nullable numeric

Paid fiat amount

remaining_crypto_amount

nullable numeric

Remaining amount of crypto to be paid

transactions

array

List of transactions performed during the order. The format can be found on the webhook page

uuid*

string

UUID of the invoice. Any randomly generated UUID

status*

string

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

* - mandatory parameter

Request example

Response

Last updated