3 min lesen | Aktualisiert 07 Nov 2022 | Kategorie Services | User AvatarAlin Ionut

Crypto Gateway

Dev-MNS Gateway provide a way for your platform users to buy or sell crypto to crypto in a fast and secure way, via multiple integrations available: Widget, Checkout and API. In order to gain access, you will need to have a valid platform enrolled in Dev-MNS.

1. Widget

Widget solution it's the fastest way for your platform to integrate, and to allow your costumers to start buy or sell crypto assets using another crypto asset.

Make sure you first check Widget Embed documentation, for information on how to embed Widget in your platform.

We will configure your desired assets with buy_with_crypto and sell_to_crypto operations, so your customers can make transactions using crypto (USDT,USDC,BUSD, etc) on your platform at ease. Widget solution generates for your customer a custom Checkout URL, with his particular parameters like assets, amount, etc, and will be redirected to it in order to complete his Crypto Gateway flow.

2. Checkout

Checkout solution represent a hybrid way of implementation, where your platform handle the checkout payload generation, with specific attributes, and our Checkout flow will handle the rest for you.

Make sure you first check Checkout Implementation Flow documentation, for information on how Checkout URL generation.

Bellow it's a payload example for a buy operation of 10 ETH with USDT, and then Withdraw the crypto amount (ETH) to user private wallet, as a second operation.

{
"link": {
	"id": "1",
	"username": "username",
	"email": "email@domain.com"
},
"user": {
	"email": "email@domain.com",
	"phone": "40730000000",
	"type": "personal",
	"wallet": "0xfFf75cb3916570824CcEFFe589193c2452383C17",
	"network": "ETH"
},
"payment": {
	"operation": "buy_with_crypto",
	"symbol": "ETH",
	"amount": "10",
	"secondSymbol": "USDT",
	"second_order_type": "withdraw",
	"attempts": "3"
},
"request_id": "1",
"redirect_url": "https://www.google.com",
"ping_url": "https://www.google.com/ping",
"ip": "86.123.31.5",
"expire": 1571848640
}

3. API

API solution provide a flexible way of implementation on your platform, where you are in control of every aspects regarding user buy/sell flows. You just have to respect couple of thinks based on your particular platform settings.

Make sure you first check API documentation, for information on how API works.

Bellow we have the same example, where your customer request a API Quote for 10 ETH, in USDT, and then Withdraw the crypto amount (ETH) to user private wallet, as a second operation.

{
	"orderType": "buy_with_crypto",
	"orderAmount": "10",
	"orderSymbol": "ETH",
	"orderPaymentSymbol": "USDT",
	"wallet": "0xfFf75cb3916570824CcEFFe589193c2452383C17",
	"network": "ETH",
	"secondOrderType": "withdraw"
}

If this do not answer your questions, please do not hesitate to contact us at contact@cryptocoin.pro.

zum Seitenanfang