Divvy · Schema
SubscriptionRequestDto
Create a subscription
CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Subscription name |
| status | object | |
| events | array | Subscription events information. You can retrieve event `type` and `version` with `GET /v3/events/catalog`. |
| notificationUrl | string | Event notification URL. The URL must be HTTPS. BILL uses this URL to send you event notifications. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/divvy/main/json-schema/divvy-subscription-request-dto-schema.json",
"title": "SubscriptionRequestDto",
"description": "Create a subscription",
"x-generated": "2026-10-14",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/divvy-connect-events-api-openapi.yml#/components/schemas/SubscriptionRequestDto",
"required": [
"events",
"name",
"notificationUrl",
"status"
],
"type": "object",
"properties": {
"name": {
"minLength": 1,
"type": "string",
"description": "Subscription name"
},
"status": {
"allOf": [
{
"$ref": "#/$defs/SubscriptionStatusDto"
},
{
"description": "Subscription status information"
}
]
},
"events": {
"minItems": 1,
"type": "array",
"description": "Subscription events information. You can retrieve event `type` and `version` with `GET /v3/events/catalog`.",
"items": {
"$ref": "#/$defs/SubscriptionEventDto"
}
},
"notificationUrl": {
"minLength": 1,
"type": "string",
"description": "Event notification URL. The URL must be HTTPS. BILL uses this URL to send you event notifications."
}
},
"$defs": {
"SubscriptionEventDto": {
"required": [
"type",
"version"
],
"type": "object",
"properties": {
"type": {
"minLength": 1,
"type": "string",
"description": "Event type"
},
"version": {
"minLength": 1,
"type": "string",
"description": "Event type version"
}
},
"description": "Subscription events information."
},
"SubscriptionStatusDto": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Set as `true` if the subscription is enabled. When you create a new subscription, this value is set as `true` by default."
},
"reason": {
"type": "string",
"description": "Reason for changing the subscription status. This field is used by BILL for informing you when the `enabled` field is set as `false`."
}
},
"description": "Subscription status information."
}
}
}
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/divvy-subscription-request-dto"
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.