Naar navigatie springen

Get Reseller Invoice

Get one invoice charged to the reseller's card, broken down into the workspace invoice's lines

Padparameters

invoice_idstringVerplicht

Headers

xi-api-keystringOptioneel

Response

Geslaagde response
invoice_idstring
workspace_idstring or null
The workspace this charge paid for.
workspace_namestring
statusenum

open while the card is still being retried; void once retries ran out and the workspace’s plan was ended.

Toegestane waarden:
amount_centsinteger
Invoice total, in the currency's minor unit.
currencystring
created_unixinteger
lineslist of objects
paid_unixinteger or nullOptioneel
pay_urlstring or nullOptioneel
Stripe's hosted payment page, only while open.
pdf_urlstring or nullOptioneel

Fouten

422
Unprocessable Entity Error