Ping
GET
https://app.wllxpay.io/api/v2/ping
Get list of supported currencies
Body must be a valid json object or array, example: {}
POST
https://app.wllxpay.io/api/v2/currencies/list
Get list of exchangeable currency pairs
POST
https://app.wllxpay.io/api/v2/currencies/pairs
Get list of currencies rates
POST
https://app.wllxpay.io/api/v2/currencies/rates
Get list of balances
POST
https://app.wllxpay.io/api/v2/accounts/list
Receive cryptocurrency
POST
https://app.wllxpay.io/api/v2/addresses/take
Business logic for using cryptocurrency as a deposit method:
You are willing to let your customer fund his EUR balance on your platform or website. You will have to generate an address in the desired cryptocurrency and specify EUR as a "convert_to" currency. This will allow you to let your Customer pay if his favorite currency and fund his balance in EUR. At the same time you will see respective EUR amount in your WallexPay merchant account.
Hint: you don't have to generate new address for this customer anymore, address can be reused unlimited amount of times.
- Make sure to use Bitcoin URI format bitcoin: in QR. Works the same way as "mailto:".
- We do recommend making this QR clickable as customers may have a wallet set up on their computer or mobile phone.
- We recommend specifying approximate current exchange rate.
Withdraw cryptocurrency
POST
https://app.wllxpay.io/api/v2/withdrawal/crypto
Recommendation: ask customer to specify his payout address even before allowing him to deposit, this will improve experience and help to avoid mistakes with withdrawals in future.
Business logic for using cryptocurrency as a withdrawal method:
Your customer requests a payout in Cryptocurrency from his EUR balance on your platform. You have to specify withdrawal amount in EUR and specify Cryptocurrency and its destination (sometimes it is not only Address).
Example of such request <Send 3500 EUR to Bitcoin 3D2V3tushw7VLJYnK6vZVDpNcNmEG2a7QK">.
Calculate exchange rates
POST
https://app.wllxpay.io/api/v2/exchange/calculate
Exchange on fixed exchange rate
POST
https://app.wllxpay.io/api/v2/exchange/fixed
Exchange regardless the exchange rate
POST
https://app.wllxpay.io/api/v2/exchange/now
Calculate rates for futures
POST
https://app.wllxpay.io/api/v2/futures/rates
Confirm futures transaction
POST
https://app.wllxpay.io/api/v2/futures/confirm
Create Invoice
POST
https://app.wllxpay.io/api/v2/invoices/create