Retrieve Bills for an Account ID
Changed onRetrieve all Bills for the given Account.
This endpoint retrieves all Bills associated with a specific Account ID in a specified organization. The list can also be paginated for easier management.
This is useful for obtaining an overview of all billing activities for an Account.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
The unique identifier (UUID) of the Account for which you want to retrieve Bills.
Query parameters
Specifies the maximum number of Bills to retrieve per page.
The nextToken for multi-page retrievals. It is used to fetch the next page of Bills in a paginated list.
Comma separated list of additional fields.
Response
Returns list of Bills for the requested account
Example response
{
"data": [
{
"timezone": "UTC",
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
]
}
]
}Changes
- breaking
the
//////response's property type changed from no type toobjectfor status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- warning
added the new
AD_HOCenum value to the////response property for the response status - info
added the optional property
//to the response with the status
- warning