Revolut · Schema
Subscription-Usage
CompanyFintechPaymentsBankingOpen BankingMerchant AcquiringCryptocurrencyCardsConsumer Banking
Properties
| Name | Type | Description |
|---|---|---|
| id | object | |
| subscription_id | object | |
| subscription_cycle_id | object | |
| subscription_item_code | object | |
| usage_date | object | |
| quantity | object | |
| metadata | object | |
| created_at | object | |
| updated_at | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-subscription-usage-schema.json",
"title": "Subscription-Usage",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/revolut-subscriptions-api-openapi.yml#/components/schemas/Subscription-Usage",
"type": "object",
"required": [
"id",
"subscription_id",
"subscription_cycle_id",
"subscription_item_code",
"usage_date",
"quantity",
"created_at",
"updated_at"
],
"properties": {
"id": {
"$ref": "#/$defs/Subscription-Usage-Id"
},
"subscription_id": {
"$ref": "#/$defs/Subscription-Id"
},
"subscription_cycle_id": {
"$ref": "#/$defs/Subscription-Cycle-Id"
},
"subscription_item_code": {
"$ref": "#/$defs/Subscription-Item-Code"
},
"usage_date": {
"$ref": "#/$defs/Subscription-Usage-Date"
},
"quantity": {
"$ref": "#/$defs/Subscription-Usage-Quantity"
},
"metadata": {
"$ref": "#/$defs/Subscription-Usage-Metadata"
},
"created_at": {
"$ref": "#/$defs/Subscription-Usage-Created-Date"
},
"updated_at": {
"$ref": "#/$defs/Subscription-Usage-Updated-Date"
}
},
"$defs": {
"Subscription-Cycle-Id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier for the subscription cycle."
},
"Subscription-Id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier for the subscription."
},
"Subscription-Item-Code": {
"type": "string",
"description": "A merchant-defined identifier for a usage-based subscription item. You set this code on each usage item when creating a subscription plan, and supply it when reporting consumption on [Create a subscription usage endpoint](https://developer.revolut.com/docs/api/merchant#create-subscription-usage) to target the correct metered item.\n\nThis allows a subscription with multiple usage items (e.g., `api_calls` and `storage_gb`) to receive consumption reports against the right item without relying on internal IDs.\n\nThe code must be unique within a plan phase.",
"maxLength": 250
},
"Subscription-Usage-Created-Date": {
"type": "string",
"format": "date-time",
"description": "The date and time the usage record was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
},
"Subscription-Usage-Date": {
"type": "string",
"format": "date-time",
"description": "The timestamp indicating when the consumption actually occurred.\n\n| Constraint | Detail |\n| ---------- | ------ |\n| Format | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time string (e.g., `YYYY-MM-DDTHH:mm:ssZ`). |\n| Timezone | Must be UTC. |\n| Validation | Revolut uses this to identify the applicable billing cycle. Accepted for the active cycle (`start_date ≤ usage_date < end_date`), for a recently ended cycle before its `usage_cutoff_date`, and for the one next upcoming cycle. Other dates are rejected. |"
},
"Subscription-Usage-Id": {
"type": "string",
"format": "uuid",
"description": "The unique identifier of the usage record."
},
"Subscription-Usage-Metadata": {
"type": "object",
"description": "Key-value pairs you can attach to a usage record for your own tracking and reporting purposes.\n\n| Constraint | Detail |\n| ---------- | ------ |\n| Keys | Maximum 50 keys per record. |\n| Value types | String, number, or boolean only. |\n| Number precision | Up to 20 digits before and 20 digits after the decimal point. |",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"maxProperties": 50
},
"Subscription-Usage-Quantity": {
"type": "number",
"description": "The quantity of consumption to record for this usage report. \n\nSupports up to 20 digits before and 20 digits after the decimal point.",
"exclusiveMinimum": 0
},
"Subscription-Usage-Updated-Date": {
"type": "string",
"format": "date-time",
"description": "The date and time the usage record was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/revolut-subscription-usage"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.