{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/monid/main/json-schema/monid-wallet-balance-response-schema.json", "title": "WalletBalanceResponse", "x-generated": "2026-10-07", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/monid-wallet-api-openapi.yml#/components/schemas/WalletBalanceResponse", "type": "object", "properties": { "balance": { "$ref": "#/$defs/WalletMonetaryAmount" }, "held": { "$ref": "#/$defs/WalletMonetaryAmount" }, "topup": { "$ref": "#/$defs/TopupHints" } }, "required": [ "balance", "held", "topup" ], "$defs": { "TopupHints": { "type": "object", "properties": { "stripe": { "type": "string", "description": "Origin-relative path of the hosted Stripe checkout session creator (POST)." }, "dashboard": { "type": "string", "description": "The dashboard wallet page a human can top up from." }, "docs": { "type": "string", "description": "Human documentation on funding a wallet." } } }, "WalletMonetaryAmount": { "type": "object", "properties": { "value": { "type": "number", "description": "Amount in dollars (float)." }, "currency": { "type": "string", "description": "ISO currency code." } }, "required": [ "value", "currency" ] } } }