NOWPayments is a crypto payment gateway that lets you accept Stellar payments and donations in an easy and convenient way. Try this Stellar 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.
The developers of Stellar follow the original goal of cryptocurrencies, so the Stellar network is completely decentralized and has an open source code. For this reason, XLM is widely recognized as one of the best means of payment. Stellar is able to process more than a 1000 TPS (transactions per second), and the confirmation time is on average from 2 to 5 seconds. Moreover, the Stellar network is distinguished by its high level of security.
import axios from 'axios';
axios.get('https://api.nowpayments.io/v1/estimate',
{
params: {
amount: 100,
currency_from: 'USD',
currency_to: 'XLM',
},
headers: { 'x-api-key': 'your_api_key' },
})
.then((response) => {
console.log(response.data);
})
or