---
title: "Get Razorpay Key Configuration"
method: GET
path: "/api/payments/razorpay/config"
tags: ["Razorpay Payments"]
---

# Get Razorpay Key Configuration

`GET /api/payments/razorpay/config`

Return masked Razorpay key configuration for test and live environments.

## Response `200`

Razorpay key configuration

- GetRazorpayConfigResponse
  - `keys` RazorpayKeyConfig[], required
    - `environment` 'test' | 'live', required
    - `keyType` 'api_key' | 'api_secret' | 'webhook_secret', required
    - `hasKey` boolean, required
    - `maskedKey` string, nullable, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/insforge/apis/insforge-authentication-api.md) · [All operations](https://skmtc.net/insforge/apis/insforge-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insforge/insforge-authentication-api/revisions/a935bb49f932/schema)
