Create Orders

Use this API to create orders.

Click to view the detailed response parameters and response codes.

Response Parameters

Parameter

Description

status

Status of API call. Values are OK and ERROR.

paymentLink

Link of payment page for that order. Returned when the status is OK.

reason

Reason for failure when the status is an ERROR.

Response Codes

Sub Code

Status

Message

200

OK

Please provide a valid appId

200

OK

Please provide a valid secretKey

200

OK

Please provide a valid orderId

200

OK

Order amount is not valid

200

OK

Please provide a valid customer email

200

OK

Please provide a valid customer phone number

200

OK

Order with same id is already present

Currencies

Use the currency code values available here for the orderCurrency variable in the parameters for order creation. Only INR is available by default. Contact [email protected] to enable new currencies.

📘

Videos - Create Orders using Java and Python

Click here to watch the video on how to create orders using Java code.

Click here to watch the video on how to create orders using Python code.

 

Language