3 min read | Updated 02 Nov 2022 | Category Services | User AvatarAlin Ionut

Fiat Gateway

Dev-MNS Checkout provide a way for your platform users to buy or sell 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 fiat.

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_fiat and sell_to_fiat operations, so your customers can make transactions using fiat (EUR) on your platform at ease. Widget solution generates for your customer a custom Checkout URL, with his particular parameters like asset, amount, payment method etc, and will be redirected to it in order to complete his Fiat 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 EUR, payment done with Credit Card, and then Withdraw the crypto amount 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_fiat",
	"symbol": "ETH",
	"amount": "10",
	"secondSymbol": "EUR",
	"method": "card",
	"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 EUR, and payment with Credit Card.

{
	"orderType": "buy_with_fiat",
	"orderAmount": "10",
	"orderSymbol": "ETH",
	"orderPaymentSymbol": "EUR",
	"orderPaymentType": "card",
	"wallet": "0xfFf75cb3916570824CcEFFe589193c2452383C17",
	"network": "ETH",
	"secondOrderType": "withdraw"
}

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

Go Top