π§ͺTest Webhook
Imitates invoice request changes to check your webhooks.
This method requires authorization This method does not perform any real action. It is supposed to be used as a testing tool.
POST https://api.silus.io/v1/invoices/testWebhook
Request body
amount*
string
Amount to be paid.
If there are pennies in the amount, then send them with a separator '.'
Example: 10.28
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
* - mandatory parameter
Request example
Response
In case of validation error, you will get response in the following format:
Last updated