NOWPayments is a crypto payment gateway that lets you accept Dai payments and donations in an easy and convenient way. Try this Dai payment gateway NOW!
You want to accept crypto for goods and services
NOWPayments offers 16 merchant tools allowing to implement crypto payments on any website, service and brick&mortar store.
Customer chooses to pay with crypto
NOWPayments will give your customers the list on 300+ cryptocurrencies they can use to pay for goods and services.
We generate a payment window
We calculate the price in the selected cryptocurrency and provide payment details for the customer.
You receive profit directly to your personal wallet
Once we have processed the payment, we automatically exchange it if needed and send it directly to your personal wallet.
Merchants can get all the advantages of cryptocurrencies without a huge risk of volatility. When accepting payment in the DAI stablecoin, you should no longer worry about a sharp price decrease. If the price of a product is $20, then the merchant receives 20 DAI, fully confident that they will have this amount regardless of whether they cash the coins on the same day or 3 months later. Another undoubted advantage of adding DAI as a payment option is attracting customers from all over the world, regardless of their place of residence.
import axios from 'axios';
axios.get('https://api.nowpayments.io/v1/estimate',
{
params: {
amount: 100,
currency_from: 'USD',
currency_to: 'DAI',
},
headers: { 'x-api-key': 'your_api_key' },
})
.then((response) => {
console.log(response.data);
})
or