← 返回
未分类 中文

Razorpay

Manage Razorpay customers, orders, invoices, payment links, refunds, payouts, and payment operations via the Razorpay API. Use when users want to inspect or...
通过 Razorpay API 管理客户、订单、发票、支付链接、退款、派付及支付操作,用于用户查询或...
hith3sh hith3sh 来源
未分类 clawhub v1.0.6 1 版本 100000 Key: 无需
★ 0
Stars
📥 118
下载
💾 0
安装
1
版本
#latest

概述

Razorpay

!Razorpay

Manage Razorpay from chat — customers, orders, invoices, payment links, refunds, payouts, and payment operations via the Razorpay API.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Razorpay API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect Razorpay
:---::---::---:
!Install!PairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Razorpay

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│ Razorpay         │
│   (User Chat)   │     │   (OAuth)    │     │ (Payments API)    │
└─────────────────┘     └──────────────┘     └──────────────────┘
          │                       │                       │
          │  1. Install Plugin    │                       │
          │  2. Pair Device      │                       │
          │  3. Connect Razorpay  │                       │
          │                      │  4. Secure Token       │
          │                      │  5. Proxy Requests     │
          │                      │                       │
          ▼                      ▼                       ▼
    ┌──────────┐          ┌──────────┐          ┌──────────┐
    │  SKILL   │          │ Dashboard│          │ Razorpay │
    │  File    │          │ Auth     │          │ Dashboard│
    └──────────┘ └──────────┘          └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Razorpay again."

Quick Start

# List all payments
clawlink_call_tool --tool "razorpay_fetch_all_payments" --params '{"count": 10}'

# Create an order
clawlink_call_tool --tool "razorpay_create_an_order" --params '{"amount": 5000, "currency": "INR"}'

# Create an invoice
clawlink_call_tool --tool "razorpay_create_invoice" --params '{"amount": 5000, "currency": "INR", "description": "Invoice for services"}'

Authentication

All Razorpay tool calls are authenticated automatically by ClawLink using the user's connected Razorpay account.

No API key is required in chat. ClawLink stores the credentials securely and injects them into every Razorpay API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=razorpay and connect Razorpay.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for razorpay in the list.

Verify Connection

clawlink_list_tools --integration razorpay

Response: Returns the live tool catalog for Razorpay.

Reconnect

If Razorpay tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=razorpay
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration razorpay

Security& Permissions

  • Access is scoped to the Razorpay account data accessible via the connected account.
  • All write operations require explicit user confirmation. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
  • Destructive actions (cancel invoice, delete payment link, issue refund) are marked as high-impact and must be confirmed.
  • Payment operations affect real money — confirm amounts, customer details, and intent before any write.

Tool Reference

Customers

ToolDescriptionMode
-------------------------
razorpay_create_customerRegister a new customerWrite
razorpay_get_customerFetch customer detailsRead
razorpay_update_customerUpdate customer detailsWrite
razorpay_fetch_all_customersList all customersRead

Orders

ToolDescriptionMode
-------------------------
razorpay_create_an_orderCreate a payment orderWrite
razorpay_fetch_ordersList orders with filtersRead
razorpay_fetch_orders_by_idFetch a specific orderRead
razorpay_update_orderUpdate order notes/metadataWrite
razorpay_fetch_payments_by_orderGet payments for an orderRead

Payments

ToolDescriptionMode
-------------------------
razorpay_fetch_all_paymentsList all paymentsRead
razorpay_fetch_all_refunds_for_a_paymentList refunds for a paymentRead
razorpay_list_disputesList payment disputesRead
razorpay_list_payment_downtimesCheck payment method statusRead

Invoices

ToolDescriptionMode
-------------------------
razorpay_create_invoiceCreate a new invoiceWrite
razorpay_fetch_invoice_by_idFetch invoice detailsRead
razorpay_fetch_all_invoicesList all invoicesRead
razorpay_update_invoiceUpdate a draft invoiceWrite
razorpay_issue_an_invoiceIssue/send a draft invoiceWrite
razorpay_cancel_invoiceCancel an issued invoiceWrite
razorpay_delete_invoiceDelete a draft invoiceWrite
razorpay_send_or_resend_notificationSend invoice notificationWrite

Payment Links

ToolDescriptionMode
-------------------------
razorpay_create_payment_linkCreate a shareable payment linkWrite
razorpay_fetch_a_payment_linkFetch a payment linkRead
razorpay_fetch_all_payment_linksList all payment linksRead
razorpay_update_payment_linkUpdate a payment linkWrite
razorpay_cancel_payment_linkCancel a payment linkWrite
razorpay_notify_payment_linkSend payment link reminderWrite

