Core Concepts & API Contract
Core Primitives, Money Model & Unified EVM Routing
FurlPay models every programmable payment, cross-chain transfer, and autonomous agent mandate using five canonical primitives, strict decimal-string arithmetic, and prefixed opaque IDs.
The Five Canonical Primitives
| Parameter | Type | Description |
|---|---|---|
| Entities (ent_*)required | kybStatus | Individual or business counterparties evaluated synchronously against sanctions/country controls before KYB onboarding. |
| Wallets (wlt_*)required | multi-chain | Unified EVM wallet identity across Arbitrum, Base, Ethereum, Polygon, and Optimism, plus explicit Solana and Stellar adapters. |
| Mandates (mnd_*)optional | policy-gated | Delegated cryptographic limits (per-tx ceiling, daily cap, merchant allowlists) binding human or AI agent executions. |
| Quotes (qut_*)required | single-use | Forward (sourceAmount) or reverse (destinationAmount) conversion & fee locks with explicit TTLs (10 min in Sandbox, 15s–15m by corridor). |
| Orders / Settlements (ord_*)required | idempotent | Quote-bound value movements gated by Idempotency-Key, compliance checks, and Cloud KMS / non-custodial signing. |
Strict Financial Data Types
- Decimal strings only: Money values serialize exclusively as decimal strings such as
"250.00"or"0.001000"(up to 6 decimals), backed internally byBigIntmicro-units to prevent IEEE-754 rounding drift. - UTC ISO-8601 timestamps: Every creation, expiration, and settlement timestamp renders in UTC with millisecond precision (
2026-11-26T18:30:00.000Z). - All-inclusive quote transparency & platform fees: Quotes enumerate network fee, spread fee, and optional integrator
platformFeeBpsupfront before execution:
json
{
"id": "qut_sbx_8a3f1c2e...",
"direction": "reverse",
"sourceAsset": "USDC",
"destinationAsset": "USDC",
"sourceChain": "arbitrum",
"destinationChain": "base",
"sourceAmount": "251.375000",
"destinationAmount": "250.00",
"fees": {
"networkFee": "0.25",
"spreadFee": "0.25",
"platformFee": "0.875",
"totalFees": "1.375",
"platformFeeBps": 35
},
"expiresAt": "2026-11-26T18:40:00.000Z"
}Prefixed Opaque Resource Identifiers & Vendor Isolation
Public APIs always expose consistent prefixed resource keys (ent_, wlt_, mnd_, qut_, ord_, txn_, evt_) while stripping upstream KYC, banking, or RPC vendor internal identifiers so switching licensed providers never breaks client schemas.
Three-Phase Production Launch Architecture
Under 2026 GENIUS Act and MiCA expectations, FurlPay separates zero-custody software tooling from regulated custody and fiat corridors:
- Phase 1 — Non-Custodial Control Plane: Client-signed calldata, fee estimates, agent policies, MCP transport, and Sandbox simulators.
- Phase 2 — Single-Chain Policy Settlement: Qualified KMS/MPC signing and funded fee relaying configured on a single primary L2 (Arbitrum or Base).
- Phase 3 — Licensed Fiat & Card Partners: Regulated sponsor bank FBO accounts and KYC/KYB partners prior to local account or card activation.
API Contract Headers
Include
FurlPay-Version: 2026-11 (or X-Api-Version: 2026-11) and Idempotency-Key on settlement creation requests. Unknown versions are rejected with HTTP 400.Did this page help?
Edit this page on GitHub