Divvy · Schema

SubscriptionWithSecurityKeyResponseDto

Subscription and security key information.

CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills

Properties

Name Type Description
id string BILL-generated ID of the subscription
name string Subscription name
organizationId string BILL-generated ID of the organization. BILL sends you event notifications only for the BILL organization used to set up a subscription.
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.
createdTime string Subscription created date and time
updatedTime string Subscription updated date and time
securityKey string BILL-generated security key. When you create a new subscription, a one-time `securityKey` is generated and all event notifications sent to your `notificationUrl` are signed with this key.
View JSON Schema on GitHub

JSON Schema

divvy-subscription-with-security-key-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/divvy/main/json-schema/divvy-subscription-with-security-key-response-dto-schema.json",
  "title": "SubscriptionWithSecurityKeyResponseDto",
  "description": "Subscription and security key information.",
  "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/SubscriptionWithSecurityKeyResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "BILL-generated ID of the subscription"
    },
    "name": {
      "type": "string",
      "description": "Subscription name"
    },
    "organizationId": {
      "type": "string",
      "description": "BILL-generated ID of the organization. BILL sends you event notifications only for the BILL organization used to set up a subscription."
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/SubscriptionStatusWithActorDto"
        },
        {
          "description": "Subscription status information"
        }
      ]
    },
    "events": {
      "type": "array",
      "description": "Subscription events information. You can retrieve event `type` and `version` with `GET /v3/events/catalog`.",
      "items": {
        "$ref": "#/$defs/SubscriptionEventDto"
      }
    },
    "notificationUrl": {
      "type": "string",
      "description": "Event notification URL. The URL must be HTTPS. BILL uses this URL to send you event notifications."
    },
    "createdTime": {
      "type": "string",
      "description": "Subscription created date and time",
      "format": "date-time"
    },
    "updatedTime": {
      "type": "string",
      "description": "Subscription updated date and time",
      "format": "date-time"
    },
    "securityKey": {
      "type": "string",
      "description": "BILL-generated security key.\n\nWhen you create a new subscription, a one-time `securityKey` is generated and all event notifications sent to your `notificationUrl` are signed with this key."
    }
  },
  "$defs": {
    "SubscriptionActorDto": {
      "type": "string",
      "description": "Subscription change actor information.",
      "enum": [
        "CLIENT",
        "SYSTEM"
      ]
    },
    "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."
    },
    "SubscriptionStatusWithActorDto": {
      "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`."
        },
        "actor": {
          "allOf": [
            {
              "$ref": "#/$defs/SubscriptionActorDto"
            },
            {
              "description": "Entity that set the subscription status"
            }
          ]
        }
      },
      "description": "Subscription status and change actor 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/divvy-subscription-with-security-key-response-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.