cURL
curl --request GET \ --url https://rest.compute.cudo.org/v1/invoices \ --header 'Authorization: <api-key>'
{ "hasMore": true, "invoices": [ { "amountDue": "<string>", "amountPaid": "<string>", "amountRemaining": "<string>", "autoAdvance": true, "billingReason": "<string>", "created": "<string>", "currency": "<string>", "description": "<string>", "dueDate": "<string>", "hostedInvoiceUrl": "<string>", "id": "<string>", "number": "<string>", "paidDate": "<string>", "periodEnd": "<string>", "periodStart": "<string>", "status": "<string>", "subtotal": "<string>", "subtotalExcludingTax": "<string>", "tax": "<string>", "total": "<string>", "totalExcludingTax": "<string>" } ] }
Lists invoices for a billing account.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
Was this page helpful?