- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
Create Order
POST
/api/v0/orders
order-controller
Request
Header Params
merchantAccessKey
string
required
Authorization
string
required
Body Params application/json
orderId
string
required
amount
object (Amount)
required
value
number
required
>= 0.01
currency
enum<string>
required
Allowed value:
INR
returnUrl
string
optional
notifyUrl
string
optional
customerInfo
object (CustomerDetail)
optional
firstName
string
optional
lastName
string
optional
address
object (Address)
optional
email
string
optional
phoneNumber
string
optional
customParameters
object
optional
Additional properties
string
optional
description
string
optional
paymentDetail
object (OrderPaymentDetail)
required
accountNumber
string
optional
>= 9 characters<= 36 characters
ifsc
string
optional
>= 11 characters<= 11 characters
Example:
KKBK0000432
Match pattern:
^[A-Z]{4}0[A-Z0-9]{6}$
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v0/orders' \
--header 'merchantAccessKey;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
response_code
integer <int32>
optional
response_message
string
optional
payload
object (OrderCreateResponse)
optional
redirectionUrl
string
optional
orderId
string
optional
Example
{
"response_code": 0,
"response_message": "string",
"payload": {
"redirectionUrl": "string",
"orderId": "string"
}
}
Modified at 2025-03-28 04:10:13