agrio · JSON Structure

Agrio Credit Balance Structure

Current API credit balance for the authenticated account.

Type: object Properties: 3 Required: 2
AgriculturePlant DiseasePest DetectionAICrop Advisory

Credit Balance is a JSON Structure definition published by agrio, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

balance currency account_id

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agrio/refs/heads/main/json-structure/agrio-credit-balance-structure.json",
  "name": "Credit Balance",
  "description": "Current API credit balance for the authenticated account.",
  "type": "object",
  "properties": {
    "balance": {
      "type": "int32",
      "description": "Number of available credits remaining.",
      "example": 450
    },
    "currency": {
      "type": "string",
      "description": "Credit unit type.",
      "example": "credits"
    },
    "account_id": {
      "type": "string",
      "description": "Unique identifier for the API account.",
      "example": "acc-500123"
    }
  },
  "required": [
    "balance",
    "currency"
  ]
}