MENU
請求データ一覧取得 - Account(Billing) API v1
Description
課金アイテムへの請求データ一覧を取得します。
Request URL
billing API v1 GET /v1/{tenant_id}/billing-invoices
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | Tenant ID | URI | テナントID |
offset(Optional) | 取得開始位置 | query | Default:0 |
limit(Optional) | 取得数 | query | Default:1000 |
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://account.tyo1.conoha.io/v1/487727e3921d44e3bfe7ebb337bf085e/billing-invoices?limit=3
- RES
HTTP/1.1 200 OK Server: openresty/1.7.10.1 Date: Fri, 08 May 2015 12:52:02 GMT Content-Type: application/json Content-Length: 230 Connection: keep-alive { "billing_invoices": [ { "invoice_id": 00001, "payment_method_type": "Charge", "invoice_date": "2014-08-01T00:00:00", "bill_plas_tax": 500, "due_date": "2014-08-01T00:00:00" }, { "invoice_id": 00002, "payment_method_type": "Charge", "invoice_date": "2014-07-01T00:00:00", "bill_plas_tax": 500, "due_date": "2014-07-01T00:00:00" }, { "invoice_id": 00003, "payment_method_type": "Charge", "invoice_date": "2014-06-01T00:00:00", "bill_plas_tax": 500, "due_date": "2014-06-01T00:00:00" } ] } }