AffiliateRail · Schema
Balance
AffiliatesSoftware-as-a-ServiceMarketingPaymentsAffiliateSoftwareCompany
Properties
| Name | Type | Description |
|---|---|---|
| id | string | `bal_ |
| object | string | |
| partner_id | string | Prefixed id (`part_…`) |
| currency | string | ISO-4217 |
| pending_minor | integer | Integer minor units (cents, pence). Never a float, never a string. |
| due_minor | integer | Integer minor units (cents, pence). Never a float, never a string. |
| paid_minor | integer | Integer minor units (cents, pence). Never a float, never a string. |
| updated_at | string | ISO-8601, UTC |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/affiliaterail-com/json-schema/affiliaterail-com-balance-schema.json",
"title": "Balance",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/affiliaterail-com-balances-api-openapi.yml#/components/schemas/Balance",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "`bal_<partner_id>_<currency>`"
},
"object": {
"type": "string",
"enum": [
"balance"
]
},
"partner_id": {
"type": "string",
"pattern": "^(sample_)?part_",
"description": "Prefixed id (`part_…`)"
},
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "ISO-4217"
},
"pending_minor": {
"type": "integer",
"description": "Integer minor units (cents, pence). Never a float, never a string."
},
"due_minor": {
"type": "integer",
"description": "Integer minor units (cents, pence). Never a float, never a string."
},
"paid_minor": {
"type": "integer",
"description": "Integer minor units (cents, pence). Never a float, never a string."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "ISO-8601, UTC"
}
},
"required": [
"id",
"object",
"partner_id",
"currency",
"pending_minor",
"due_minor",
"paid_minor",
"updated_at"
]
}
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/affiliaterail-com-balance"
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.