Lightspark · Schema

PlatformConfig

CompanyPaymentsCross-Border PaymentsStablecoinsBitcoinLightning NetworkEmbedded FinanceAgentic PaymentsCardsKYCFinancial ServicesForeign Exchange

Properties

Name Type Description
id string System-generated unique identifier
umaDomain string UMA domain for this platform
proxyUmaSubdomain string The subdomain that incoming requests will be proxied to
webhookEndpoint string URL where webhook notifications will be sent
supportedCurrencies array List of currencies supported by the platform. This is what the platform's customers are able to hold, send, and receive.
isRegulatedFinancialInstitution boolean Whether the platform is a regulated financial institution. This is used to determine if the platform's customers must be KYC/KYB'd by Lightspark via the KYC link flow. This can only be set by Lightspa
embeddedWalletConfig object Embedded-wallet branding and OTP settings for this platform. Present only when the platform has configured embedded-wallet support; omitted otherwise.
createdAt string Creation timestamp
updatedAt string Last update timestamp
View JSON Schema on GitHub

JSON Schema

lightspark-platform-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspark/main/json-schema/lightspark-platform-config-schema.json",
  "title": "PlatformConfig",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspark-platform-configuration-api-openapi.yml#/components/schemas/PlatformConfig",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "System-generated unique identifier",
      "readOnly": true
    },
    "umaDomain": {
      "type": "string",
      "description": "UMA domain for this platform"
    },
    "proxyUmaSubdomain": {
      "type": "string",
      "description": "The subdomain that incoming requests will be proxied to"
    },
    "webhookEndpoint": {
      "type": "string",
      "description": "URL where webhook notifications will be sent"
    },
    "supportedCurrencies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PlatformCurrencyConfig"
      },
      "description": "List of currencies supported by the platform. This is what the platform's\ncustomers are able to hold, send, and receive.\n"
    },
    "isRegulatedFinancialInstitution": {
      "type": "boolean",
      "description": "Whether the platform is a regulated financial institution. This is used to\ndetermine if the platform's customers must be KYC/KYB'd by Lightspark via\nthe KYC link flow. This can only be set by Lightspark during platform\ncreation.\n"
    },
    "embeddedWalletConfig": {
      "$ref": "#/$defs/EmbeddedWalletConfig",
      "description": "Embedded-wallet branding and OTP settings for this platform. Present\nonly when the platform has configured embedded-wallet support;\nomitted otherwise.\n"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Creation timestamp",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Last update timestamp",
      "readOnly": true
    }
  },
  "$defs": {
    "CounterpartyFieldDefinition": {
      "type": "object",
      "properties": {
        "name": {
          "$ref": "#/$defs/CustomerInfoFieldName"
        },
        "mandatory": {
          "type": "boolean",
          "description": "Whether the field is mandatory"
        }
      },
      "required": [
        "name",
        "mandatory"
      ]
    },
    "CustomerInfoFieldName": {
      "type": "string",
      "enum": [
        "FULL_NAME",
        "BIRTH_DATE",
        "NATIONALITY",
        "PHONE_NUMBER",
        "EMAIL",
        "POSTAL_ADDRESS",
        "TAX_ID",
        "REGISTRATION_NUMBER",
        "USER_TYPE",
        "COUNTRY_OF_RESIDENCE",
        "ACCOUNT_IDENTIFIER",
        "FI_LEGAL_ENTITY_NAME",
        "FI_ADDRESS",
        "PURPOSE_OF_PAYMENT",
        "ULTIMATE_INSTITUTION_COUNTRY",
        "IDENTIFIER",
        "BUSINESS_TYPE",
        "COMPANY_LEGAL_NAME",
        "ID_TYPE",
        "ID_NUMBER"
      ],
      "description": "Name of a type of field containing info about a platform's customer or counterparty customer."
    },
    "EmbeddedWalletConfig": {
      "type": "object",
      "description": "Per-platform embedded-wallet configuration. Controls branding and OTP\nbehavior for the email sent when a customer authenticates with an\nEMAIL_OTP credential. Fields omitted from a request are left unchanged.\n",
      "properties": {
        "appName": {
          "type": "string",
          "maxLength": 255,
          "description": "App name displayed in the default OTP email template."
        },
        "otpLength": {
          "type": "integer",
          "minimum": 4,
          "maximum": 12,
          "description": "Number of digits / characters in the OTP code. Defaults to 6 when\nnot set.\n"
        },
        "alphanumeric": {
          "type": "boolean",
          "description": "If true, OTP includes letters in addition to digits. Defaults to\nnumeric-only when not set.\n"
        },
        "expirationSeconds": {
          "type": "integer",
          "minimum": 1,
          "maximum": 86400,
          "description": "OTP validity window in seconds. Defaults to 300 when not set.\n"
        },
        "sendFromEmailAddress": {
          "type": "string",
          "format": "email",
          "maxLength": 255,
          "description": "Custom sender email address for OTP emails."
        },
        "sendFromEmailSenderName": {
          "type": "string",
          "maxLength": 255,
          "description": "Custom sender display name. Defaults to \"Notifications\" when not set.\n"
        },
        "replyToEmailAddress": {
          "type": "string",
          "format": "email",
          "maxLength": 255,
          "description": "Custom reply-to email address for OTP emails."
        },
        "logoUrl": {
          "type": "string",
          "format": "uri",
          "maxLength": 512,
          "description": "URL to a PNG logo for the OTP email. Resized to 340x124px."
        }
      }
    },
    "PlatformCurrencyConfig": {
      "type": "object",
      "properties": {
        "currencyCode": {
          "type": "string",
          "description": "Three-letter currency code (ISO 4217)"
        },
        "minAmount": {
          "type": "integer",
          "format": "int64",
          "description": "Minimum amount that can be sent in the smallest unit of this currency",
          "minimum": 0
        },
        "maxAmount": {
          "type": "integer",
          "format": "int64",
          "description": "Maximum amount that can be sent in the smallest unit of this currency",
          "minimum": 0
        },
        "requiredCounterpartyFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CounterpartyFieldDefinition"
          },
          "description": "List of fields which the platform requires from the counterparty institutions about counterparty customers. Platforms can set mandatory to false if the platform does not require the field, but would like to have it available. Some fields may be required by the underlying UMA provider."
        },
        "providerRequiredCustomerFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CustomerInfoFieldName"
          },
          "description": "List of customer info field names that are required by the underlying UMA provider when creating a customer for this currency. These fields must be supplied when creating or updating a customer if this currency is intended to be used by that customer. If no fields are required, this field is omitted.",
          "readOnly": true
        },
        "providerRequiredCounterpartyCustomerFields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CustomerInfoFieldName"
          },
          "description": "List of fields that are required by the underlying UMA provider for this currency. If the counterparty does not provide these fields, quote requests will fail.",
          "readOnly": true
        },
        "enabledTransactionTypes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TransactionType"
          },
          "description": "List of transaction types that are enabled for this currency."
        }
      },
      "required": [
        "currencyCode",
        "minAmount",
        "maxAmount",
        "requiredCounterpartyFields",
        "enabledTransactionTypes"
      ]
    },
    "TransactionType": {
      "type": "string",
      "enum": [
        "INCOMING",
        "OUTGOING"
      ],
      "description": "Type of transaction (incoming payment or outgoing payment)"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lightspark-platform-config"
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.