{
"orderId": "RANDOMID123",
"amount": {
"value": 100.00,
"currency": "INR"
},
"returnUrl": "https://glaring-version.net/",
"notifyUrl": "https://inconsequential-annual.biz/",
"customerInfo": {
"firstName": "Merlin",
"lastName": "Collins",
"address": {
"streetName": "Jill Zemlak",
"city": "Darioside",
"state": "Minnesota",
"country": "Angola",
"zipcode": "06422"
},
"email": "[email protected]",
"phoneNumber": "9889890909",
"customerIpAddress": "1.204.130.102"
},
"customParameters": {
"customParam1": "value",
"customParam2": "value2"
},
"description": "Order description",
"restrictedPaymentOptions": {
"UPI": null,
"NET_BANKING": [
"NB001"
],
"CREDIT_CARD": [
"MASTERCARD"
]
}
}
curl --location --request POST '/api/v0/orders' \
--header 'merchantAccessKey;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderId": "RANDOMID123",
"amount": {
"value": 100.00,
"currency": "INR"
},
"returnUrl": "https://glaring-version.net/",
"notifyUrl": "https://inconsequential-annual.biz/",
"customerInfo": {
"firstName": "Merlin",
"lastName": "Collins",
"address": {
"streetName": "Jill Zemlak",
"city": "Darioside",
"state": "Minnesota",
"country": "Angola",
"zipcode": "06422"
},
"email": "[email protected]",
"phoneNumber": "9889890909",
"customerIpAddress": "1.204.130.102"
},
"customParameters": {
"customParam1": "value",
"customParam2": "value2"
},
"description": "Order description",
"restrictedPaymentOptions": {
"UPI": null,
"NET_BANKING": [
"NB001"
],
"CREDIT_CARD": [
"MASTERCARD"
]
}
}'
{
"response_code": 0,
"response_message": "string",
"payload": {
"redirectionUrl": "string",
"orderId": "string"
}
}