You can now create invoices with automatic conversion of the cryptocurrency paid by the user into your preferred asset.
For example, you can let users pay in any coin but always receive ☺ USDT on your balance.
We’ve added a new
swap_to parameter to the createInvoice method. Simply set swap_to to one of the following coins, and every incoming payment will be converted automatically: ☺ USDT, ☺ TON, ☺ ETH, ☺ SOL, ☺ BTC, ☺ LTC, or ☺ TRX.We have also added the possibility to specify the amount you want to withdraw from your app balance – previously, only full balance withdrawals were supported.
You can learn more in the updated documentation here.
Use 🏝 Crypto Pay to accept crypto payments effortlessly in your bots, Mini Apps, or websites.
