Power your finance, grow your business. Accept payments from customers. Automate payouts to vendors & employees. Never run out of working capital.
Go to siteThe Razorpay API provides a wealth of possibilities for developers to build payment solutions for a vast range of use-cases. With the API, you can implement payment functionalities for Mobile and Web applications, simplify digital payments and allow customers to securely store digital wallets on your platform. Here are some of the things you can do using Razorpay's API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
razorpay: {
type: "app",
app: "razorpay",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.razorpay.com/v1/items`,
auth: {
username: `${this.razorpay.$auth.key_id}`,
password: `${this.razorpay.$auth.key_secret}`,
},
})
},
})
Razorpay uses API keys for authentication. When you connect your Razorpay account, Pipedream securely stores the keys so you can easily authenticate to Razorpay APIs in both code and no-code steps.
To connect your Razorpay account to Pipedream, log into your Razorpay dashboard and follow the below steps to retrieve your key_id
and key_secret
:
For more information, refer to Razorpay's docs: https://razorpay.com/docs/api/authentication#generate-api-keys