Description

Show your payment history.

Request URL

billing API v1

GET /v1/{tenant_id}/payment-history

Request Paramters

Parameter Value Style Description
X-Auth-Token User Token header
tenant_id Tenant ID URI

Example

curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://account.tyo1.cloud.z.com/v1/487727e3921d44e3bfe7ebb337bf085e/payment-history
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"
    }
  ]
}