Authorizations
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Response
A successful response.
curl --request GET \
--url https://rest.compute.cudo.org/v1/billing-accounts/invoices/outstanding \
--header 'Authorization: <api-key>'{
"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 all outstanding invoices across billing accounts that the current user has access to.
curl --request GET \
--url https://rest.compute.cudo.org/v1/billing-accounts/invoices/outstanding \
--header 'Authorization: <api-key>'{
"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>"
}
]
}Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
Was this page helpful?