Cryptocurrency transactions
XP Integration option
MF STREAM allows you to make payments and payouts in a cryptocurrency. This method supports the following cryptocurrencies:
| Cryptocurrency name | Cryptocurrency code | Cryptocurrency standard |
| Ethereum | ETH | |
| Tether | USDT | ERC20 Submit as an empty string ("") in requests. |
| Tether | USDT | TRC20 |
| Tether | USDT | BEP20 |
| Binance USD | BUSD | BEP20 |
| Binance USD | BUSD | ERC20 Submit as an empty string ("") in requests. |
| Bitcoin | BTC | |
| Dai | DAI | ERC20 Submit as an empty string ("") in requests. |
| Dai | DAI | BEP20 |
| Dash | DASH | |
| Dogecoin | DOGE | |
| HUSD | HUSD | ERC20 Submit as an empty string ("") in requests. |
| Litecoin | LTC | |
| TrueUSD | TUSD | ERC20 Submit as an empty string ("") in requests. |
| USD Coin | USDC | ERC20 Submit as an empty string ("") in requests. |
| USD Coin | USDC | BEP20 |
| XRP | XRP | XRP |
| Huobi Token | HT | TRC20 |
| HUSD | HUSD | TRC20 |
| Ethereum | ETH | TRC20 |
| Ethereum | ETH | BEP20 |
| TRON | TRX | TRX |
| BNB | BNB | BNB |
| Cardano | ADA | BEP20 |
| CasinoCoin | CSC | Ripple |
| Dexsport | DESU | BEP20 |
| Axie Infinity | AXS | TRC20 |
| Axie Infinity | AXS | ERC20 Submit as an empty string ("") in requests. |
| Bitcoin BEP2 | BTCB | BEP20 |
Payment
The cryptocurrency payment flow consists of the following stages:
- Your customer initiates a payment request in the selected cryptocurrency.
- You initiate a widget, create a payment token or send a payment request with the additional parameters described below.
-
- In case of the integration with the payment widget, it is the MF STREAM widget that shows a payment instruction and the QR-code to your customer.
- In case of the API integration, you should use the received parameters and build a form to display the payment instruction.
- Your customer makes a payment according to the received instruction.
- MF STREAM gets informed of the payment. The widget shows the payment result to the customer. You receive a webhook notification on the payment status, if
notification_urlis submitted in your request.
Info
In the webhook notifications the payment amount is reported as multiplied by 100 000 000 and rounded according to the mathematical rounding rules.
Info
The QR code is valid for 30 minutes only.
Request
Parameters of the payment widget and the payment token
Initiate a widget or create a payment token with the following additional parameters:
|
|||||||||||||||||||||||
API request parameters
Send a payment request with the following additional parameters:
|
|||||||||||||||
Response
In case of the integration with the payment widget, the customer gets a payment instruction with the QR-code in the widget.
In case of the API integration, the response additionally contains the crypto_currency section with the following parameters:
|
|||||||||||||||||||||||
Integrate the values of these parameters into your web form to show the relevant payment information to your customers.
Payout
The cryptocurrency payout flow consists of the following stages:
- Your customer initiates a payout request in the selected cryptocurrency.
- You send a payout request with the additional parameters described below.
- The system checks the available balance and processes a payout.
- You receive a webhook notification on the payout status, if
notification_urlis submitted in your request.
Info
In the webhook notifications the payment amount is reported as multiplied by 100 000 000 and rounded according to the mathematical rounding rules.
Request
To initiate a payout, send a payout request with the following parameters:
|
|||||||||||||||||
Response
The payout response additionally contains the crypto_currency section with the parameters which replicate the parameters from the request.