Integrate with Other Razorpay Products

Integrate NodeJS SDK with other Razorpay Products

Razorpay offers a range of payment products to meet your business requirements. Visit our GitHub repository for sample codes.

Partner Authentication🔗

If you are a partner and want to use the API as a particular merchant, you must authenticate your account by passing an additional header X-Razorpay-Account with the merchant account_id as the value.


Copyvar instance = new Razorpay({ key_id: '', key_secret: '', headers: { "X-Razorpay-Account": "" } }); instance.orders.all().then(console.log).catch(console.error);