Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS User docs
User docsDevelopers
v0.1.0

User docs/Client guide

Invoices and payments

PagePathWhat it is for
Invoices/invoicesInvoices and payments
Quotes/quotesQuotes awaiting your answer
Credit & payment methods/billingCredit, payment methods, gift cards

#Pay an invoice

Invoices (/invoices) lists your invoices. Open one to see the lines, download the PDF (or a UBL e-invoice for accounting software), and choose Pay: you pick one of the payment methods your provider offers (card, PayPal, bank transfer and so on). Some methods send you to the payment provider and back.

#Credit, saved cards and gift cards

Credit & payment methods (/billing):

#If you do not pay

Your provider sends payment reminders before and after the due date. Services of overdue invoices can be suspended, and are unsuspended when the invoice is paid.

MethodPathSummary
PUT/api/v1/client/billing/auto-pay
GET/api/v1/client/billing/payment-methods
POST/api/v1/client/billing/payment-methods
DELETE/api/v1/client/billing/payment-methods/{id}
POST/api/v1/client/billing/payment-methods/{id}/default
GET/api/v1/client/credit
GET/api/v1/client/credit/add-funds
POST/api/v1/client/credit/add-fundsCreate a deposit invoice; once paid (any gateway) the amount is credited.
GET/api/v1/client/invoices
POST/api/v1/client/invoices/mass-payPay several of my unpaid invoices from account credit, oldest due first.
POST/api/v1/client/invoices/mergeClient-side merge (WHMCS "mass payment"): combine own unpaid invoices into
GET/api/v1/client/invoices/{id}
POST/api/v1/client/invoices/{id}/apply-credit
GET/api/v1/client/invoices/{id}/gatewaysGateways usable for this invoice (currency + amount limits). Ids/names only.
POST/api/v1/client/invoices/{id}/payStart paying an invoice with a gateway: redirect (Stripe) or manual
GET/api/v1/client/invoices/{id}/pdf
GET/api/v1/client/invoices/{id}/refunds
GET/api/v1/client/invoices/{id}/ublUBL 2.1 (Peppol BIS 3.0 / CIUS-RO) XML of one of the caller's issued invoices.

Full request and response details: HTTP API.