run402-com · Schema
LightningTopup
A Lightning cash top-up (lightning-cash-topup). The USD value is a QUOTE fixed at mint from `quoted_rate` and is what settlement credits. Never carries the provider's credential.
Artificial IntelligenceInfrastructureBackendOpen SourceAgents
Properties
| Name | Type | Description |
|---|---|---|
| org_id | string | |
| product | string | |
| rail | string | |
| topup_id | string | |
| bolt11 | stringnull | The payable invoice, verbatim (a standards-owned wire artifact). |
| payment_hash | stringnull | |
| amount_sats | integernull | |
| amount_usd_micros | integer | The quoted USD value in micro-dollars; credited as-is on settlement. |
| usd_value_is_quote | boolean | |
| quoted_rate | objectnull | usd_per_btc, source, observed_at, amount_sats |
| invoice_expires_at | stringnull | |
| status | string | |
| paid_at | stringnull | |
| credited_ledger_id | stringnull | |
| created_at | stringnull | |
| next_actions | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/run402-com/json-schema/run402-com-lightning-topup-schema.json",
"title": "LightningTopup",
"description": "A Lightning cash top-up (lightning-cash-topup). The USD value is a QUOTE fixed at mint from `quoted_rate` and is what settlement credits. Never carries the provider's credential.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/run402-com-billing-api-openapi.yml#/components/schemas/LightningTopup",
"type": "object",
"required": [
"org_id",
"product",
"rail",
"topup_id",
"bolt11",
"payment_hash",
"amount_sats",
"amount_usd_micros",
"usd_value_is_quote",
"invoice_expires_at",
"status",
"paid_at",
"credited_ledger_id",
"next_actions"
],
"properties": {
"org_id": {
"type": "string",
"format": "uuid"
},
"product": {
"type": "string",
"enum": [
"balance_topup"
]
},
"rail": {
"type": "string",
"enum": [
"lightning"
]
},
"topup_id": {
"type": "string",
"format": "uuid"
},
"bolt11": {
"type": [
"string",
"null"
],
"description": "The payable invoice, verbatim (a standards-owned wire artifact)."
},
"payment_hash": {
"type": [
"string",
"null"
],
"pattern": "^[0-9a-f]{64}$"
},
"amount_sats": {
"type": [
"integer",
"null"
]
},
"amount_usd_micros": {
"type": "integer",
"description": "The quoted USD value in micro-dollars; credited as-is on settlement."
},
"usd_value_is_quote": {
"type": "boolean",
"enum": [
true
]
},
"quoted_rate": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "usd_per_btc, source, observed_at, amount_sats"
},
"invoice_expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"status": {
"type": "string",
"enum": [
"pending",
"paid",
"paid_late",
"expired"
]
},
"paid_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"credited_ledger_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"created_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
}
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/run402-com-lightning-topup"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.