curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/payment_links/ \
-H 'Content-type: application/json' \
-d '{
"amount": 1000,
"currency": "INR",
"accept_partial": false,
"expire_by": 1691097057,
"reference_id": "TS1989",
"description": "Shipping charge for Order #23456",
"customer": {
"name": "John Smith",
"contact": "+919999999999",
"email": "john.smith@example.com"
},
"notify": {
"sms": true,
"email": true
},
"reminder_enable": true,
"notes": {
"purpose": "Shipping"
},
"callback_url": "https://payment-automation-service-surendramuddu.replit.app/shipping-success",
"callback_method": "get"
}'