The followings are some code relevant to the title. Create Charge A charge is something that the frontend needs to send users to the payment page. Just add the following code to your nodejs route: import CoinbaseCommerce from 'coinbase-commerce-node'; const Charge = CoinbaseCommerce.resources.Charge; CoinbaseCommerce.Client.init(process.env.COINBASE_API_KEY); if (req.method === 'POST') { try { const { amount, currency, user_id,user_email} = req.body; // create a charge const chargeData = { name: 'Your Awesome Comany', description: 'Deposit to Your Awesome Comany', local_price: { amount, ...