NOWPayments is a crypto payment gateway that lets you accept Basic Attention Token payments and donations in an easy and convenient way. Try this Basic Attention Token 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.
Every day, millions of users from all over the world use the Brave browser and the internal BAT currency, and the number will undoubtedly grow. The undoubted advantage of the project is the monetization of the time spent by users when watching ads. Accepting BAT as a means of payment means attracting thousands of new customers, expanding the boundaries of your business, standing in line with global companies, and getting ahead of competitors.
import axios from 'axios';
axios.get('https://api.nowpayments.io/v1/estimate',
{
params: {
amount: 100,
currency_from: 'USD',
currency_to: 'BAT',
},
headers: { 'x-api-key': 'your_api_key' },
})
.then((response) => {
console.log(response.data);
})
or