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.
Step 1: InstallStep 2: Pair AccountStep 3: Connect Razorpay
_App-specific connection GIF coming soon_Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Razorpay
text
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ 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 the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
bash
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."
bash
# 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"}'
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.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.bash
clawlink_list_integrations
Response: Returns all connected integrations. Look for razorpay in the list.
bash
clawlink_list_tools --integration razorpay
Response: Returns the live tool catalog for Razorpay.
If Razorpay tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration razorpayToolDescriptionModerazorpay_create_customerRegister a new customerWriterazorpay_get_customerFetch customer detailsReadrazorpay_update_customerUpdate customer detailsWriterazorpay_fetch_all_customersList all customersRead
ToolDescriptionModerazorpay_create_an_orderCreate a payment orderWriterazorpay_fetch_ordersList orders with filtersReadrazorpay_fetch_orders_by_idFetch a specific orderReadrazorpay_update_orderUpdate order notes/metadataWriterazorpay_fetch_payments_by_orderGet payments for an orderRead
ToolDescriptionModerazorpay_fetch_all_paymentsList all paymentsReadrazorpay_fetch_all_refunds_for_a_paymentList refunds for a paymentReadrazorpay_list_disputesList payment disputesReadrazorpay_list_payment_downtimesCheck payment method statusRead
ToolDescriptionModerazorpay_create_invoiceCreate a new invoiceWriterazorpay_fetch_invoice_by_idFetch invoice detailsReadrazorpay_fetch_all_invoicesList all invoicesReadrazorpay_update_invoiceUpdate a draft invoiceWriterazorpay_issue_an_invoiceIssue/send a draft invoiceWriterazorpay_cancel_invoiceCancel an issued invoiceWriterazorpay_delete_invoiceDelete a draft invoiceWriterazorpay_send_or_resend_notificationSend invoice notificationWrite
ToolDescriptionModerazorpay_create_payment_linkCreate a shareable payment linkWriterazorpay_fetch_a_payment_linkFetch a payment linkReadrazorpay_fetch_all_payment_linksList all payment linksReadrazorpay_update_payment_linkUpdate a payment linkWriterazorpay_cancel_payment_linkCancel a payment linkWriterazorpay_notify_payment_linkSend payment link reminderWrite
ToolDescriptionModerazorpay_fetch_refundsList all refundsReadrazorpay_fetch_all_refunds_for_a_paymentList refunds for a paymentRead
ToolDescriptionModerazorpay_create_contactCreate a contactWriterazorpay_get_contactFetch contact detailsReadrazorpay_update_contactUpdate contact detailsWriterazorpay_list_fund_accountsList fund accountsReadrazorpay_get_fund_accountFetch a fund accountReadrazorpay_list_fund_validationsList account validationsRead
ToolDescriptionModerazorpay_create_itemCreate an invoice itemWriterazorpay_get_itemFetch item detailsReadrazorpay_list_itemsList all itemsReadrazorpay_update_itemUpdate an itemWriterazorpay_delete_itemDelete an itemWrite
ToolDescriptionModerazorpay_get_settlement_reconFetch settlement reconciliationReadrazorpay_get_transfer_reversalsList transfer reversalsRead
bash
clawlink_call_tool --tool "razorpay_create_an_order" \
--params '{
"amount": 250000,
"currency": "INR",
"receipt": "order_rcptid_1"
}'
bash
clawlink_call_tool --tool "razorpay_create_invoice" \
--params '{
"amount": 250000,
"currency": "INR",
"description": "Invoice for project services",
"customer_id": "CUSTOMER_ID"
}'
bash
clawlink_call_tool --tool "razorpay_fetch_all_payments" \
--params '{
"count": 20,
"skip": 0
}'
bash
clawlink_call_tool --tool "razorpay_create_payment_link" \
--params '{
"amount": 50000,
"currency": "INR",
"description": "Payment for Order #1234",
"customer_email": "customer@example.com"
}'
clawlink_list_integrations to confirm Razorpay is connected.clawlink_list_tools --integration razorpay to see the live catalog.clawlink_search_tools with a short query and integration razorpay.text
┌─────────────────────────────────────────────────────────────┐
│ 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 │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.amount: 5000 = ₹50.00.draft status can be updated or deleted.issued status can be cancelled.Status / ErrorMeaningTool 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.
Check that the ClawLink plugin is installed: bash
openclaw plugins list
If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
If a fresh chat does not help, run: bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
After restart, tell the user to send /new again and retry.
razorpay.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.