Goal: to provide customers access to basic data about their spend with a vendor in a simple, standardized format.
Would be authenticated by oAuth2/ API token.
- /api/invoices # Index of all historic invoices
- /api/invoices/upcoming.json # Pending/current period invoice
- /api/invoices/:id.json
- /api/invoices/:year/:month.json
- Would describe number of seats, plan, sub totals, taxes, etc.
- Would describe usage, rate, etc.