account

Get monthly billing summary

Returns a billing summary for the specified month. The API user must have permission to read billing details. This endpoint is deprecated; use the monthly billing summary with resource details instead.

get/1.3/account/billing_summary/{year}-{month}

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/account/billing_summary/{year}-{month}
  • Auth: HTTP bearer

Path parameters

yearstring required

Billing year.

monthstring required

Billing month.

Response

Monthly billing summary.

Example response

{
  "billing": {
    "currency": "EUR",
    "networks": {
      "bandwidth": {
        "total_amount": 52.136
      },
      "total_amount": 52.136
    },
    "managed_databases": {
      "managed_database": {
        "total_amount": 80.13127
      },
      "total_amount": 80.13127
    },
    "managed_object_storages": {
      "managed_object_storage": {
        "total_amount": 2.2253
      },
      "total_amount": 2.2253
    },
    "servers": {
      "server": {
        "total_amount": 28.05132
      },
      "total_amount": 28.05132
    },
    "storages": {
      "storage": {
        "total_amount": 3.6224
      },
      "total_amount": 3.6224
    },
    "total_amount": 166.16629
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.