<!-- Generated from the reviewed public OpenAPI contract. Do not edit this file. -->

# Usage



**Type:** object

Required means required **within its containing object**, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.


| Field | Type | Presence | Description / constraints |
| --- | --- | --- | --- |
| ` allowance ` | anyOf: object; null | Optional | — |
| ` by_kind ` | Array of object | Optional | — |
| ` by_kind[].count ` | integer | Optional | minimum: ` 0 ` |
| ` by_kind[].kind ` | ` call `, ` sms `, ` number_rental `, ` media `, ` other ` | Optional | — |
| ` by_kind[].total_micros ` | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ` ^[0-9]+$ ` |
| ` currency ` | ` USD ` | Optional | — |
| ` funding ` | ` allowance `, ` wallet ` | Optional | — |
| ` grants ` | Array of object | Optional | — |
| ` period ` | string | Optional | pattern: ` ^\d{4}-(0[1-9]\|1[0-2])$ ` |
| ` provider_adjustment_micros ` | string | Optional | pattern: ` ^-?[0-9]+$ ` |
| ` total_micros ` | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ` ^[0-9]+$ ` |


**JSON Schema**
```json
{
  "additionalProperties": true,
  "properties": {
    "allowance": {
      "anyOf": [
        {
          "additionalProperties": true,
          "properties": {
            "committed_micros": {
              "description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "limit_micros": {
              "anyOf": [
                {
                  "description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
                  "pattern": "^[0-9]+$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "period": {
              "type": "string"
            },
            "reserved_micros": {
              "description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
              "pattern": "^[0-9]+$",
              "type": "string"
            }
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "by_kind": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "count": {
            "minimum": 0,
            "type": "integer"
          },
          "kind": {
            "enum": [
              "call",
              "sms",
              "number_rental",
              "media",
              "other"
            ],
            "type": "string"
          },
          "total_micros": {
            "description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
            "pattern": "^[0-9]+$",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "currency": {
      "enum": [
        "USD"
      ],
      "type": "string"
    },
    "funding": {
      "enum": [
        "allowance",
        "wallet"
      ],
      "type": "string"
    },
    "grants": {
      "items": {
        "additionalProperties": true,
        "properties": {},
        "type": "object"
      },
      "type": "array"
    },
    "period": {
      "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
      "type": "string"
    },
    "provider_adjustment_micros": {
      "pattern": "^-?[0-9]+$",
      "type": "string"
    },
    "total_micros": {
      "description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
      "pattern": "^[0-9]+$",
      "type": "string"
    }
  },
  "type": "object"
}
```
