Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of entity this payment should be attributed to. |
| type | string | Type of entity this payment should be attributed to. |
| code | string | |
| amount | number | Amount of payment that should be attributed to this allocation. If null, the total_amount will be used. |
| allocation_id | string | Unique identifier of the allocation |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Allocation",
"title": "Allocation",
"type": "object",
"x-apideck-schema-id": "Allocation",
"x-apideck-weights": {
"id": "medium",
"type": "medium",
"code": "medium",
"amount": "medium",
"allocation_id": "medium"
},
"x-apideck-strict-any-of": [
{
"required": [
"id"
]
},
{
"required": [
"code"
]
}
],
"properties": {
"id": {
"type": "string",
"title": "Linked entity ID",
"description": "Unique identifier of entity this payment should be attributed to.",
"example": "123456"
},
"type": {
"type": "string",
"title": "Allocation type",
"description": "Type of entity this payment should be attributed to.",
"x-apideck-enum-id": "allocations.type",
"enum": [
"invoice",
"order",
"expense",
"credit_memo",
"over_payment",
"pre_payment",
"journal_entry",
"other",
"bill"
]
},
"code": {
"type": "string",
"example": "N091",
"readOnly": true
},
"amount": {
"type": "number",
"title": "Amount",
"description": "Amount of payment that should be attributed to this allocation. If null, the total_amount will be used.",
"example": 49.99,
"nullable": true
},
"allocation_id": {
"type": "string",
"title": "Allocation ID",
"description": "Unique identifier of the allocation",
"example": "123456"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apideck-allocation"
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.