KosmoKrator

payments

Razorpay MCP, CLI, and Lua Integration for AI Agents

Razorpay integration docs for AI agents: MCP gateway setup, Razorpay CLI commands, Lua API reference, credentials, and function schemas.

8 functions 7 read 1 write API key auth

Razorpay for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
razorpay
route_slug
razorpay
package
razorpay
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Razorpay MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Razorpay.

Razorpay CLI Matrix

Use these pages for direct Razorpay CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
razorpay.razorpay_list_payments Read read 4 List payments from Razorpay. Supports pagination and date-range filters. Returns payment IDs, amounts, statuses, and methods.
razorpay.razorpay_get_payment Read read 1 Get details of a specific Razorpay payment by its ID. Returns full payment information including amount, status, method, and metadata.
razorpay.razorpay_list_orders Read read 4 List orders from Razorpay. Supports pagination and date-range filters. Returns order IDs, amounts, currencies, and statuses.
razorpay.razorpay_get_order Read read 1 Get details of a specific Razorpay order by its ID. Returns full order information including amount, status, and payments.
razorpay.razorpay_create_order Write write 4 Create a new payment order in Razorpay. Specify the amount (in smallest currency unit, e.g., paise for INR), currency, and an optional receipt identifier.
razorpay.razorpay_list_refunds Read read 4 List refunds from Razorpay. Supports pagination and date-range filters. Returns refund IDs, amounts, payment references, and statuses.
razorpay.razorpay_list_customers Read read 2 List customers from Razorpay. Supports pagination. Returns customer IDs, names, emails, and contact numbers.
razorpay.razorpay_get_current_user Read read 0 Get current user information from Razorpay. Returns details about the authenticated Razorpay account.