Create Order API
Click to copy
Use this endpoint to generate a new payment order. After the order is created, you'll receive a redirect URL for checkout.
Request Parameters
Payment amount (amount should be 1 or above).
Unique transaction identifier generated by the merchant.
Order identifier created for the Authentication API.
Payment mode selected by the customer (all, cc, dc, upi, nb).
Merchant identifier registered with InsitiFi.
Description of the product or transaction.
Full name of the customer.
Mobile number of the customer.
Email address of the customer.
URL where the customer will be redirected after payment completion.
Currency code used for the transaction (e.g., INR).
Response Parameters
API response status code indicating success or failure.
Textual message corresponding to the response status.
Redirect URL returned after order creation, to be used for checkout flow.
1curl -X POST https://api.instifi.com/api/v1/Instify/CreateOrder \
2-H "Content-Type: application/json" \
3-H "ACCESS-TOKEN: [YOUR_ACCESS_TOKEN]" \
4-d '{
5 "amount": "166",
6 "merchantTxnId": "Txn2024051224",
7 "orderId": "Order2024817",
8 "payMode": "cc",
9 "merchantId": "MerchantID",
10 "productInfo": "Testing",
11 "customerName": "[CUSTOMER_NAME]",
12 "customerMobile": "[CUSTOMER_MOBILE]",
13 "customerEmail": "[[email protected]]",
14 "redirectionURL": "https://redirectionURL.com",
15 "currencyCode": "INR"
16}'1{
2 "responseCode": "200",
3 "responseMessage": "Success",
4 "data": {
5 "url": "https://uat.ins.com?instifi=T29qNWR2NUJGYWcwODNr..."
6 }
7}