Cayra · Schema
BillingResponse
Billing representation
Artificial IntelligenceEnterpriseDecision IntelligenceERPDatabase
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| company_id | string | |
| license_id | object | |
| billing_code | string | |
| billing_type | object | |
| status | object | |
| amount | number | |
| currency | string | |
| tax_amount | number | |
| total_amount | number | |
| payment_provider | object | |
| provider_reference | object | |
| metadata | object | |
| notes | object | |
| issued_at | string | |
| due_at | object | |
| paid_at | object | |
| canceled_at | object | |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-billing-response-schema.json",
"title": "BillingResponse",
"description": "Billing representation",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cayra-io-openapi.json#/components/schemas/BillingResponse",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"title": "Id"
},
"company_id": {
"type": "string",
"format": "uuid",
"title": "Company Id"
},
"license_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
],
"title": "License Id"
},
"billing_code": {
"type": "string",
"title": "Billing Code"
},
"billing_type": {
"$ref": "#/$defs/BillingTypeEnum"
},
"status": {
"$ref": "#/$defs/BillingStatusEnum"
},
"amount": {
"type": "number",
"title": "Amount"
},
"currency": {
"type": "string",
"title": "Currency"
},
"tax_amount": {
"type": "number",
"title": "Tax Amount"
},
"total_amount": {
"type": "number",
"title": "Total Amount"
},
"payment_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Payment Provider"
},
"provider_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider Reference"
},
"metadata": {
"type": "object",
"title": "Metadata"
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Notes"
},
"issued_at": {
"type": "string",
"format": "date-time",
"title": "Issued At"
},
"due_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Due At"
},
"paid_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Paid At"
},
"canceled_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Canceled At"
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At"
},
"updated_at": {
"type": "string",
"format": "date-time",
"title": "Updated At"
}
},
"type": "object",
"required": [
"id",
"company_id",
"license_id",
"billing_code",
"billing_type",
"status",
"amount",
"currency",
"tax_amount",
"total_amount",
"payment_provider",
"provider_reference",
"metadata",
"notes",
"issued_at",
"due_at",
"paid_at",
"canceled_at",
"created_at",
"updated_at"
],
"$defs": {
"BillingStatusEnum": {
"type": "string",
"enum": [
"draft",
"pending",
"paid",
"failed",
"cancelled",
"refunded"
],
"title": "BillingStatusEnum"
},
"BillingTypeEnum": {
"type": "string",
"enum": [
"prepaid_tokens",
"onprem_license"
],
"title": "BillingTypeEnum"
}
}
}
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/cayra-io-billing-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.