getInvoices
GET<your-unleash-url>/api/admin/invoices
getInvoices
Responses
- 200
invoicesSchema
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
amountFormattedstringrequired
A formatted representation of the amount due.
Example:
€ 123.00
paidbooleanrequired
true
if the invoice has been paid, false
if it has not.
Example:
true
statusstringrequired
The current status of the invoice
Example:
pending
dueDatestring
When the invoice is due
Example:
2018-11-13
invoiceURLurirequired
A URL pointing to where the invoice can be found.
Example:
https://invoice.url
invoicePDFurirequired
A link to a PDF-version of the invoice.
Example:
https://invoice.url/pdf
[
{
"amountFormatted": "€ 123.00",
"paid": true,
"status": "pending",
"dueDate": "2018-11-13",
"invoiceURL": "https://invoice.url",
"invoicePDF": "https://invoice.url/pdf"
}
]
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/invoices' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear