Wallee Subscription Metric Usage Reports API
The SubscriptionMetricUsageReports API from Wallee — 3 operation(s) for subscriptionmetricusagereports.
The SubscriptionMetricUsageReports API from Wallee — 3 operation(s) for subscriptionmetricusagereports.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wallee:wallee-subscriptionmetricusagereports-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: The Wallee Group AG API allows to create integrations, retrieve data and automate workflows.
title: Wallee Group AG Subscription Metric Usage Reports API
version: '2.0'
servers:
- url: https://app-wallee.com/api/v2.0
security:
- cookieAuth: []
- jwtAuth: []
- macAuth: []
tags:
- externalDocs:
url: https://app-wallee.com/doc/api/web-service#subscription-metric-usage-reports-service
name: SubscriptionMetricUsageReports
paths:
/subscriptions/metric-usage-reports:
get:
externalDocs:
url: https://app-wallee.com/doc/api/web-service#getSubscriptionsMetricUsageReports
operationId: getSubscriptionsMetricUsageReports
parameters:
- description: Set to an object's ID to retrieve the page of objects coming immediately after the named object.
explode: true
in: query
name: after
required: false
schema:
format: int64
minimum: 1
type: integer
style: form
- description: Set to an object's ID to retrieve the page of objects coming immediately before the named object.
explode: true
in: query
name: before
required: false
schema:
format: int64
minimum: 1
type: integer
style: form
- explode: true
in: query
name: expand
required: false
schema:
items:
type: string
type: array
uniqueItems: true
style: form
- description: A limit on the number of objects to be returned, between 1 and 100. Default is 10.
explode: true
in: query
name: limit
required: false
schema:
format: int32
maximum: 100
minimum: 1
type: integer
style: form
- description: Specify to retrieve objects in chronological (ASC) or reverse chronological (DESC) order.
explode: true
in: query
name: order
required: false
schema:
$ref: '#/components/schemas/SortingOrder'
style: form
- description: Specifies the ID of the space the operation should be executed in.
explode: false
in: header
name: space
required: true
schema:
format: int64
type: integer
style: simple
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Metric_Usage_Report_List_Response'
description: Successful response.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request was not accepted often due to missing or invalid parameters.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The necessary authentication credentials are missing or incorrect.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The application user is missing the required permissions.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested resource was not found.
'406':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested response format is not supported.
'415':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request provides unsupported or invalid data.
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request is well-formed but contains semantic errors. Check the response body for details.
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Too many requests hit the API too quickly.
5XX:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: An internal error occurred on the server.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Error response.
summary: List all metric usage reports
tags:
- SubscriptionMetricUsageReports
x-accepts:
- application/json
post:
externalDocs:
url: https://app-wallee.com/doc/api/web-service#postSubscriptionsMetricUsageReports
operationId: postSubscriptionsMetricUsageReports
parameters:
- explode: true
in: query
name: expand
required: false
schema:
items:
type: string
type: array
uniqueItems: true
style: form
- description: Specifies the ID of the space the operation should be executed in.
explode: false
in: header
name: space
required: true
schema:
format: int64
type: integer
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionMetricUsageReport.Create'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionMetricUsageReport'
description: Successful response.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request was not accepted often due to missing or invalid parameters.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The necessary authentication credentials are missing or incorrect.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The application user is missing the required permissions.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested resource was not found.
'406':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested response format is not supported.
'409':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request conflicts with another request often because of to optimistic locking.
'415':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request provides unsupported or invalid data.
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request is well-formed but contains semantic errors. Check the response body for details.
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Too many requests hit the API too quickly.
5XX:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: An internal error occurred on the server.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Error response.
summary: Create a metric usage report
tags:
- SubscriptionMetricUsageReports
x-content-type: application/json
x-accepts:
- application/json
/subscriptions/metric-usage-reports/{id}:
get:
externalDocs:
url: https://app-wallee.com/doc/api/web-service#getSubscriptionsMetricUsageReportsId
operationId: getSubscriptionsMetricUsageReportsId
parameters:
- explode: false
in: path
name: id
required: true
schema:
format: int64
type: integer
style: simple
- explode: true
in: query
name: expand
required: false
schema:
items:
type: string
type: array
uniqueItems: true
style: form
- description: Specifies the ID of the space the operation should be executed in.
explode: false
in: header
name: space
required: true
schema:
format: int64
type: integer
style: simple
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionMetricUsageReport'
description: Successful response.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request was not accepted often due to missing or invalid parameters.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The necessary authentication credentials are missing or incorrect.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The application user is missing the required permissions.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested resource was not found.
'406':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested response format is not supported.
'415':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request provides unsupported or invalid data.
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request is well-formed but contains semantic errors. Check the response body for details.
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Too many requests hit the API too quickly.
5XX:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: An internal error occurred on the server.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Error response.
summary: Retrieve a metric usage report
tags:
- SubscriptionMetricUsageReports
x-accepts:
- application/json
/subscriptions/metric-usage-reports/search:
get:
externalDocs:
url: https://app-wallee.com/doc/api/web-service#getSubscriptionsMetricUsageReportsSearch
operationId: getSubscriptionsMetricUsageReportsSearch
parameters:
- explode: true
in: query
name: expand
required: false
schema:
items:
type: string
type: array
uniqueItems: true
style: form
- description: A limit on the number of objects to be returned, between 1 and 100. Default is 10.
explode: true
in: query
name: limit
required: false
schema:
format: int32
maximum: 100
minimum: 1
type: integer
style: form
- description: A cursor for pagination, specifies the number of objects to skip.
explode: true
in: query
name: offset
required: false
schema:
format: int32
maximum: 10000
type: integer
style: form
- description: The fields and order to sort the objects by.
explode: true
in: query
name: order
required: false
schema:
type: string
style: form
- description: The search query to filter the objects by.
explode: true
in: query
name: query
required: false
schema:
type: string
style: form
- description: Specifies the ID of the space the operation should be executed in.
explode: false
in: header
name: space
required: true
schema:
format: int64
type: integer
style: simple
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Metric_Usage_Report_Search_Response'
description: Successful response.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request was not accepted often due to missing or invalid parameters.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The necessary authentication credentials are missing or incorrect.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The application user is missing the required permissions.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested resource was not found.
'406':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The requested response format is not supported.
'415':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request provides unsupported or invalid data.
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: The request is well-formed but contains semantic errors. Check the response body for details.
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Too many requests hit the API too quickly.
5XX:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: An internal error occurred on the server.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/RestApiErrorResponse'
description: Error response.
summary: Search metric usage reports
tags:
- SubscriptionMetricUsageReports
x-accepts:
- application/json
components:
schemas:
RestApiErrorResponse:
example:
date: 2000-01-23 04:56:07+00:00
code: code
id: id
message: message
errors:
key: errors
externalDocs:
url: https://app-wallee.com/doc/api/web-service#_restapierrorresponse
properties:
date:
description: The date and time when the error occurred.
format: date-time
readOnly: true
title: Date
type: string
code:
description: A brief explanation of the error that can be used to programmatically handle it.
readOnly: true
title: Code
type: string
id:
description: The unique identifier of the error.
readOnly: true
title: Id
type: string
message:
description: A human-readable message providing more details about the error.
readOnly: true
title: Message
type: string
errors:
additionalProperties:
type: string
description: A map of errors where the key represents the error identifier (such as field name or error context) and the value contains the detailed error message.
readOnly: true
title: Errors
type: object
title: Error Response
type: object
x-model-type: READ
SubscriptionMetricUsageReport:
description: The metric usage is the actual usage of a metric for a particular subscription as collected by an external application.
example:
consumedUnits: 0.8008281904610115
createdByUserId: 6
linkedSpaceId: 1
metric: 5
plannedPurgeDate: 2000-01-23 04:56:07+00:00
description: description
externalId: externalId
id: 5
subscription: 2
createdOn: 2000-01-23 04:56:07+00:00
version: 7
externalDocs:
url: https://app-wallee.com/doc/api/web-service#_subscriptionmetricusagereport
properties:
consumedUnits:
description: The number of resources consumed, will be charged in the next billing cycle.
readOnly: true
title: Consumed Units
type: number
createdByUserId:
description: The ID of the user the usage report was created by.
format: int64
readOnly: true
title: Created By User Id
type: integer
linkedSpaceId:
description: The ID of the space this object belongs to.
format: int64
readOnly: true
title: Linked Space ID
type: integer
metric:
description: The metric that the usage report is recorded for.
format: int64
readOnly: true
title: Metric
type: integer
plannedPurgeDate:
description: The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
format: date-time
readOnly: true
title: Planned Purge Date
type: string
description:
description: A description used to identify the usage report.
maxLength: 100
readOnly: true
title: Description
type: string
externalId:
description: A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result.
readOnly: true
title: External ID
type: string
id:
description: A unique identifier for the object.
format: int64
readOnly: true
title: ID
type: integer
subscription:
description: The subscription that the usage report is recorded for.
format: int64
readOnly: true
title: Subscription
type: integer
createdOn:
description: The date and time when the usage report was created.
format: date-time
readOnly: true
title: Created On
type: string
version:
description: The version is used for optimistic locking and incremented whenever the object is updated.
format: int32
readOnly: true
title: Version
type: integer
title: Metric Usage Report
type: object
x-model-type: READ
SortingOrder:
enum:
- ASC
- DESC
externalDocs:
url: https://app-wallee.com/doc/api/web-service#_sortingorder
title: Sorting Order
type: string
x-model-type: ENUM
SubscriptionMetricUsageReport.Create:
description: The metric usage is the actual usage of a metric for a particular subscription as collected by an external application.
externalDocs:
url: https://app-wallee.com/doc/api/web-service#_subscriptionmetricusagereport_create
properties:
consumedUnits:
description: The number of resources consumed, will be charged in the next billing cycle.
title: Consumed Units
type: number
metric:
description: The metric that the usage report is recorded for.
format: int64
title: Metric
type: integer
description:
description: A description used to identify the usage report.
maxLength: 100
title: Description
type: string
externalId:
description: A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result.
title: External ID
type: string
subscription:
description: The subscription that the usage report is recorded for.
format: int64
title: Subscription
type: integer
required:
- consumedUnits
- externalId
- metric
- subscription
title: Metric Usage Report
type: object
x-model-type: CREATE
Metric_Usage_Report_Search_Response:
example:
data:
- consumedUnits: 0.8008281904610115
createdByUserId: 6
linkedSpaceId: 1
metric: 5
plannedPurgeDate: 2000-01-23 04:56:07+00:00
description: description
externalId: externalId
id: 5
subscription: 2
createdOn: 2000-01-23 04:56:07+00:00
version: 7
- consumedUnits: 0.8008281904610115
createdByUserId: 6
linkedSpaceId: 1
metric: 5
plannedPurgeDate: 2000-01-23 04:56:07+00:00
description: description
externalId: externalId
id: 5
subscription: 2
createdOn: 2000-01-23 04:56:07+00:00
version: 7
offset: 0
hasMore: true
limit: 6
externalDocs:
url: https://app-wallee.com/doc/api/web-service#_searchresponse
properties:
data:
description: An array containing the actual response objects.
items:
$ref: '#/components/schemas/SubscriptionMetricUsageReport'
readOnly: true
title: Data
type: array
offset:
description: The number of skipped objects.
format: int32
readOnly: true
title: Offset
type: integer
hasMore:
description: Whether there are more objects available after this set. If false, there are no more objects to retrieve.
readOnly: true
title: Has More
type: boolean
limit:
description: The applied limit on the number of objects returned.
format: int32
readOnly: true
title: Limit
type: integer
title: Metric Usage Report Search Response
type: object
Metric_Usage_Report_List_Response:
example:
data:
- consumedUnits: 0.8008281904610115
createdByUserId: 6
linkedSpaceId: 1
metric: 5
plannedPurgeDate: 2000-01-23 04:56:07+00:00
description: description
externalId: externalId
id: 5
subscription: 2
createdOn: 2000-01-23 04:56:07+00:00
version: 7
- consumedUnits: 0.8008281904610115
createdByUserId: 6
linkedSpaceId: 1
metric: 5
plannedPurgeDate: 2000-01-23 04:56:07+00:00
description: description
externalId: externalId
id: 5
subscription: 2
createdOn: 2000-01-23 04:56:07+00:00
version: 7
hasMore: true
limit: 9
externalDocs:
url: https://app-wallee.com/doc/api/web-service#_listresponse
properties:
data:
description: An array containing the actual response objects.
items:
$ref: '#/components/schemas/SubscriptionMetricUsageReport'
readOnly: true
title: Data
type: array
hasMore:
description: Whether there are more objects available after this set. If false, there are no more objects to retrieve.
readOnly: true
title: Has More
type: boolean
limit:
description: The applied limit on the number of objects returned.
format: int32
readOnly: true
title: Limit
type: integer
title: Metric Usage Report List Response
type: object
securitySchemes:
cookieAuth:
in: cookie
name: session
type: apiKey
jwtAuth:
bearerFormat: JWT
scheme: bearer
type: http
macAuth:
in: header
name: x-mac-value
type: apiKey