Curl PHP Node.JS Python Go Response Request - Hindi Response Request - Tamil Response
Copy 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": true,
"first_min_partial_amount": 100,
"reference_id": "#412232",
"description": "Payment for policy no #23456",
"expire_by": 1599193801,
"customer": {
"name": "Gaurav Kumar",
"contact": "+919999999999",
"email": "gaurav.kumar@example.com"
},
"notify": {
"sms": true,
"email": true
},
"reminder_enable": true,
"options": {
"hosted_page": {
"label": {
"receipt": "Ref No.",
"description": "Course Name",
"amount_payable": "Course Fee Payable",
"amount_paid": "Course Fee Paid",
"partial_amount_due": "Fee Installment Due",
"partial_amount_paid": "Fee Installment Paid",
"expire_by": "Pay Before",
"expired_on": "Link Expired. Please contact Admin",
"amount_due": "Course Fee Due"
},
"show_preferences": {
"issued_to": false
}
}
}
}'
Copy $api = new Api($key_id , $secret );
$api ->paymentLink->create(array ('amount' =>500 , 'currency' =>'INR' , 'accept_partial' =>true , 'first_min_partial_amount' =>100 , 'description' => 'For XYZ purpose' , 'customer' => array ('name' =>'Gaurav Kumar' , 'email' => 'gaurav.kumar@example.com' , 'contact' =>'+919999999999' ), 'notify' =>array ('sms' =>true , 'email' =>true ) ,'reminder_enable' =>true , 'options' =>array ('hosted_page' =>array ('label' =>array ('receipt' =>'Ref No.' , 'description' =>'Course Name' , 'amount_payable' =>'Course Fee Payable' , 'amount_paid' =>'Course Fee Paid' , 'partial_amount_due' =>'Fee Installment Due' , 'partial_amount_paid' =>'Fee Installment Paid' , 'expire_by' =>'Pay Before' , 'expired_on' =>'1632223497' ,'amount_due' =>'Course Fee Due' ), 'show_preferences' =>array ('issued_to' =>false )))));
Copy var instance = new Razorpay ({ key_id : 'YOUR_KEY_ID' , key_secret : 'YOUR_SECRET' })
instance.paymentLink .create ({
amount : 1000 ,
currency : "INR" ,
accept_partial : true ,
first_min_partial_amount : 100 ,
reference_id : "#421" ,
description : "Payment for policy no #23456" ,
customer : {
name : "Gaurav Kumar" ,
contact : 919999999999 ,
email : "gaurav.kumar@example.com"
},
notify : {
sms : true ,
email : true
},
reminder_enable : true ,
options : {
checkout : {
partial_payment : {
min_amount_label : "Minimum Money to be paid" ,
partial_amount_label : "Pay in parts" ,
partial_amount_description : "Pay at least тВ╣100" ,
full_amount_label : "Pay the entire amount"
}
}
}
})
Copy import razorpay
client = razorpay.Client(auth=("YOUR_ID" , "YOUR_SECRET" ))
client.payment_link.create({
"amount" : 1000 ,
"currency" : "INR" ,
"accept_partial" : true,
"first_min_partial_amount" : 100 ,
"reference_id" : "#421" ,
"description" : "Payment for policy no #23456" ,
"customer" : {
"name" : "Gaurav Kumar" ,
"contact" : "+919999999999" ,
"email" : "gaurav.kumar@example.com"
},
"notify" : {
"sms" : true,
"email" : true
},
"reminder_enable" : true,
"options" : {
"checkout" : {
"partial_payment" : {
"min_amount_label" : "Minimum Money to be paid" ,
"partial_amount_label" : "Pay in parts" ,
"partial_amount_description" : "Pay at least тВ╣100" ,
"full_amount_label" : "Pay the entire amount"
}
}
}
})
Copy import ( razorpay "github.com/razorpay/razorpay-go" )
client := razorpay.NewClient("YOUR_KEY_ID" , "YOUR_SECRET" )
data := map [string ]interface {}{
"amount" : 1000 ,
"currency" : "INR" ,
"accept_partial" : true ,
"first_min_partial_amount" : 100 ,
"reference_id" : "#412232" ,
"description" : "Payment for policy no #23456" ,
"expire_by" : 1599193801 ,
"customer" : map [string ]interface {}{
"name" : "Gaurav Kumar" ,
"contact" : "+919999999999" ,
"email" : "gaurav.kumar@example.com" ,
},
"notify" : map [string ]interface {}{
"sms" : true ,
"email" : true ,
},
"reminder_enable" : true ,
"options" : map [string ]interface {}{
"hosted_page" : map [string ]interface {}{
"label" : map [string ]interface {}{
"receipt" : "Ref No." ,
"description" : "Course Name" ,
"amount_payable" : "Course Fee Payable" ,
"amount_paid" : "Course Fee Paid" ,
"partial_amount_due" : "Fee Installment Due" ,
"partial_amount_paid" : "Fee Installment Paid" ,
"expire_by" : "Pay Before" ,
"expired_on" : "Link Expired. Please contact Admin" ,
"amount_due" : "Course Fee Due" ,
},
"show_preferences" : map [string ]interface {}{
"issued_to" : false ,
},
},
},
}
Copy {
"accept_partial" : true ,
"amount" : 1000 ,
"amount_paid" : 0 ,
"callback_method" : "" ,
"callback_url" : "" ,
"cancelled_at" : 0 ,
"created_at" : 1596193858 ,
"currency" : "INR" ,
"customer" : {
"contact" : "+919999999999" ,
"email" : "gaurav.kumar@example.com" ,
"name" : "Gaurav Kumar"
} ,
"deleted_at" : 0 ,
"description" : "Payment for policy no #23456" ,
"expire_by" : 1599193801 ,
"expired_at" : 0 ,
"first_min_partial_amount" : 100 ,
"id" : "plink_FL57CoEC2ulpzL" ,
"notes" : null ,
"notify" : {
"email" : true ,
"sms" : true
} ,
"payments" : null ,
"reference_id" : "#412232" ,
"reminder_enable" : true ,
"reminders" : [ ] ,
"short_url" : "https://rzp.io/i/bDsi7WW" ,
"source" : "" ,
"source_id" : "" ,
"status" : "created" ,
"updated_at" : 1596193858 ,
"user_id" : ""
}
Copy 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": true,
"first_min_partial_amount": 100,
"reference_id": "#423",
"description": "Payment for policy no #23456",
"customer": {
"name": "Gaurav Kumar",
"contact": "+919999999999",
"email": "gaurav.kumar@example.com"
},
"notify": {
"sms": true,
"email": true
},
"reminder_enable": true,
#customization parameters start below#
"options":{
"hosted_page":{
"label":{
"receipt":"рд░рд╕реАрдж рд╕рдВрдЦреНрдпрд╛",
"description":"рдХреЛрд░реНрд╕ рдХрд╛ рдирд╛рдо",
"amount_payable":"рд╢реБрд▓реНрдХ рднреБрдЧрддрд╛рди",
"amount_paid":"рд╢реБрд▓реНрдХ рдЬрдорд╛ ",
"partial_amount_due":"рдмрд╛рдХреА рд╢реБрд▓реНрдХ рдХрд┐рд╕реНрдд",
"partial_amount_paid":"рд╢реБрд▓реНрдХ рдХрд┐рд╕реНрдд рдЬрдорд╛",
"expire_by":"рд╢реБрд▓реНрдХ рдкреЗрдореЗрдВрдЯ рд▓рд╛рд╕реНрдЯ рдбреЗрдЯ",
"expired_on":"рд▓рд┐рдВрдХ рдХреА рд╕рдордп рд╕реАрдорд╛ рд╕рдорд╛рдкреНрдд рд╣реЛ рдЧрдИ рд╣реИред рдХреГрдкрдпрд╛ рд╡реНрдпрд╡рд╕реНрдерд╛рдкрдХ рд╕реЗ рд╕рдВрдкрд░реНрдХ рдХрд░реЗрдВ",
"amount_due": "рдмрд╛рдХреА рд╢реБрд▓реНрдХ "
},
"show_preferences":{
"issued_to":false
}
}
}
}'
Copy {
"accept_partial" : true ,
"amount" : 1000 ,
"amount_paid" : 0 ,
"callback_method" : "" ,
"callback_url" : "" ,
"cancelled_at" : 0 ,
"created_at" : 1596194360 ,
"currency" : "INR" ,
"customer" : {
"contact" : "+919999999999" ,
"email" : "gaurav.kumar@example.com" ,
"name" : "Gaurav Kumar"
} ,
"deleted_at" : 0 ,
"description" : "Payment for policy no #23456" ,
"expire_by" : 0 ,
"expired_at" : 0 ,
"first_min_partial_amount" : 100 ,
"id" : "plink_FL5G34lcugzx8Y" ,
"notes" : null ,
"notify" : {
"email" : true ,
"sms" : true
} ,
"payments" : null ,
"reference_id" : "#423" ,
"reminder_enable" : true ,
"reminders" : [ ] ,
"short_url" : "https://rzp.io/i/1bQHDFz" ,
"source" : "" ,
"source_id" : "" ,
"status" : "created" ,
"updated_at" : 1596194360 ,
"user_id" : ""
}
Copy 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": true,
"first_min_partial_amount": 100,
"reference_id": "#424",
"description": "Payment for policy no #23456",
"customer": {
"name": "Gaurav Kumar",
"contact": "+919999999999",
"email": "gaurav.kumar@example.com"
},
"notify": {
"sms": true,
"email": true
},
"reminder_enable": true,
#customization parameters start below#
"options":{
"hosted_page":{
"label":{
"receipt":"ро░роЪрпАродрпБ роОрогрпН",
"description":"роХроЯройрпН ро╡роХрпИ",
"amount_payable":"роЪрпЖро▓рпБродрпНрод ро╡рпЗрогрпНроЯро┐роп роХроЯройрпН родро╡рогрпИродрпН родрпКроХрпИ",
"amount_paid":"роЪрпЖро▓рпБродрпНродрокрпНрокроЯрпНроЯ роХроЯройрпН родро╡рогрпИродрпН родрпКроХрпИ",
"expire_by":"роХроЯрпИроЪро┐ родрпЗродро┐",
"expired_on":"роЗрогрпИрокрпНрокрпБ роХро╛ро▓ро╛ро╡родро┐ропро╛ройродрпБ. роиро┐ро░рпНро╡ро╛роХро┐ропрпИродрпН родрпКроЯро░рпНрокрпБ роХрпКро│рпНро│ро╡рпБроорпН",
"amount_due": "роорпАродроорпБро│рпНро│ роХроЯройрпН родро╡рогрпИродрпН родрпКроХрпИ"
},
"show_preferences":{
"issued_to":false
}
}
}
}'
Copy {
"accept_partial" : true ,
"amount" : 1000 ,
"amount_paid" : 0 ,
"callback_method" : "" ,
"callback_url" : "" ,
"cancelled_at" : 0 ,
"created_at" : 1596194425 ,
"currency" : "INR" ,
"customer" : {
"contact" : "+919999999999" ,
"email" : "gaurav.kumar@example.com" ,
"name" : "Gaurav Kumar"
} ,
"deleted_at" : 0 ,
"description" : "Payment for policy no #23456" ,
"expire_by" : 0 ,
"expired_at" : 0 ,
"first_min_partial_amount" : 100 ,
"id" : "plink_FL5HCrWEO112OW" ,
"notes" : null ,
"notify" : {
"email" : true ,
"sms" : true
} ,
"payments" : null ,
"reference_id" : "#424" ,
"reminder_enable" : true ,
"reminders" : [ ] ,
"short_url" : "https://rzp.io/i/O8CYyZ2" ,
"source" : "" ,
"source_id" : "" ,
"status" : "created" ,
"updated_at" : 1596194426 ,
"user_id" : ""
}