Divvy · Schema

CardResponseDto

Cards response.

CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills

Properties

Name Type Description
id string BILL-generated ID of the card
uuid string BILL-generated UUID of the card
name string Card name
userId string BILL-generated ID of the user linked with the card
userUuid string BILL-generated UUID of the user linked with the card
budgetId string BILL-generated ID of the budget linked with the card
budgetUuid string BILL-generated UUID of the budget linked with the card
lastFour string Last four digits of the card number
validThru string BILL-generated card expiration date. The value is in the `MM/YY` format. **Note**: Use the `validThru` value as the expiration date in a card payment. Do not use the `expirationDate` value for this op
expirationDate string User-generated card expiration date. This value is in the `yyyy-MM-dd` format. BILL automatically closes the card account on this date. **Note**: Use the `validThru` value as the expiration date in a
status object
deletedReason object
type object
shareBudgetFunds boolean Set as `true` to share all the budget funds with the card. This option enables the card user to spend from unallocated budget funds when the allocation is empty.
recurring boolean Set as `true` to renew the card funds in the next budget period
recurringLimit number Card spend limit for the all future budget periods
currentPeriod object
createdTime string Created date and time
updatedTime string Updated date and time
View JSON Schema on GitHub

JSON Schema

divvy-card-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-card-response-dto-schema.json",
  "title": "CardResponseDto",
  "description": "Cards response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-cards-api-openapi.yml#/components/schemas/CardResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "BILL-generated ID of the card",
      "deprecated": true
    },
    "uuid": {
      "type": "string",
      "description": "BILL-generated UUID of the card"
    },
    "name": {
      "type": "string",
      "description": "Card name"
    },
    "userId": {
      "type": "string",
      "description": "BILL-generated ID of the user linked with the card",
      "deprecated": true
    },
    "userUuid": {
      "type": "string",
      "description": "BILL-generated UUID of the user linked with the card"
    },
    "budgetId": {
      "type": "string",
      "description": "BILL-generated ID of the budget linked with the card",
      "deprecated": true
    },
    "budgetUuid": {
      "type": "string",
      "description": "BILL-generated UUID of the budget linked with the card"
    },
    "lastFour": {
      "type": "string",
      "description": "Last four digits of the card number"
    },
    "validThru": {
      "type": "string",
      "description": "BILL-generated card expiration date. The value is in the `MM/YY` format.\n\n**Note**: Use the `validThru` value as the expiration date in a card payment. Do not use the `expirationDate` value for this operation."
    },
    "expirationDate": {
      "type": "string",
      "description": "User-generated card expiration date. This value is in the `yyyy-MM-dd` format. BILL automatically closes the card account on this date.\n\n**Note**: Use the `validThru` value as the expiration date in a card payment. Do not use the `expirationDate` value for this operation.",
      "format": "date"
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/CardStatus"
        },
        {
          "description": "Card status."
        }
      ]
    },
    "deletedReason": {
      "allOf": [
        {
          "$ref": "#/$defs/DeletedReasonType"
        },
        {
          "description": "Delete card reason. This field is available in the response only when `status` is `DELETED`."
        }
      ]
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/CardType"
        },
        {
          "description": "Card type."
        }
      ]
    },
    "shareBudgetFunds": {
      "type": "boolean",
      "description": "Set as `true` to share all the budget funds with the card. This option enables the card user to spend from unallocated budget funds when the allocation is empty."
    },
    "recurring": {
      "type": "boolean",
      "description": "Set as `true` to renew the card funds in the next budget period"
    },
    "recurringLimit": {
      "type": "number",
      "description": "Card spend limit for the all future budget periods"
    },
    "currentPeriod": {
      "allOf": [
        {
          "$ref": "#/$defs/CardCurrentPeriodDto"
        },
        {
          "description": "Current budget period information about the card"
        }
      ]
    },
    "createdTime": {
      "type": "string",
      "description": "Created date and time",
      "format": "date-time"
    },
    "updatedTime": {
      "type": "string",
      "description": "Updated date and time",
      "format": "date-time"
    }
  },
  "$defs": {
    "CardCurrentPeriodDto": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "number",
          "description": "Card spend limit for the current budget period"
        },
        "spent": {
          "type": "number",
          "description": "Amount spent with the card for the current budget period"
        }
      },
      "description": "DTO representing card values relevant to the current budget period."
    },
    "CardStatus": {
      "type": "string",
      "description": "CardStatus.",
      "enum": [
        "ACTIVATED",
        "NOT_ACTIVATED",
        "FROZEN",
        "DELETED"
      ]
    },
    "CardType": {
      "type": "string",
      "description": "CardType.",
      "enum": [
        "PHYSICAL",
        "VIRTUAL_MEMBER",
        "VIRTUAL_VENDOR",
        "VIRTUAL"
      ]
    },
    "DeletedReasonType": {
      "type": "string",
      "description": "DeletedReasonType.",
      "enum": [
        "CANCELLED",
        "LOST",
        "STOLEN",
        "MISPLACED",
        "FRAUD_CONFIRMED",
        "SUPERSEDED_BY_NEW_ORDER"
      ]
    }
  }
}

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-card-response-dto"
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. 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.