Przejdź do nawigacji

Get Reseller Invoice

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

Parametry ścieżki

invoice_idstringWymagany

Nagłówki

xi-api-keystringOpcjonalny

Odpowiedź

Pomyślna odpowiedź

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.

Dozwolone wartości:
amount_centsinteger
Invoice total, in the currency's minor unit.
currencystring
created_unixinteger
lineslist of objects
paid_unixinteger or nullOpcjonalny
pay_urlstring or nullOpcjonalny
Stripe's hosted payment page, only while open.
pdf_urlstring or nullOpcjonalny

Błędy

422
Unprocessable Entity Error