KosmoKrator

data

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.

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.

Agent Surfaces

Machine-Readable Metadata

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 Verify the Razorpay API connection with a lightweight payments request.