Routes - Payment
File Name: payment.js
File Path: /server/routes/payment.js
Contains route which create, update, view and delete the appConfig details.
Add Card Route
- API Path: api/payment/addCard
- Method: POST
- Description: This route is use to add the card details from mobileApp(RiderApp) and save the response received from stripe server to the database.
- Http Code: 200
- Name: returnObj
- Type: Object