Refunds

ToolDescriptionMode
-------------------------
razorpay_fetch_refundsList all refundsRead
razorpay_fetch_all_refunds_for_a_paymentList refunds for a paymentRead

Contacts & Fund Accounts (RazorpayX)

ToolDescriptionMode
-------------------------
razorpay_create_contactCreate a contactWrite
razorpay_get_contactFetch contact detailsRead
razorpay_update_contactUpdate contact detailsWrite
razorpay_list_fund_accountsList fund accountsRead
razorpay_get_fund_accountFetch a fund accountRead
razorpay_list_fund_validationsList account validationsRead

Items

ToolDescriptionMode
-------------------------
razorpay_create_itemCreate an invoice itemWrite
razorpay_get_itemFetch item detailsRead
razorpay_list_itemsList all itemsRead
razorpay_update_itemUpdate an itemWrite
razorpay_delete_itemDelete an itemWrite

Settlements

ToolDescriptionMode
-------------------------
razorpay_get_settlement_reconFetch settlement reconciliationRead
razorpay_get_transfer_reversalsList transfer reversalsRead

Code Examples

Create a payment order

clawlink_call_tool --tool "razorpay_create_an_order" \
  --params '{
    "amount": 250000,
    "currency": "INR",
    "receipt": "order_rcptid_1"
  }'

Create an invoice

clawlink_call_tool --tool "razorpay_create_invoice" \
  --params '{
    "amount": 250000,
    "currency": "INR",
    "description": "Invoice for project services",
    "customer_id": "CUSTOMER_ID"
  }'

Fetch all payments

clawlink_call_tool --tool "razorpay_fetch_all_payments" \
  --params '{
    "count": 20,
    "skip": 0
  }'

Create a payment link

clawlink_call_tool --tool "razorpay_create_payment_link" \
  --params '{
    "amount": 50000,
    "currency": "INR",
    "description": "Payment for Order #1234",
    "customer_email": "customer@example.com"
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Razorpay is connected.
  2. Call clawlink_list_tools --integration razorpay to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration razorpay.
  5. If no Razorpay tools appear, direct the user to https://claw-link.dev/dashboard?add=razorpay.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                      │
│  list → fetch → get → call                                   │
│                                                             │
│  Example: List payments → Fetch details → Show results       │
└─────────────────────────────────────────────────────────────┘
                               │
                               ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  list → describe → preview → confirm → call                  │
│                                                             │
│  Example: Describe tool → Preview changes → User approves  │
│           → Execute create                                   │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, and get operations before writes when that reduces ambiguity.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • Razorpay amounts are in paise (smallest currency unit) — amount: 5000 = ₹50.00.
  • Only invoices in draft status can be updated or deleted.
  • Only invoices in issued status can be cancelled.
  • Payment links cannot be modified after expiry.
  • Customer tokens (saved cards) require 2FA verification for retrieval.

Error Handling

Status / ErrorMeaning
-------------------------
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration razorpay.
Missing connectionRazorpay is not connected. Direct the user to https://claw-link.dev/dashboard?add=razorpay.
INVOICE_NOT_DRAFTInvoice is not in draft state — only draft invoices can be updated or deleted.
PAYMENT_LINK_NOT_ACTIVEPayment link has expired or been cancelled.
BAD_REQUESTInvalid parameters or missing required fields. Check the tool schema.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:

```bash

openclaw plugins list

```

  1. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  2. If a fresh chat does not help, run:

```bash

openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json

openclaw gateway restart

```

  1. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly razorpay.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources

Related Skills

  • Stripe — For global payment processing
  • QuickBooks — For accounting and bookkeeping

!ClawLink Logo

版本历史

共 1 个版本

  • v1.0.6 当前
    2026-06-09 19:01

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

business-ops

Discord

steipete
当需要通过discord工具控制Discord时使用:发送消息、添加反应、发布或上传表情包、上传表情、创建投票、管理帖子/置顶/搜索、获取权限或成员/角色/频道信息,或在Discord私信或频道中处理管理操作。
★ 79 📥 38,077
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 162 📥 41,316
dev-programming

GitHub

hith3sh
通过 GitHub REST 和GraphQL API 与仓库、议题、拉取请求、提交、分支、发布和工作流进行交互。在需要时使用此技能。
★ 6 📥 1,961