3 min citit | Actualizat 07 Nov 2022 | Categorie Services | User AvatarDaniel

NFT Gateway

Dev-MNS Gateway offers access to NFT assets, 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 purchase NFT assets with their supported pairs, including fiat or other crypto assets.

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

We will configure your desired NFT assets with buy_with_fiat or buy_with_crypto operations, so your customers can purchase them with any supported fiat/crypto assets 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 NFT 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 NFT1 with USDT, and then Withdraw the NFT asset to user private wallet in desired network (ETH), 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": "NFT1",
	"amount": "1",
	"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 1 NFT1 with USDT, and then Withdraw the NFT amount (NFT1) to user private wallet, as a second operation.

{
	"orderType": "buy_with_crypto",
	"orderAmount": "1",
	"orderSymbol": "NFT1",
	"orderPaymentSymbol": "USDT",
	"wallet": "0xfFf75cb3916570824CcEFFe589193c2452383C17",
	"network": "ETH"
}

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

Mergi Sus