ConoHa API Documantation

入金履歴取得 - Account(Billing) API v1

Description

入金履歴を取得します。

Request URL

billing API v1

GET /v1/{tenant_id}/payment-history

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
tenant_id Tenant ID URI テナントID

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://account.tyo1.conoha.io/v1/487727e3921d44e3bfe7ebb337bf085e/payment-history
  • RES
HTTP/1.1 200 OK
Date: Wed, 24 Dec 2014 04:34:52 GMT
Server: Apache
Content-Length: 6263
Content-Type: application/json

{
  "payment_history": [
    {
      "money_type": "Paypal",
      "deposit_amount": 100,
      "received_date": "2014-05-18T12:05:42"
    },
    {
      "money_type": "Paypal",
      "deposit_amount": 100,
      "received_date": "2014-06-08T18:20:00"
    },
    {
      "money_type": "CreditCard",
      "deposit_amount": 100,
      "received_date": "2014-06-20T17:23:43"
    },
    {
      "money_type": "CreditCard",
      "deposit_amount": 100,
      "received_date": "2014-06-22T00:00:00"
    }
  ]
}