Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Insforge Razorpay Payments API

Razorpay Orders, Subscriptions, catalog, manual webhook setup, sync, customer, and transaction routes

Insforge Razorpay Payments API is one of 11 APIs that Insforge publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Razorpay Payments. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 22 operations across 20 paths, and defines 53 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against the base URL https://api.insforge.dev.

22 operations 20 paths 53 schemas 1 DELETE7 GET1 PATCH12 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.insforge.dev
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Insforge Razorpay Payments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth).

Paths & Operations 22

Across 20 paths, the API surfaces 22 operations — 1 DELETE, 7 GET, 1 PATCH, 12 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Razorpay Payments 22

Razorpay Orders, Subscriptions, catalog, manual webhook setup, sync, customer, and transaction routes

GET
/api/payments/razorpay/status
Get Razorpay Payments Status
→ 200401403
GET
/api/payments/razorpay/config
Get Razorpay Key Configuration
→ 200401403
POST
/api/payments/razorpay/sync
Sync Razorpay Payments State
→ 200400401403
PUT
/api/payments/razorpay/{environment}/config
Configure Razorpay Keys
1 param body → 200400401403
DELETE
/api/payments/razorpay/{environment}/config
Remove Razorpay Keys
1 param → 200400401403404
POST
/api/payments/razorpay/{environment}/sync
Sync Razorpay Payments State For One Environment
1 param → 200400401403
GET
/api/payments/razorpay/{environment}/webhook
Get Razorpay Webhook Setup Values
1 param → 200400401403
POST
/api/payments/razorpay/{environment}/webhook/rotate-secret
Rotate Razorpay Webhook Secret
1 param → 200400401403
POST
/api/payments/razorpay/{environment}/orders
Create Razorpay Order
1 param body → 201400401403500
POST
/api/payments/razorpay/{environment}/orders/verify
Verify Razorpay Order Payment
1 param body → 200400401403404
GET
/api/payments/razorpay/{environment}/catalog
List Razorpay Payment Catalog
1 param → 200400401403
POST
/api/payments/razorpay/{environment}/catalog/items
Create Razorpay Item
1 param body → 201400401403
PATCH
/api/payments/razorpay/{environment}/catalog/items/{itemId}
Update Razorpay Item
2 params body → 200400401403404
POST
/api/payments/razorpay/{environment}/catalog/plans
Create Razorpay Plan
1 param body → 201400401403
POST
/api/payments/razorpay/{environment}/subscriptions
Create Razorpay Subscription
1 param body → 201400401403500
GET
/api/payments/razorpay/{environment}/subscriptions
List Razorpay Subscriptions
4 params → 200400401403
POST
/api/payments/razorpay/{environment}/subscriptions/verify
Verify Razorpay Subscription Authorization
1 param body → 200400401403404
POST
/api/payments/razorpay/{environment}/subscriptions/{subscriptionId}/cancel
Cancel Razorpay Subscription
2 params body → 200400401403404
POST
/api/payments/razorpay/{environment}/subscriptions/{subscriptionId}/pause
Pause Razorpay Subscription
2 params body → 200400401403404
POST
/api/payments/razorpay/{environment}/subscriptions/{subscriptionId}/resume
Resume Razorpay Subscription
2 params body → 200400401403404
GET
/api/payments/razorpay/{environment}/customers
List Razorpay Customers
2 params → 200400401403
GET
/api/payments/razorpay/{environment}/transactions
List Razorpay Transactions
4 params → 200400401403

Schemas 53

The contract defines 53 schemas that model the data the API accepts and returns. The most detailed are RazorpaySubscription (29 properties), RazorpayOrder (21 properties), PaymentTransaction (20 properties), CreateRazorpaySubscriptionBody (15 properties). Each schema is shown below with its type and property counts.

UpsertRazorpayConfigBody
object
3 properties 2 required
RazorpayLatestSyncStatus
string
PaymentProvider
string
ListPaymentCustomersResponse
object
1 property 1 required
UpdateRazorpayItemBody
object
5 properties
PaymentTransaction
object
20 properties 20 required
CreateRazorpaySubscriptionResponse
object
2 properties 2 required
GetRazorpayStatusResponse
object
1 property 1 required
PauseRazorpaySubscriptionResponse
object
1 property 1 required
CancelRazorpaySubscriptionResponse
object
1 property 1 required
RazorpayItem
object
11 properties 11 required
SyncRazorpayPaymentsEnvironmentResult
object
5 properties 5 required
CreateRazorpayOrderResponse
object
2 properties 2 required
CreateRazorpayOrderBody
object
Notes keys starting with insforge are reserved and rejected.
10 properties 2 required
PaymentTransactionStatus
string
RazorpayConnection
object
13 properties 13 required
PaymentEnvironment
string
ResumeRazorpaySubscriptionBody
object
RazorpayCheckoutPrefill
object
3 properties
ListPaymentTransactionsResponse
object
1 property 1 required
PaymentCustomerListItem
RazorpaySyncCounts
object
6 properties 6 required
VerifyRazorpaySubscriptionBody
object
3 properties 3 required
GetRazorpayConfigResponse
object
1 property 1 required
CreateRazorpayItemBody
object
4 properties 3 required
RazorpayPlan
object
12 properties 12 required
RazorpayEnvironment
VerifyRazorpaySubscriptionResponse
object
2 properties 2 required
CreateRazorpayPlanBody
object
Notes keys starting with insforge are reserved and rejected.
4 properties 3 required
PaymentTransactionType
string
RazorpayOrderStatus
string
PauseRazorpaySubscriptionBody
object
CreateRazorpaySubscriptionBody
object
Notes keys starting with insforge are reserved and rejected. Either totalCount or endAt is required.
15 properties 2 required
ListRazorpaySubscriptionsResponse
object
1 property 1 required
MutateRazorpayPlanResponse
object
1 property 1 required
BillingSubject
object
2 properties 2 required
SyncRazorpayPaymentsResponse
object
1 property 1 required
ListRazorpayCatalogResponse
object
2 properties 2 required
ResumeRazorpaySubscriptionResponse
object
1 property 1 required
GetRazorpayWebhookSetupResponse
object
3 properties 3 required
RotateRazorpayWebhookSecretResponse
ErrorResponse
object
4 properties 3 required
PaymentCustomer
object
10 properties 10 required
RazorpayConnectionStatus
string
VerifyRazorpayOrderBody
object
3 properties 3 required
RazorpaySubscriptionStatus
string
RazorpayOrder
object
21 properties 21 required
MutateRazorpayItemResponse
object
1 property 1 required
VerifyRazorpayOrderResponse
object
2 properties 2 required
RazorpaySubscription
object
29 properties 29 required
Metadata
object
RazorpayKeyConfig
object
4 properties 4 required
CancelRazorpaySubscriptionBody
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

insforge-razorpay-payments-api-openapi.yml Raw ↑

Other APIs Insforge publishes across the network.

Insforge Admin API
Insforge Channels API
Insforge Client API
Insforge Configuration API
Insforge Messages API
Insforge Payment Webhooks API
Insforge Permissions API
Insforge S3 Access Keys API
Insforge S3 Protocol API
Insforge Stripe Payments API