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

  1. API Path: api/payment/addCard
  2. Method: POST
  3. Description: This route is use to add the card details from mobileApp(RiderApp) and save the response received from stripe server to the database.
  4. Response:
    • Http Code: 200
    • Name: returnObj
    • Type: Object

results matching ""

    No results matching ""