Skip to main content
Skip to the site menu

API Pay

info

Current reading — 2026-10-17 [D]. This page retains an older paid-endpoint API Pay design inside planned Skyzai Work composition. Its wedge, pricing, settlement and OFN issuance examples are proposals, not an independent operating SKU or public API. LIQUID owns payment and transaction semantics; OFN separately owns economic receipt issuance. The current usage-pricing direction is a proposed commercial interface, and the separate historical API PAY payroll name does not create a payment rail. Linked routes are compatibility coordinates, not deployment proof.

Status: pre-launch. This page describes target design; this document does not establish a deployed service.

Scope: proposed paid-endpoint capability for the planned Skyzai Work app package, with Personal use requiring its own product and permission contract. The app packages are not additional product owners. See The Product Family.

Surface: api-pay.skyzai.com (declarative) Docs: API Pay reference (public documentation; not a live service) Status: HISTORICAL LOCAL-PROOF CLAIM · current integration unaccepted Evidence tier: [D] for this public proposal. An older [B] claim describes one local loop but has no linked current, reproducible OFN issuance proof here; [E] requires independent measurement, accepted integration and exact-act authority. Canonical manifest: (private, unpublished)


What API Pay Is​

The retained proposal explores a paid endpoint that could be independently consumed without adopting a whole app. It sketches five separate steps:

  1. Quote — returns the price for the paid action
  2. 402 Gate — rejects with 402 Payment Required if entitlement insufficient
  3. Payment evidence — checks an actual payment rail and settlement state
  4. OFN receipt — requests an economic receipt from an authorised issuer only when its required facts exist
  5. Finance export — exports accepted, typed records to an authorised controls stack

Independent use is an intended composability test, not a verified customer offering. A quote, local JSON record or 402 response proves neither payment nor OFN issuance.


Architecture​

Conceptual target flow only. It does not establish an implemented settlement rail, admitted issuer or production export.

Client request -> proposed quote -> eligibility and exact-act authority
-> permitted payment rail -> independent settlement evidence
-> separately owned OFN issuer, if economic fields are complete
-> typed economic receipt -> separately authorised finance export

API Specification​

Illustrative, unpublished request and response shapes follow. The URLs, IDs, prices, transaction hashes and success response are synthetic; no accepted public endpoint or OFN-issued receipt is established by this example.

POST /v1/quote​

Returns a quote for the paid action.

Request:

{
"endpoint": "swap",
"params": {
"from": "USDC",
"to": "ETH",
"amount": "100.00"
},
"buyer_id": "org_abc123"
}

Response:

{
"quote_id": "qt_20260509_001",
"price": {
"amount": "0.5",
"currency": "USDC",
" Breakdown": {
"service_fee": "0.02",
"gas_estimate": "0.48"
}
},
"expires_at": "2026-05-09T12:05:00Z",
"status": "valid"
}

POST /v1/pay​

Executes the paid action after entitlement check.

Request:

{
"quote_id": "qt_20260509_001",
"buyer_id": "org_abc123",
"payment_tx": "0xabc...",
"authorization_receipt": "receipt:..."
}

Illustrative target response after independently verified settlement and issuance:

{
"receipt_id": "ofn:2026:abc123...",
"status": "settled",
"tx_hash": "0xabc...",
"timestamp": "2026-05-09T12:00:00Z"
}

Response (insufficient entitlement):

402 Payment Required
{
"error": "INSUFFICIENT_ENTITLEMENT",
"message": "Buyer entitlement insufficient for this action.",
"upgrade_url": "`https://skyzai.com/products/api-pay`"
}

Evidence Tiers​

Ladder per 14-evidence-tiers.md ([C] < [D] < [S] < [B] < [E]):

TierClaimRequired Evidence
[D]API Pay can wrap one endpointDesign document, API spec
[B]A bounded local paid-endpoint loop can emit a typed synthetic recordDated local integration run, reproducible steps; this is not OFN issuance
[E]External customer paid for API Pay serviceIndependent settlement proof, typed external authority, and live-environment measurement

The older page classified one local loop as [B]. Its exact source and issuer acceptance are not linked here, so the current public integration claim remains [D]. An independently verified settlement and OFN-issued receipt would need their own evidence; a local run never promotes the system.


Integration Guide​

The following is design pseudocode, not an installable SDK or live webhook configuration.

Quick Start (Python)​

from skyzai import APIPayClient

client = APIPayClient(api_key="your_key")

# Get quote
quote = client.quote(endpoint="swap", params={"from": "USDC", "to": "ETH", "amount": "100"})

# Execute (requires typed authority; a public DAV uses a valid PRISM receipt)
receipt = client.pay(
quote_id=quote.id,
payment_tx="0x...",
authorization_receipt="receipt:..."
)

print(receipt.id) # ofn:2026:...

Webhook​

Configure webhooks for settlement events:

client.webhooks.create(
url="https://your-domain.com/webhooks/skyzai",
events=["settlement.confirmed", "settlement.failed", "receipt.emitted"]
)

Security​

These safeguards are design requirements, not evidence that a public payment endpoint enforces them today.

  • Typed authority: High-value acts require the lawful executor and authorization receipt appropriate to the acting Person; every exact public-DAV consequence requires a complete valid bound PRISM decision receipt from the signer(s) required by applicable law, the entity's governing instrument, or a valid competent mandate binding that exact consequence; PRISM verifies only
  • Constraint gate: A proposed check may HOLD, RETURN or produce a non-authorising PASS; it does not supply the legal authority to execute.
  • Replay Protection: Nonce-based replay protection on all payment transactions
  • Timelock: 24-hour timelock on settlement execution (configurable per contract)

η = 0 Compliance​

This retained charge classification is a proposal, not an accepted tariff or statement of what an external rail charges.

ChargeableNot Chargeable
Software developmentSettlement access
Integration servicesDLT rail usage
Dashboards and analyticsChain gas fees (pass-through)
Support and SLASovereignty or exit

  • Product page: /products/api-pay/
  • Buyer deck: /products/api-pay/deck/
  • Resource room: /products/api-pay/resources/
  • Access form: /products/api-pay/access/
  • Adjacent canon: OFN Receipts (P1), Wallet Boundaries (P3)
  • Source markdown: (private, unpublished)

Refer to the canonical WEBSITE.md source for complete product spec. This wiki page exists so the .com → .org bidirectional pair resolves cleanly.


See Also​


Context: API Pay.

Skyzai, close at hand.

Keep this website on your home screen and read saved pages offline. The connected app at skyzai.com is still in development.

On iPhone or iPad, open this site in Safari, choose Share → Add to Home Screen, then Open as Web App if offered. On Android or desktop, use your browser’s Install app or Add to Home screen menu when available.

Offline reading & privacy

Offline reading becomes available after the initial download. External sites are not saved. Your browser may evict saved pages.

Conversations and drafts are never saved by the offline cache. Reloading clears them. To remove downloaded pages, clear this website’s data in browser settings; uninstalling alone may not clear it.