Add Razorpay to Your Product

Give your customers access to Razorpay from within your product & agents. Use viaSocket to manage authentication, execute actions, and receive events from connected accounts.

Paste it into Cursor, Claude Code or Codex.
Integration Infrastructure

Everything You Need to Manage Razorpay Integrations

Add Razorpay to your product & agents today. viaSocket runs the infrastructure; your AI coding assistant does the setup.

Managed Authentication

Let your customers connect their Razorpay accounts without building and maintaining OAuth flows yourself.

Customer-Specific Connections

Manage separate Razorpay connections for each customer in your product & agents.

Actions, Triggers and Webhooks

Execute supported Razorpay actions and receive events through a consistent integration interface.

Managed Data Mapping

Map data between your product & agents and the formats expected by Razorpay.

Monitoring and Debugging

Track executions, inspect errors, and troubleshoot integration issues.

Your Product & Agents, Your Experience

Offer Razorpay integrations under your own branding and within your existing product & agents.

Available Actions and Triggers for Razorpay

What You Can Do with Razorpay

Explore available actions to let your product & agents interact with Razorpay.

  • Cancel Payment LinkCancel a payment link to stop any further payments from being made through it.
  • Refund a PaymentIssue a full or partial refund for an existing captured payment.
  • Request Instant SettlementRequest an instant settlement to disburse the full balance or a specified amount, with optional description and notes.
  • Send Invoice ReminderSend a reminder for an existing invoice by email, SMS, or both.
  • Create CustomerCreate a new customer profile in Razorpay with contact details, billing and shipping addresses, GSTIN, and notes.
  • Update CustomerUpdate an existing customer's name, email, or contact number.
  • Create Subscription PlanCreate a subscription plan to bill customers on a recurring schedule.
  • Capture a PaymentCapture a previously authorized payment to collect the specified amount in the given currency.
  • Create SubscriptionCreate a subscription from a plan, with optional quantity, offer, addons, notes, schedule, and customer notification.

Respond to Events in Razorpay

Use triggers to let your product & agents respond to events from connected Razorpay accounts.

  • New Payment CapturedRuns when a payment is successfully captured.
  • A New Refund Is CreatedRuns when a new refund is created in Razorpay.
  • Payment FailsRuns when any payment fails.
  • A New Order PaidTriggers when a new order paid
  • Invoice Is PaidRuns when an invoice is paid.
  • Payment Link ExpiresRuns when a payment link expires.
  • New Refund Is ProcessedRuns when a refund is processed.
  • Payment Link Is CancelledRuns when a generated payment link is cancelled.
  • Any Payment Link Gets PaidRuns when any payment link gets paid.

About Razorpay

Razorpay is a comprehensive payment solutions provider, enabling businesses in India to accept, process, and disburse payments with its product suite. It offers a fast, affordable, and secure way for merchants, schools, ecommerce and other companies to accept and process payments online.

Learn more
viaSocket

About viaSocket

Connect 2,300+ apps to your product & agents with one prompt. Auth, events and actions handled. Free to start.

Learn more
Frequently Asked Questions

FAQs about adding Razorpay to your product & agents

Find answers to common questions about integrating Razorpay into your product & agents, including authentication, supported actions, triggers, and implementation.

How can I integrate Razorpay into my product & agents?

You can use viaSocket to add Razorpay integration to your product & agents. viaSocket provides APIs, managed authentication, actions, and triggers to help you build integration features for your customers.

Do I need to build and maintain the integration infrastructure myself?

No. viaSocket manages the integration infrastructure, including authentication, customer connections, and supported actions and triggers.

Can my customers connect their own Razorpay accounts?

Yes. viaSocket supports customer-specific connections, allowing each customer to authorize their own Razorpay account.

Can I offer Razorpay integration under my own branding?

Yes. You can provide the integration experience under your own branding and within the existing interface of your product & agents.

Can I connect Razorpay with other apps?

Yes. viaSocket supports integrations with 2,300+ apps, allowing your product & agents to work with Razorpay and other supported services.

How do I execute actions in Razorpay?

Use viaSocket's supported actions and APIs to perform operations in connected Razorpay accounts. Available operations depend on the integration's supported capabilities and the permissions granted.

Can my product & agents respond to events from Razorpay?

Yes. You can use supported triggers and webhooks to receive events from Razorpay and respond within your product & agents.

Bring Razorpay Into Your Product & Agents

Paste it into Cursor, Claude Code or Codex.
  • Managed auth
  • Per-customer connections
  • Actions & triggers
  • Data mapping
  • Monitoring & logs
  • Your branding