NOWPayments is a crypto payment gateway that lets you accept XDC Network payments and donations in an easy and convenient way. Try this XDC Network 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.
XDC is a young project that aims to solve most blockchain-related problems. XDC is in high demand due to a large selection of use cases. By accepting XDC for payment, merchants benefit from instant transactions, security, and low fees. With this payment option, merchants can attract customers from different parts of the world and boost their sales.
import axios from 'axios';
axios.get('https://api.nowpayments.io/v1/estimate',
{
params: {
amount: 100,
currency_from: 'USD',
currency_to: 'XDC',
},
headers: { 'x-api-key': 'your_api_key' },
})
.then((response) => {
console.log(response.data);
})
or