Skip to content
Back to search

razorpay-mcp-server

Razorpay's Official MCP Server

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/razorpay/razorpay-mcp-server with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/razorpay/razorpay-mcp-server'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/razorpay--razorpay-mcp-server/badge.svg)](/listings/razorpay--razorpay-mcp-server)

HTML

<a href="/listings/razorpay--razorpay-mcp-server"><img src="/api/listings/razorpay--razorpay-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

npx --version

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 489 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # Razorpay MCP Server (Official)
  2. The Razorpay MCP Server is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server that provides seamless integration with Razorpay APIs, enabling advanced payment processing capabilities for developers and AI tools.
  3. ## Quick Start
  4. Choose your preferred setup method:
  5. - **[Remote MCP Server](#remote-mcp-server-recommended)** - Hosted by Razorpay, no setup required
  6. - **[Local MCP Server](#local-mcp-server)** - Run on your own infrastructure
  7. ## Available Tools
  8. Currently, the Razorpay MCP Server provides the following tools:
  9. | Tool | Description | API | Remote Server Support |
  10. |:-------------------------------------|:-------------------------------------------------------|:------------------------------------|:---------------------|
  11. | `capture_payment` | Change the payment status from authorized to captured. | [Payment](https://razorpay.com/docs/api/payments/capture) | ✅ |
  12. | `fetch_payment` | Fetch payment details with ID | [Payment](https://razorpay.com/docs/api/payments/fetch-with-id) | ✅ |
  13. | `fetch_payment_card_details` | Fetch card details used for a payment | [Payment](https://razorpay.com/docs/api/payments/fetch-payment-expanded-card) | ✅ |
  14. | `fetch_all_payments` | Fetch all payments with filtering and pagination | [Payment](https://razorpay.com/docs/api/payments/fetch-all-payments) | ✅ |
  15. | `update_payment` | Update the notes field of a payment | [Payment](https://razorpay.com/docs/api/payments/update) | ✅ |
  16. | `initiate_payment` | Initiate a payment using saved payment method with order and customer details | [Payment](https://github.com/razorpay/razorpay-go/blob/master/documents/payment.md#create-payment-json) | ✅ |
  17. | `resend_otp` | Resend OTP if the previous one was not received or expired | [Payment](https://github.com/razorpay/razorpay-go/blob/master/documents/payment.md#otp-resend) | ✅ |
  18. | `submit_otp` | Verify and submit OTP to complete payment authentication | [Payment](https://github.com/razorpay/razorpay-go/blob/master/documents/payment.md#otp-submit) | ✅ |
  19. | `create_payment_link` | Creates a new payment link (standard) | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/create-standard) | ✅ |
  20. | `create_payment_link_upi` | Creates a new UPI payment link | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/create-upi) | ✅ |
  21. | `fetch_all_payment_links` | Fetch all the payment links | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/fetch-all-standard) | ✅ |
  22. | `fetch_payment_link` | Fetch details of a payment link | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/fetch-id-standard/) | ✅ |
  23. | `send_payment_link` | Send a payment link via SMS or email. | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/resend) | ✅ |
  24. | `update_payment_link` | Updates a new standard payment link | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/update-standard) | ✅ |
  25. | `create_order` | Creates an order | [Order](https://razorpay.com/docs/api/orders/create/) | ✅ |
  26. | `fetch_order` | Fetch order with ID | [Order](https://razorpay.com/docs/api/orders/fetch-with-id) | ✅ |
  27. | `fetch_all_orders` | Fetch all orders | [Order](https://razorpay.com/docs/api/orders/fetch-all) | ✅ |
  28. | `update_order` | Update an order | [Order](https://razorpay.com/docs/api/orders/update) | ✅ |
  29. | `fetch_order_payments` | Fetch all payments for an order | [Order](https://razorpay.com/docs/api/orders/fetch-payments/) | ✅ |
  30. | `create_refund` | Creates a refund | [Refund](https://razorpay.com/docs/api/refunds/create-instant/) | ❌ |
  31. | `fetch_refund` | Fetch refund details with ID | [Refund](https://razorpay.com/docs/api/refunds/fetch-with-id/) | ✅ |
  32. | `fetch_all_refunds` | Fetch all refunds | [Refund](https://razorpay.com/docs/api/refunds/fetch-all) | ✅ |
  33. | `update_refund` | Update refund notes with ID | [Refund](https://razorpay.com/docs/api/refunds/update/) | ✅ |
  34. | `fetch_multiple_refunds_for_payment` | Fetch multiple refunds for a payment | [Refund](https://razorpay.com/docs/api/refunds/fetch-multiple-refund-payment/) | ✅ |
  35. | `fetch_specific_refund_for_payment` | Fetch a specific refund for a payment | [Refund](https://razorpay.com/docs/api/refunds/fetch-specific-refund-payment/) | ✅ |
  36. | `create_qr_code` | Creates a QR Code | [QR Code](https://razorpay.com/docs/api/qr-codes/create/) | ✅ |
  37. | `fetch_qr_code` | Fetch QR Code with ID | [QR Code](https://razorpay.com/docs/api/qr-codes/fetch-with-id/) | ✅ |
  38. | `fetch_all_qr_codes` | Fetch all QR Codes | [QR Code](https://razorpay.com/docs/api/qr-codes/fetch-all/) | ✅ |
  39. | `fetch_qr_codes_by_customer_id` | Fetch QR Codes with Customer ID | [QR Code](https://razorpay.com/docs/api/qr-codes/fetch-customer-id/) | ✅ |
  40. | `fetch_qr_codes_by_payment_id` | Fetch QR Codes with Payment ID | [QR Code](https://razorpay.com/docs/api/qr-codes/fetch-payment-id/) | ✅ |
  41. | `fetch_payments_for_qr_code` | Fetch Payments for a QR Code | [QR Code](https://razorpay.com/docs/api/qr-codes/fetch-payments/) | ✅ |
  42. | `close_qr_code` | Closes a QR Code | [QR Code](https://razorpay.com/docs/api/qr-codes/close/) | ❌ |
  43. | `fetch_all_settlements` | Fetch all settlements | [Settlement](https://razorpay.com/docs/api/settlements/fetch-all) | ✅ |
  44. | `fetch_settlement_with_id` | Fetch settlement details | [Settlement](https://razorpay.com/docs/api/settlements/fetch-with-id) | ✅ |
  45. | `fetch_settlement_recon_details` | Fetch settlement reconciliation report | [Settlement](https://razorpay.com/docs/api/settlements/fetch-recon) | ✅ |
  46. | `create_instant_settlement` | Create an instant settlement | [Settlement](https://razorpay.com/docs/api/settlements/instant/create) | ❌ |
  47. | `fetch_all_instant_settlements` | Fetch all instant settlements | [Settlement](https://razorpay.com/docs/api/settlements/instant/fetch-all) | ✅ |
  48. | `fetch_instant_settlement_with_id` | Fetch instant settlement with ID | [Settlement](https://razorpay.com/docs/api/settlements/instant/fetch-with-id) | ✅ |
  49. | `fetch_all_payouts` | Fetch all payout details with A/c number | [Payout](https://razorpay.com/docs/api/x/payouts/fetch-all/) | ✅ |
  50. | `fetch_payout_by_id` | Fetch the payout details with payout ID | [Payout](https://razorpay.com/docs/api/x/payouts/fetch-with-id) | ✅ |
  51. | `fetch_tokens` | Get all saved payment methods by customer ID or contact number | [Token](https://razorpay.com/docs/payments/payment-gateway/s2s-integration/recurring-payments/cards/tokens/) | ✅ |
  52. | `revoke_token` | Revoke a saved payment method (token) for a customer | [Token](https://razorpay.com/docs/payments/payment-gateway/s2s-integration/recurring-payments/upi-otm/collect/tokens/#24-cancel-token) | ✅ |
  53. | `create_registration_link` | Create a registration link (auth link) for subscription registration | [Registration Link](https://razorpay.com/docs/api/payments/recurring-payments/registration-link/) | ❌ |
  54. | `detect_stack` | Detect project language/framework for checkout integration | N/A (MCP Integration Helper) | ✅ |
  55. | `integrate_razorpay_checkout` | Generate end-to-end Razorpay Standard Checkout integration code for supported frameworks | N/A (MCP Integration Helper) | ✅ |
  56. ## Use Cases
  57. - Workflow Automation: Automate your day to day workflow using Razorpay MCP Server.
  58. - Agentic Applications: Building AI powered tools that interact with Razorpay's payment ecosystem using this Razorpay MCP server.
  59. ## Remote MCP Server (Recommended)
  60. The Remote MCP Server is hosted by Razorpay and provides instant access to Razorpay APIs without any local setup. This is the recommended approach for most users.
  61. ### Benefits of Remote MCP Server
  62. - **Zero Setup**: No need to install Docker, Go, or manage local infrastructure
  63. - **Always Updated**: Automatically stays updated with the latest features and security patches
  64. - **High Availability**: Backed by Razorpay's robust infrastructure with 99.9% uptime
  65. - **Reduced Latency**: Optimized routing and caching for faster API responses
  66. - **Enhanced Security**: Secure token-based authentication with automatic token rotation
  67. - **No Maintenance**: No need to worry about updates, patches, or server maintenance
  68. ### Prerequisites
  69. `npx` is needed to use mcp server.
  70. You need to have Node.js installed on your system, which includes both `npm` (Node Package Manager) and `npx` (Node Package Execute) by default:
  71. #### macOS
  72. ```bash
  73. # Install Node.js (which includes npm and npx) using Homebrew
  74. brew install node
  75. # Alternatively, download from https://nodejs.org/
  76. ```
  77. #### Windows
  78. ```bash
  79. # Install Node.js (which includes npm and npx) using Chocolatey
  80. choco install nodejs
  81. # Alternatively, download from https://nodejs.org/
  82. ```
  83. #### Verify Installation
  84. ```bash
  85. npx --version
  86. ```
  87. ### Usage with Cursor
  88. Inside your cursor settings in MCP, add this config.
  89. ```json
  90. {
  91. "mcpServers": {
  92. "rzp-mcp-server": {
  93. "command": "npx",
  94. "args": [
  95. "mcp-remote",
  96. "https://mcp.razorpay.com/mcp",
  97. "--header",
  98. "Authorization:${AUTH_HEADER}"
  99. ],
  100. "env": {
  101. "AUTH_HEADER": "Basic <Base64(key:secret)>"
  102. }
  103. }
  104. }
  105. }
  106. ```
  107. Replace `key` & `secret` with your Razorpay API KEY & API SECRET
  108. ### Usage with Claude Desktop
  109. Add the following to your `claude_desktop_config.json`:
  110. ```json
  111. {
  112. "mcpServers": {
  113. "rzp-mcp-server": {
  114. "command": "npx",
  115. "args": [
  116. "mcp-remote",
  117. "https://mcp.razorpay.com/mcp",
  118. "--header",
  119. "Authorization: Basic <Merchant Token>"
  120. ]
  121. }
  122. }
  123. }
  124. ```
  125. Replace `<Merchant Token>` with your Razorpay merchant token. Check Authentication section for steps to generate token.
  126. - Learn about how to configure MCP servers in Claude desktop: [Link](https://modelcontextprotocol.io/quickstart/user)
  127. - How to install Claude Desktop: [Link](https://claude.ai/download)
  128. ### Usage with VS Code
  129. Add the following to your VS Code settings (JSON):
  130. ```json
  131. {
  132. "mcp": {
  133. "inputs": [
  134. {
  135. "type": "promptString",
  136. "id": "merchant_token",
  137. "description": "Razorpay Merchant Token",
  138. "password": true
  139. }
  140. ],
  141. "servers": {
  142. "razorpay-remote": {
  143. "command": "npx",
  144. "args": [
  145. "mcp-remote",
  146. "https://mcp.razorpay.com/mcp",
  147. "--header",
  148. "Authorization: Basic ${input:merchant_token}"
  149. ]
  150. }
  151. }
  152. }
  153. }
  154. ```
  155. Learn more about MCP servers in VS Code's [agent mode documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers).
  156. ## Authentication
  157. The Remote MCP Server uses merchant token-based authentication. To generate your merchant token:
  158. 1. Go to the [Razorpay Dashboard](https://dashboard.razorpay.com/) and navigate to Settings > API Keys
  159. 2. Locate your API Key and API Secret:
  160. - API Key is visible on the dashboard
  161. - API Secret is generated only once when you first create it. **Important:** Do not generate a new secret if you already have one
  162. 3. Generate your merchant token by running this command in your terminal:
  163. ```bash
  164. echo <RAZORPAY_API_KEY>:<RAZORPAY_API_SECRET> | base64
  165. ```
  166. Replace `<RAZORPAY_API_KEY>` and `<RAZORPAY_API_SECRET>` with your actual credentials
  167. 4. Copy the base64-encoded output - this is your merchant token for the Remote MCP Server
  168. > **Note:** For local MCP Server deployment, you can use the API Key and Secret directly without generating a merchant token.
  169. ## Local MCP Server
  170. For users who prefer to run the MCP server on their own infrastructure or need access to all tools (including those restricted in the remote server), you can deploy the server locally.
  171. ### Prerequisites
  172. - Docker
  173. - Golang (Go)
  174. - Git
  175. To run the Razorpay MCP server, use one of the following methods:
  176. ### Using Public Docker Image (Recommended)
  177. You can use the public Razorpay image directly. No need to build anything yourself - just copy-paste the configurations below and make sure Docker is already installed.
  178. > **Note:** To use a specific version instead of the latest, replace `razorpay/mcp` with `razorpay/mcp:v1.0.0` (or your desired version tag) in the configurations below. Available tags can be found on [Docker Hub](https://hub.docker.com/r/razorpay/mcp/tags).
  179. #### Usage with Claude Desktop
  180. This will use the public razorpay image
  181. Add the following to your `claude_desktop_config.json`:
  182. ```json
  183. {
  184. "mcpServers": {
  185. "razorpay-mcp-server": {
  186. "command": "docker",
  187. "args": [
  188. "run",
  189. "--rm",
  190. "-i",
  191. "-e",
  192. "RAZORPAY_KEY_ID",
  193. "-e",
  194. "RAZORPAY_KEY_SECRET",
  195. "razorpay/mcp"
  196. ],
  197. "env": {
  198. "RAZORPAY_KEY_ID": "your_razorpay_key_id",
  199. "RAZORPAY_KEY_SECRET": "your_razorpay_key_secret"
  200. }
  201. }
  202. }
  203. }
  204. ```
  205. Please replace the `your_razorpay_key_id` and `your_razorpay_key_secret` with your keys.
  206. - Learn about how to configure MCP servers in Claude desktop: [Link](https://modelcontextprotocol.io/quickstart/user)
  207. - How to install Claude Desktop: [Link](https://claude.ai/download)
  208. #### Usage with VS Code
  209. Add the following to your VS Code settings (JSON):
  210. ```json
  211. {
  212. "mcpServers": {
  213. "razorpay-mcp-server": {
  214. "command": "docker",
  215. "args": [
  216. "run",
  217. "--rm",
  218. "-i",
  219. "-e",
  220. "RAZORPAY_KEY_ID",
  221. "-e",
  222. "RAZORPAY_KEY_SECRET",
  223. "razorpay/mcp"
  224. ],
  225. "env": {
  226. "RAZORPAY_KEY_ID": "your_razorpay_key_id",
  227. "RAZORPAY_KEY_SECRET": "your_razorpay_key_secret"
  228. }
  229. }
  230. }
  231. }
  232. ```
  233. Please replace the `your_razorpay_key_id` and `your_razorpay_key_secret` with your keys.
  234. - Learn about how to configure MCP servers in Claude desktop: [Link](https://modelcontextprotocol.io/quickstart/user)
  235. - How to install Claude Desktop: [Link](https://claude.ai/download)
  236. #### Usage with VS Code
  237. Add the following to your VS Code settings (JSON):
  238. ```json
  239. {
  240. "mcp": {
  241. "inputs": [
  242. {
  243. "type": "promptString",
  244. "id": "razorpay_key_id",
  245. "description": "Razorpay Key ID",
  246. "password": false
  247. },
  248. {
  249. "type": "promptString",
  250. "id": "razorpay_key_secret",
  251. "description": "Razorpay Key Secret",
  252. "password": true
  253. }
  254. ],
  255. "servers": {
  256. "razorpay": {
  257. "command": "docker",
  258. "args": [
  259. "run",
  260. "-i",
  261. "--rm",
  262. "-e",
  263. "RAZORPAY_KEY_ID",
  264. "-e",
  265. "RAZORPAY_KEY_SECRET",
  266. "razorpay/mcp"
  267. ],
  268. "env": {
  269. "RAZORPAY_KEY_ID": "${input:razorpay_key_id}",
  270. "RAZORPAY_KEY_SECRET": "${input:razorpay_key_secret}"
  271. }
  272. }
  273. }
  274. }
  275. }
  276. ```
  277. Learn more about MCP servers in VS Code's [agent mode documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers).
  278. ### Build from Docker (Alternative)
  279. You need to clone the Github repo and build the image for Razorpay MCP Server using `docker`. Do make sure `docker` is installed and running in your system.
  280. ```bash
  281. # Run the server
  282. git clone https://github.com/razorpay/razorpay-mcp-server.git
  283. cd razorpay-mcp-server
  284. docker build -t razorpay-mcp-server:latest .
  285. ```
  286. Once the razorpay-mcp-server:latest docker image is built, you can replace the public image(`razorpay/mcp`) with it in the above configurations.
  287. ### Build from source
  288. You can directly build from the source instead of using docker by following these steps:
  289. ```bash
  290. # Clone the repository
  291. git clone https://github.com/razorpay/razorpay-mcp-server.git
  292. cd razorpay-mcp-server
  293. # Build the binary
  294. go build -o razorpay-mcp-server ./cmd/razorpay-mcp-server
  295. ```
  296. Once the build is ready, you need to specify the path to the binary executable in the `command` option. Here's an example for VS Code settings:
  297. ```json
  298. {
  299. "razorpay": {
  300. "command": "/path/to/razorpay-mcp-server",
  301. "args": ["stdio","--log-file=/path/to/rzp-mcp.log"],
  302. "env": {
  303. "RAZORPAY_KEY_ID": "<YOUR_ID>",
  304. "RAZORPAY_KEY_SECRET" : "<YOUR_SECRET>"
  305. }
  306. }
  307. }
  308. ```
  309. ## Configuration
  310. The server requires the following configuration:
  311. - `RAZORPAY_KEY_ID`: Your Razorpay API key ID
  312. - `RAZORPAY_KEY_SECRET`: Your Razorpay API key secret
  313. - `LOG_FILE` (optional): Path to log file for server logs
  314. - `TOOLSETS` (optional): Comma-separated list of toolsets to enable (default: "all")
  315. - `READ_ONLY` (optional): Run server in read-only mode (default: false)
  316. - `RAZORPAY_REGION` (optional): Region of your Razorpay account: `IN`, `SG`, `MY` or `US` (default: detected from the API key, else `IN`)
  317. - `RAZORPAY_REGION_CONFIG` (optional): Path to a YAML file that overrides region profiles
  318. ### Command Line Flags
  319. The server supports the following command line flags:
  320. - `--key` or `-k`: Your Razorpay API key ID
  321. - `--secret` or `-s`: Your Razorpay API key secret
  322. - `--log-file` or `-l`: Path to log file
  323. - `--toolsets` or `-t`: Comma-separated list of toolsets to enable
  324. - `--read-only`: Run server in read-only mode
  325. - `--region`: Region of your Razorpay account: `IN`, `SG`, `MY` or `US` (default: detected from the API key, else `IN`)
  326. - `--region-config`: Path to a YAML file that overrides region profiles
  327. ### Regions
  328. The local server runs for one region at a time. The region decides:
  329. - which Razorpay API host is called,
  330. - which tools are available (products not offered in the region are hidden),
  331. - the default currency and how amounts are described to the AI, taken from [i18nify](https://github.com/razorpay/i18nify).
  332. How the region is chosen:
  333. 1. `--region` / `RAZORPAY_REGION`, if set.
  334. 2. Otherwise the country in the API key: keys like `rzp_live_sg_…` or `rzp_test_us_…` select `SG` or `US`.
  335. 3. Otherwise `IN`, exactly as before. Malaysia keys carry no country code, so Malaysian accounts must set `--region MY`.
  336. Setting a region that does not match the key's country (for example `--region IN` with an `rzp_live_sg_…` key) stops the server with an error.
  337. | Region | API host | Not available |
  338. |---|---|---|
  339. | `IN` | `api.razorpay.com` | none (all tools) |
  340. | `SG` | `api-sg.razorpay.com` | UPI payment links, QR codes, payouts, registration links, instant settlements, checkout integration |
  341. | `MY` | `api.razorpay.com` | UPI payment links, QR codes, payouts, instant settlements, checkout integration |
  342. | `US` | `api-us.razorpay.com` | UPI payment links, QR codes, payouts, registration links, instant settlements, checkout integration |
  343. Region profiles live in [`pkg/region/profiles`](pkg/region/profiles).
  344. **Region and `--toolsets` together:** the region profile is the ceiling. It
  345. decides which tools exist for the region; `--toolsets` (and `--read-only`)
  346. only narrow that set further. Asking for a toolset with no tools in the region
  347. (for example `--toolsets payouts --region SG`) stops the server with an error;
  348. tools of a requested toolset that the region does not offer are left out and
  349. logged. The same applies to profiles loaded with `--region-config`.
  350. If you have accounts in more than one region, add one server per region in
  351. your MCP client, each with that region's keys:
  352. ```json
  353. {
  354. "mcpServers": {
  355. "razorpay-in": {
  356. "command": "docker",
  357. "args": ["run", "--rm", "-i", "-e", "RAZORPAY_KEY_ID", "-e", "RAZORPAY_KEY_SECRET", "razorpay/mcp"],
  358. "env": {
  359. "RAZORPAY_KEY_ID": "your_india_key_id",
  360. "RAZORPAY_KEY_SECRET": "your_india_key_secret"
  361. }
  362. },
  363. "razorpay-sg": {
  364. "command": "docker",
  365. "args": ["run", "--rm", "-i", "-e", "RAZORPAY_KEY_ID", "-e", "RAZORPAY_KEY_SECRET", "razorpay/mcp"],
  366. "env": {
  367. "RAZORPAY_KEY_ID": "your_singapore_key_id",
  368. "RAZORPAY_KEY_SECRET": "your_singapore_key_secret"
  369. }
  370. },
  371. "razorpay-my": {
  372. "command": "docker",
  373. "args": ["run", "--rm", "-i", "-e", "RAZORPAY_KEY_ID", "-e", "RAZORPAY_KEY_SECRET", "-e", "RAZORPAY_REGION", "razorpay/mcp"],
  374. "env": {
  375. "RAZORPAY_KEY_ID": "your_malaysia_key_id",
  376. "RAZORPAY_KEY_SECRET": "your_malaysia_key_secret",
  377. "RAZORPAY_REGION": "MY"
  378. }
  379. }
  380. }
  381. }
  382. ```
  383. With Docker, pass the region as `-e RAZORPAY_REGION` (needed for Malaysia, whose
  384. keys carry no country). A `--region-config` file must also be mounted into the
  385. container, for example `-v /path/regions.yaml:/regions.yaml -e RAZORPAY_REGION_CONFIG=/regions.yaml`.
  386. A `--region-config` entry only needs the fields it changes; the rest are kept
  387. from the built-in profile. For example, to serve only payment reads in SG:
  388. ```yaml
  389. SG:
  390. tools: ["fetch_payment", "fetch_all_payments"]
  391. ```
  392. ## Debugging the Server
  393. You can use the standard Go debugging tools to troubleshoot issues with the server. Log files can be specified using the `--log-file` flag (defaults to ./logs)
  394. ## License
  395. This project is licensed under the terms of the MIT open source license. Please refer to [LICENSE](./LICENSE) for the full terms.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.