The method allows you to create an invoice for payment without a strict indication of the coin and network, you can specify a payment of 30 USD and a list of coins/networks available for payment, the user himself will choose what is more convenient for him to pay. The amount will be automatically converted to the selected coin for payment
Identifier of the advance balance for writing off commissions
Example: "97ed074e-f6ce-441f-a1eb-1e3211e15f3f"
externalIdstring
A unique identifier in the merchant's system to prevent duplication of invoices
Example: "merchantExternalId123"
orderstring
Order ID in the merchant system
Example: "Order #123456"
descriptionstring
Order Description
Example: "Payment by order #123456"
currency*string
Coins for payment. You can specify any available coin, including fiat. On the invoice page, the amount in the specified coin will be recalculated to the coins available for payment
Example: "USD"
amount*string
Amount payable in the specified coin. On the invoice page, the amount will be recalculated at the rate of coins available for payment
Example: "20"
includeFeeboolean
The flag allows you to include the commission of the blockchain network selected for payment in the amount payable. It will be useful to lay down your costs for the withdrawal of coins after payment.
additionalFeesarray of string
Array with the tariff names, which allows you to include commission in final amount for the specified tariffs
insurancePercentstring
Allows you to add the specified percentage to the payment amount'
Example: "1"
slippagePercentstring
When opening the invoice page, the user can spend so much time on it that the exchange rate changes. If after the transition to payment the amount changes more than the specified percentage, then the amount payable will be recalculated at the current rate
Example: "2"
paymentTolerancePercentstring
Acceptable underpayment percentage of an ORDER. For example, after selecting the invoice coin, an order for 100 USDT was created. If the parameter is set to 1.5%, the order will be completed successfully after payment of 98.5 USDT
Example: "1.5"
webhookURLstring
URL for notifications when the status of an invoice or amount received changes