Payment
File Name : payment.js File Path : /server/routes/payment.js Auth route contains login and logout routes. Also routes can be added which require authentication. These functionalities are included in Auth Controller.
Get
GET
/api/payment/:id
Path Parameters
Create
POST
/api/payment/create
Request Body
Check Payment
POST
/api/payment/check
Request Body
Capture RazorPay Payment
POST
/api/payment/captureRazorPayPayment
Path Parameters
Request Body
Capture Paypal Payment
POST
/api/payment/capturePaypalPayment
Request Body
Update
PUT
/api/payment/update/:id
Path Parameters
Request Body
Delete Particular
DELETE
/api/payment/remove/:id
Path Parameters
Delete All
DELETE
/api/payment/removeAll
Last updated