Properties
| Name | Type | Description |
|---|---|---|
| scope | string | |
| as_of | string | |
| timezone | string | |
| coverage | object | |
| windows | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aifinpay-io/json-schema/aifinpay-io-settlement-windows-schema.json",
"title": "SettlementWindows",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aifinpay-io-me-merchants-api-openapi.yml#/components/schemas/SettlementWindows",
"type": "object",
"additionalProperties": false,
"required": [
"scope",
"as_of",
"timezone",
"coverage",
"windows"
],
"properties": {
"scope": {
"type": "string",
"enum": [
"site",
"wallet",
"account_wallet"
]
},
"as_of": {
"type": "string",
"format": "date-time"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"coverage": {
"$ref": "#/$defs/SettlementCoverage"
},
"windows": {
"type": "object",
"additionalProperties": false,
"required": [
"today",
"yesterday",
"this_month",
"d7",
"d30",
"observed"
],
"properties": {
"today": {
"$ref": "#/$defs/SettlementSummary"
},
"yesterday": {
"$ref": "#/$defs/SettlementSummary"
},
"this_month": {
"$ref": "#/$defs/SettlementSummary"
},
"d7": {
"$ref": "#/$defs/SettlementSummary"
},
"d30": {
"$ref": "#/$defs/SettlementSummary"
},
"observed": {
"$ref": "#/$defs/SettlementSummary"
}
}
}
},
"$defs": {
"SettlementCoverage": {
"type": "object",
"additionalProperties": false,
"required": [
"ledger",
"sources",
"receipt",
"history_complete",
"unsupported_chains"
],
"properties": {
"ledger": {
"type": "string",
"enum": [
"partial",
"current",
"degraded"
]
},
"sources": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"source",
"from_block",
"through_block",
"as_of",
"status"
],
"properties": {
"source": {
"type": "string"
},
"from_block": {
"type": [
"string",
"null"
],
"pattern": "^[0-9]{1,78}$"
},
"through_block": {
"type": [
"string",
"null"
],
"pattern": "^[0-9]{1,78}$"
},
"as_of": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"status": {
"type": "string",
"enum": [
"partial",
"current",
"degraded"
]
}
}
}
},
"receipt": {
"type": "string",
"enum": [
"available",
"partial",
"unavailable"
]
},
"history_complete": {
"type": "boolean",
"const": false
},
"unsupported_chains": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"SettlementSummary": {
"type": "object",
"additionalProperties": false,
"required": [
"count",
"assets",
"known_gross_usd_micros",
"known_net_usd_micros",
"valued_count",
"unknown_valuation_count"
],
"properties": {
"count": {
"type": "integer",
"minimum": 0
},
"assets": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"chain",
"token_address",
"symbol",
"decimals",
"gross_base_units",
"merchant_base_units",
"treasury_base_units",
"creator_base_units"
],
"properties": {
"chain": {
"type": "string",
"const": "polygon"
},
"token_address": {
"type": "string",
"pattern": "^0x[0-9a-f]{40}$"
},
"symbol": {
"type": [
"string",
"null"
]
},
"decimals": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 36
},
"gross_base_units": {
"type": "string",
"pattern": "^[0-9]+$"
},
"merchant_base_units": {
"type": "string",
"pattern": "^[0-9]+$"
},
"treasury_base_units": {
"type": "string",
"pattern": "^[0-9]+$"
},
"creator_base_units": {
"type": "string",
"pattern": "^[0-9]+$"
}
}
}
},
"known_gross_usd_micros": {
"type": [
"string",
"null"
],
"pattern": "^[0-9]+$"
},
"known_net_usd_micros": {
"type": [
"string",
"null"
],
"pattern": "^[0-9]+$",
"description": "Merchant's share of known_gross_usd_micros over the same valued payments: per payment floor(gross_usd_micros * merchant_base_units / gross_base_units) at the quote's historical USD, then summed. Null exactly when known_gross_usd_micros is null."
},
"valued_count": {
"type": "integer",
"minimum": 0
},
"unknown_valuation_count": {
"type": "integer",
"minimum": 0
}
}
}
}
}
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/aifinpay-io-settlement-windows"
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.