NOWPayments is a crypto payment gateway that lets you accept MATICMAINNET payments and donations in an easy and convenient way. Try this MATICMAINNET 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.
Over 3,000 decentralized applications use Polygon for scaling. If you are looking to increase your sales, then adding MATICMAINNET cryptocurrency as an additional payment method is a great choice. With the use of MATICMAINNET as a means of payment, you will provide your customers with almost instant payments with lower transaction fees. In addition, this payment method is distinguished by its security and reliability.
import axios from 'axios';
axios.get('https://api.nowpayments.io/v1/estimate',
{
params: {
amount: 100,
currency_from: 'USD',
currency_to: 'MATICMAINNET',
},
headers: { 'x-api-key': 'your_api_key' },
})
.then((response) => {
console.log(response.data);
})
or