Skip to main content
POST
Create Razorpay Order

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environment
enum<string>
required

Payment provider environment.

Available options:
test,
live

Body

application/json

Notes keys starting with insforge_ are reserved and rejected.

amount
integer
required
Required range: x >= 1
Example:

50000

currency
string
required
Required string length: 3
Example:

"INR"

receipt
string | null
Required string length: 1 - 40
description
string | null
Maximum string length: 2048
subject
object
customerName
string | null
Required string length: 1 - 255
customerEmail
string<email> | null
customerContact
string | null
Required string length: 1 - 32
callbackUrl
string<uri> | null
notes
object

Native Razorpay notes. Use stable app identifiers such as order_id for webhook fulfillment triggers.

Response

Razorpay Order created

order
object
required
checkoutOptions
object
required