xxZeus

sample recurring request razorpay

Jul 18th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. axios.post(`https://${process.env.RAZORPAY_CLIENT_KEY}:${process.env.RAZORPAY_CLIENT_SECRET}@api.razorpay.com/v1/payments/create/recurring`, {
  2.       email: 'sms@gmail.com',
  3.       "contact": "+917045591602",
  4.       "amount": 100,
  5.       "currency": "INR",
  6.       "order_id": "order_FFzFypmlo89vIB",
  7.       "customer_id": "cust_F4619k4E2qhi3P",
  8.       "token": "token_F462XCM3u2oLOq",
  9.       "recurring": "1"
  10. });
Add Comment
Please, Sign In to add comment