{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/moneygraph-ai/json-schema/moneygraph-ai-get-api-v1-assets-response-schema.json",
  "title": "GetApiV1AssetsResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/moneygraph-ai-openapi-generated.yml#/components/schemas/GetApiV1AssetsResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Assets retrieved successfully"
    },
    "status": {
      "type": "string",
      "description": "success"
    },
    "data": {
      "type": "array",
      "description": "List of assets with wallet and settings information"
    },
    "data[].asset": {
      "type": "object",
      "description": "The asset the wallet holds"
    },
    "data[].asset.id": {
      "type": "string"
    },
    "data[].asset.type": {
      "type": "string",
      "description": "fiat or crypto"
    },
    "data[].asset.name": {
      "type": "string"
    },
    "data[].asset.currency": {
      "type": "string",
      "description": "For fiat assets"
    },
    "data[].asset.token": {
      "type": "string",
      "description": "For crypto assets"
    },
    "data[].asset.network": {
      "type": "string",
      "description": "For crypto assets"
    },
    "data[].wallet": {
      "type": "object",
      "description": "Wallet information"
    },
    "data[].wallet.id": {
      "type": "string"
    },
    "data[].wallet.balance": {
      "type": "string",
      "description": "Decimal string, 2 places for fiat, full precision for crypto"
    },
    "data[].settings": {
      "type": "object",
      "description": "Settings for payouts, topups, virtual accounts, cards, and swaps"
    },
    "data[].settings.payout": {
      "type": "object",
      "description": "Payout settings (fiat or crypto)"
    },
    "data[].settings.payout.source_currencies": {
      "type": "array",
      "description": "Fiat source currencies"
    },
    "data[].settings.payout.bank_account_types": {
      "type": "array",
      "description": "Allowed bank account types"
    },
    "data[].settings.payout.rails": {
      "type": "array",
      "description": "Payout rails with details"
    },
    "data[].settings.payout.rails[].id": {
      "type": "string"
    },
    "data[].settings.payout.rails[].name": {
      "type": "string"
    },
    "data[].settings.payout.rails[].method": {
      "type": "string"
    },
    "data[].settings.payout.rails[].duration": {
      "type": "string"
    },
    "data[].settings.payout.rails[].bank_routing_code_type": {
      "type": "string"
    },
    "data[].settings.payout.rails[].min": {
      "type": "number"
    },
    "data[].settings.payout.rails[].max": {
      "type": "number"
    },
    "data[].settings.payout.rails[].supported_countries": {
      "type": "array"
    },
    "data[].settings.payout.rails[].fee": {
      "type": "object"
    },
    "data[].settings.payout.rails[].fee.percent": {
      "type": "number"
    },
    "data[].settings.payout.rails[].fee.flat": {
      "type": "number"
    },
    "data[].settings.payout.rails[].fee.flat_in_usd": {
      "type": "boolean"
    },
    "data[].settings.virtual_account": {
      "type": "object"
    },
    "data[].settings.virtual_account.active": {
      "type": "boolean"
    },
    "data[].settings.virtual_account.fee": {
      "type": "object"
    },
    "data[].settings.virtual_account.fee.flat": {
      "type": "number"
    },
    "data[].settings.virtual_account.fee.percent": {
      "type": "number"
    },
    "data[].settings.physical_card": {
      "type": "object"
    },
    "data[].settings.physical_card.active": {
      "type": "boolean"
    },
    "data[].settings.physical_card.min": {
      "type": "number"
    },
    "data[].settings.physical_card.max": {
      "type": "number"
    },
    "data[].settings.physical_card.shipping_fee": {
      "type": "object"
    },
    "data[].settings.physical_card.issuing_fee": {
      "type": "object"
    },
    "data[].settings.physical_card.activation_fee": {
      "type": "object"
    },
    "data[].settings.physical_card.funding_fee": {
      "type": "object"
    },
    "data[].settings.physical_card.withdraw_fee": {
      "type": "object"
    },
    "data[].settings.virtual_card": {
      "type": "object"
    },
    "data[].settings.virtual_card.active": {
      "type": "boolean"
    },
    "data[].settings.virtual_card.min": {
      "type": "number"
    },
    "data[].settings.virtual_card.max": {
      "type": "number"
    },
    "data[].settings.virtual_card.issuing_fee": {
      "type": "object"
    },
    "data[].settings.virtual_card.funding_fee": {
      "type": "object"
    },
    "data[].settings.virtual_card.withdraw_fee": {
      "type": "object"
    },
    "data[].settings.swap": {
      "type": "object",
      "description": "Swap settings"
    },
    "data[].settings.swap.active": {
      "type": "boolean"
    },
    "data[].settings.swap.rails": {
      "type": "array",
      "description": "Swap rails"
    },
    "data[].settings.swap.rails[].id": {
      "type": "string"
    },
    "data[].settings.swap.rails[].type": {
      "type": "string"
    },
    "data[].settings.swap.rails[].asset": {
      "type": "object"
    },
    "data[].settings.swap.rails[].asset.id": {
      "type": "string"
    },
    "data[].settings.swap.rails[].asset.token": {
      "type": "string"
    },
    "data[].settings.swap.rails[].asset.network": {
      "type": "string"
    },
    "data[].settings.swap.rails[].min": {
      "type": "number"
    },
    "data[].settings.swap.rails[].max": {
      "type": "number"
    }
  }
}