Lightspark · Schema

UmaInvitation

CompanyPaymentsCross-Border PaymentsStablecoinsBitcoinLightning NetworkEmbedded FinanceAgentic PaymentsCardsKYCFinancial ServicesForeign Exchange

Properties

Name Type Description
code string The unique code of the invitation
createdAt string When the invitation was created
claimedAt string When the invitation was claimed if it has been claimed
url string The URL where this invitation can be claimed.
expiresAt string When the invitation expires (if at all)
inviterUma string The UMA address of the inviter
inviteeUma string The UMA address of the invitee
status string The status of the invitation
firstName string The inviter's first name. Will be displayed when the recipient clicks the invite link
amountToSend object The amount to send to the invitee when the invitation is claimed. This is optional and if not provided, the invitee will not receive any amount. Note that the actual sending of the amount must be done
View JSON Schema on GitHub

JSON Schema

lightspark-uma-invitation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspark/main/json-schema/lightspark-uma-invitation-schema.json",
  "title": "UmaInvitation",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspark-invitations-api-openapi.yml#/components/schemas/UmaInvitation",
  "type": "object",
  "required": [
    "code",
    "createdAt",
    "inviterUma",
    "status",
    "url"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "The unique code of the invitation"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the invitation was created"
    },
    "claimedAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the invitation was claimed if it has been claimed"
    },
    "url": {
      "type": "string",
      "description": "The URL where this invitation can be claimed."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the invitation expires (if at all)"
    },
    "inviterUma": {
      "type": "string",
      "description": "The UMA address of the inviter"
    },
    "inviteeUma": {
      "type": "string",
      "description": "The UMA address of the invitee"
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "CLAIMED",
        "EXPIRED",
        "CANCELLED"
      ],
      "description": "The status of the invitation"
    },
    "firstName": {
      "type": "string",
      "description": "The inviter's first name. Will be displayed when the recipient clicks the invite link"
    },
    "amountToSend": {
      "$ref": "#/$defs/CurrencyAmount",
      "description": "The amount to send to the invitee when the invitation is claimed. This is optional and if not provided, the invitee will not receive any amount. Note that the actual sending of the amount must be done by the inviter platform once the INVITATION_CLAIMED webhook is received. If the inviter platform either does not send the payment or the payment fails, the invitee will not receive this amount. This field is primarily used for display purposes on the claiming side of the invitation.\nThis field is useful for \"send-by-link\" style customer flows where an inviter can send a payment simply by sharing a link without knowing the receiver's UMA address. Note that these sends can only be sender-locked, meaning that the sender will not know ahead of time how much the receiver will receive in the receiving currency."
    }
  },
  "$defs": {
    "Currency": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Three-letter currency code (ISO 4217) for fiat currencies. Some cryptocurrencies may use their own ticker symbols (e.g. \"BTC\" for Bitcoin, \"USDC\" for USDC, etc.)"
        },
        "name": {
          "type": "string",
          "description": "Full name of the currency"
        },
        "symbol": {
          "type": "string",
          "description": "Symbol of the currency"
        },
        "decimals": {
          "type": "integer",
          "description": "Number of decimal places for the currency",
          "minimum": 0
        }
      }
    },
    "CurrencyAmount": {
      "type": "object",
      "required": [
        "amount",
        "currency"
      ],
      "properties": {
        "amount": {
          "type": "integer",
          "format": "int64",
          "description": "Amount in the smallest unit of the currency (e.g., cents for USD/EUR, satoshis for BTC)"
        },
        "currency": {
          "$ref": "#/$defs/Currency"
        }
      }
    }
  }
}

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-uma-invitation"
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.