ナビゲーションにスキップ

リセラーの請求書を取得

リセラーのカードに請求された1件の請求書を、ワークスペースの請求明細ごとに取得します

パスパラメータ

invoice_idstring必須

請求書のID。GET /v1/reception/reseller/billing/invoicesで一覧を取得できます。

ヘッダー

xi-api-keystringオプション

レスポンス

成功レスポンス。

invoice_idstring
workspace_idstring or null

この請求の支払い対象となったワークスペース。

workspace_namestring
statusenum

カードの再試行中はopen、再試行回数を使い切り、ワークスペースのプランが終了するとvoidになります。

許可された値:
amount_centsinteger

通貨の補助単位で表した請求書の合計額。

currencystring
created_unixinteger
lineslist of objects
paid_unixinteger or nullオプション
pay_urlstring or nullオプション

Stripeがホストする決済ページ。開いている間のみ利用できます。

pdf_urlstring or nullオプション

エラー

422
Unprocessable Entity Error