{"requestid":"{{request_id}}","api_key":"f68db941819657a1434b9bce0cd9811e","api_secret":"cabfc6c85d2c1ec57905d6f230784ca8","amount":"100.00","partial_pay":"YES","payment_description":"Payment Descripiton","payment_email":"","payment_mobile":"9865327410","reference_no":"Q20240913151563LKOP","expire_date":"2024-09-30","webhook_url":"http://localhost.com/testPaymentLinkWebhook/","send_reminder":"YES","reminder_details":{// (Mandatory if Reminder status is 'YES')"reminder_notes":"",// (Optional)"reminder_interval":"30",// In minutes"reminder_on":"MOBILE",// "EMAIL","MOBILE""customer_email":"test@test.com",// (Mandatory if reminder_on is 'EMAIL')"customer_mobile":"9865327410"// (Mandatory if reminder_on is 'MOBILE')}}
Request Code 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 'https://uat.nandishatech.com/WS/v1/Payin/Action/generateMerchantPaymentLink' \
--header'Content-Type: application/json' \
--data-raw'{
"requestid": "{{request_id}}",
"api_key": "f68db941819657a1434b9bce0cd9811e",
"api_secret": "cabfc6c85d2c1ec57905d6f230784ca8",
"amount": "100.00",
"partial_pay": "YES",
"payment_description": "Payment Descripiton",
"payment_email": "",
"payment_mobile": "9865327410",
"reference_no": "Q20240913151563LKOP",
"expire_date": "2024-09-30",
"webhook_url": "http://localhost.com/testPaymentLinkWebhook/",
"send_reminder": "YES",
"reminder_details": { // (Mandatory if Reminder status is '\''YES'\'')
"reminder_notes": "", // (Optional)
"reminder_interval": "30", // In minutes
"reminder_on": "MOBILE", // "EMAIL","MOBILE"
"customer_email": "test@test.com", // (Mandatory if reminder_on is '\''EMAIL'\'')
"customer_mobile": "9865327410" // (Mandatory if reminder_on is '\''MOBILE'\'')
}
}'
Responses
🟢200Generate Merchant Payment Link
application/json
Body
Example
{"Resp_code":"RCS","Resp_desc":"Payment link generated successfully!!","requestid":"722370c76be4471181d2c","data":{"payment_url":"https://paym.letspe.com/paymentLink/DVzjtA%2Fyi2Rre1Z1dPVevjSIcaIfJSTgWXqE697F5LIRGISh4e6bPjT2hv4%2ByJYjDl0Jyokh70PNTZKW4ryH0KmFxhoCYQyb9jnjK2wNCsk%3D","link_created_on":"2024-09-20 14:50:36"}}