Create Order
POST
/api/v0/ordersUtilize this API to generate orders with Olympus from your backend. This allows you to initiate transactions and collect payments seamlessly
Request
A unique identifier for the order in your system. Accepts alphanumeric characters only.
This specifies the amount for the order, allowing up to two decimal places. For example, 20.15 would represent Rs 20 and 15 paisa.
The URL to which the customer will be redirected after completing the payment.
The URL where notifications regarding the order will be sent.
Information about the customer associated with the order. It typically includes details such as first name, last name, address, email, and phone number.
The first name of the customer. Accepts alphabetic characters.
The last name of the customer. Accepts alphabetic characters.
The address of the customer. Accepts alphanumeric characters and special symbols.
The email address of the customer. Must be in a valid email format.
The phone number of the customer. Please exclude +91 ISD code.
Additional custom parameters or metadata associated with the order, if any. These will be key value pairs.
Payment related informatoon
Required for UPI TPV flow for non seamless integration
Required for UPI TPV flow for non seamless integration
{
"orderId": "string",
"amount": {
"value": 0.01,
"currency": "INR"
},
"returnUrl": "string",
"notifyUrl": "string",
"customerInfo": {
"firstName": "string",
"lastName": "string",
"address": {
"streetName": "string",
"city": "string",
"state": "string",
"country": "string",
"zipcode": "string"
},
"email": "string",
"phoneNumber": "string"
},
"customParameters": {
"property1": "string",
"property2": "string"
},
"description": "string",
"paymentDetail": {
"accountNumber": "stringstr",
"ifsc": "KKBK0000432"
}
}