Console API
  1. Bill
Console API
  • User
    • User Info
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
  • Images
    • Get images
      GET
  • Flavors
    • Get flavors
      GET
  • Storage Policy
    • List
      GET
  • Instances
    • List
      GET
    • Detail
      GET
    • Security Group
      GET
    • Create instance
      POST
    • Power off
      POST
    • Reboot
      POST
    • Power on
      POST
    • Terminate
      POST
    • Resize
      POST
    • Lock Termination
      POST
    • Rename
      POST
    • Manage tag
      POST
  • Subnet
    • List
    • Create
    • Rename
    • Delete
    • Manage tags
  • Security group
    • Security Group List
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
    • Get all user groups
    • Create user group
    • Update user group
    • Get roles
    • Get user vpcs
  • Billing
    • Bill
      • Get bills by date
        GET
      • Get Bills by paging
        POST
      • Bill Info
        GET
      • Bill service types
        GET
  • Project
    • Get projects
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  1. Bill

Get bills by date

Deprecated
GET
https://console-api.fptcloud.com/api/v1/billing/bills

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
search_date
string 
optional
Example:
2024-09-04
Header Params
Content-Type
string 
optional
Example:
application/json
Authorization
string 
optional
Example:
Bearer {access token}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://console-api.fptcloud.com/api/v1/billing/bills?search_date=2024-09-04' \
--header 'Authorization: Bearer {access token}' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body
status
integer 
required
message
string 
required
date
string 
required
= search_date (Default: current date)
data
array [object {23}] 
required
org_name
string  | null 
optional
tenant_name
string  | null 
optional
vpc_name
string  | null 
optional
pool_name
string  | null 
optional
day
string 
required
start_time
string 
required
service
string 
required
name
string 
required
attach_vm
string  | null 
optional
storage_policy
string  | null 
optional
machine
string  | null 
optional
disk
number <float> | null 
optional
disk_total
number <float> | null 
optional
vcpu
number <float> | null 
optional
vcpu_total
number <float> | null 
optional
ram
number <float> | null 
optional
ram_total
number <float> | null 
optional
running_time
number <float> | null 
optional
total_price
number <float>
required
disk_quantity
number <float> | null 
optional
cpu_quantity
number <float> | null 
optional
ram_quantity
number <float> | null 
optional
tag
string  | null 
optional
Example
{
    "status": 0,
    "message": "string",
    "date": "string",
    "data": [
        {
            "org_name": "string",
            "tenant_name": "string",
            "vpc_name": "string",
            "pool_name": "string",
            "day": "string",
            "start_time": "string",
            "service": "string",
            "name": "string",
            "attach_vm": "string",
            "storage_policy": "string",
            "machine": "string",
            "disk": 0,
            "disk_total": 0,
            "vcpu": 0,
            "vcpu_total": 0,
            "ram": 0,
            "ram_total": 0,
            "running_time": 0,
            "total_price": 0,
            "disk_quantity": 0,
            "cpu_quantity": 0,
            "ram_quantity": 0,
            "tag": "string"
        }
    ]
}
Modified at 2025-03-06 01:57:23
Previous
Get user vpcs
Next
Get Bills by paging
Built with