Frontend | Backend | Api

Invoices routes (Backend)

Name Request Response variables Description
addPaymentMethod

GET /cdna-admin/invoices/add-payment-method/{type}

type [a-zA-Z]+
Add a new record. Assigns an empty record to the template.
editPaymentMethod

GET /cdna-admin/invoices/payment-method/{id}

id \d+
Retrieve a single record and display the edit page for the record
managePaymentMethods

GET /cdna-admin/invoices/payment-methods

Retrieve available records and assign them to the template for editing.