2.0.2 • Published 2 years ago

@infracia/razorpay v2.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

@infracia/razorpay

This is a powerful Node.js library that makes it easy to interact with the Razorpay API.

Example

import Razorpay from "@infracia/razorpay";

// create global instance
const razorpay = new Razorpay({
  keyId: "REPLACE_WITH_API_KEY_ID",
  keySecret: "REPLACE_WITH_API_KEY_SECRET",
});

// get all orders
const orders = await razorpay.order.getAll();
console.log(orders);

☎️ Need help?

  • Open a GitHub issue