Divvy · Schema

PaginatedCardsResponseDto

List of cards with paging references.

CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills

Properties

Name Type Description
nextPage string Next page token
prevPage string Previous page token
results array Results
View JSON Schema on GitHub

JSON Schema

divvy-paginated-cards-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-paginated-cards-response-dto-schema.json",
  "title": "PaginatedCardsResponseDto",
  "description": "List of cards with paging references.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-cards-api-openapi.yml#/components/schemas/PaginatedCardsResponseDto",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/PaginationResponseDto_CardResponseDto_"
    }
  ],
  "$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."
    },
    "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"
        }
      },
      "description": "Cards response."
    },
    "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"
      ]
    },
    "PaginationResponseDto_CardResponseDto_": {
      "type": "object",
      "properties": {
        "nextPage": {
          "type": "string",
          "description": "Next page token"
        },
        "prevPage": {
          "type": "string",
          "description": "Previous page token"
        },
        "results": {
          "type": "array",
          "description": "Results",
          "items": {
            "$ref": "#/$defs/CardResponseDto"
          }
        }
      },
      "description": "Response from a list API request with paging references."
    }
  }
}

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-paginated-cards-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.