FurlPay Docs
Open App
  • Platform Overviewupdated
  • API Referencenew
  • 5-Minute Sandbox Quickstartupdated
  • Sandbox & Test Assetsnew
  • Create a Developer Account
  • Identity & KYC Verification
  • Passkeys & Biometrics
  • Transaction Statuses & Retries
  • Frequently Asked Questions
  • Core Primitives & Money Modelnew
  • Merchant Payments & Invoices
  • Contractor Payroll & Batch Payouts
  • EIP-3009 Gasless & Recurring
  • Circle CCTP Cross-Chain
  • LI.FI Cross-Chain Swaps
  • Solana Actions & Blinks
  • Wallet Infrastructure & Handles
  • Market Data Streams
  • Gasless Transfers Availability
  • Deposits & Withdrawals Support
  • Agentic Finance Overviewupdated
  • x402 & MPP Settlement Gatewayupdated
  • Agent Identity, Trust & TAP Mandatesupdated
  • Autonomous Finance & Policies
  • Claude Connector (MCP + OAuth 2.1)
  • AI Assistants & HITL Approvals
  • x402 Monetization Basics
  • Settlement Workspace & Maker-Checker
  • Transaction Truth & Double-Entry Ledgerupdated
  • Par 1:1 Routing Simulator Overview
  • Par Quote Engine & Swap Lifecycle
  • Par Networks & Settlement Assets
  • Par Operator Console
  • Par API Reference
  • Par Webhooks
  • Par AML & Travel Rule
  • Screening, Monitoring & Travel Rule
  • Circle Integration
  • Stripe Crypto Integration
  • Persona KYC Integration
  • API Conventions & Idempotencyupdated
  • Authentication, Keys & Versioning
  • Webhooks (PUSH HMAC-SHA512 & PULL)
  • Errors & Exception Playbooks
  • Rate Limits & Retry-After
  • Official SDKs (TS, Python, Go, Rust)updated
  • FurlPay CLI (@furlpay/cli) & MCP
  • Monorepo & Package Reference
  • SDK & API Integration Support
  • Cryptographic Architecture & KMS
  • Security Posture & Isolation
  • Signing Boundaries & WebAuthn
  • Production Configuration & Workers
  • Colocation Directory
  • Security & Compliance Frameworks
  • Regulatory & Launch Posture
  • Privacy, Redaction & GDPR

CLI full reference

  • CLI overview & install
  • Command index
  • MCP tool reference
  • Honesty matrix

Resources

  • Interactive Developer Workbench
  • Operational Status (/status)
  • Release Changelog
  • OpenAPI 3.1 Spec
  • Postman Collection
  • llms.txt (AI Index)
  • llms-full.txt (Full Docs)
  • Network & Assets
  • Proof of Reserves
  • Terms of Service
  • Privacy & DPA
  • Regulatory Disclosures
  • Security Disclosures
  • Contact Support
  • GitHub
Docs/01. Get Started/API Reference

API reference · v1

FurlPay API

Programmable stablecoin payments, transparent conversion and financial infrastructure. This page lists only routes that exist in the repository; schemas are quoted from their validation code.

Environment: Par is Sandbox-only. Production settlement, custody vaults and chain RPCs are not enabled, so no request here can move real funds.

Quickstart

01

Create an account

Register, then complete any verification the console asks for.

Create account
02

Generate a Sandbox key

Sandbox credentials are separate from production and never leave the server.

Open API keys
03

Request a quote

POST the Par quote body below; the response is a locked quote with an expiry.

Open Par console
04

Watch the states

Create the swap, then follow deposit → confirmation → settlement.

Webhook guide

Authentication

API routes accept a FurlPay API key in the Authorization header. Console routes use the authenticated session instead. Keys are shown once at creation, are environment-scoped and must never be embedded in a browser bundle.

Manage keys in the developer console.

Verified endpoints

Methods and bodies below are read from the route handlers. There is no published OpenAPI document yet, so none is advertised; this table is the contract of record for now.

MethodPathAuthBodyNotes
POST/api/par/quotesAPI keysellToken, buyToken, sellNetwork, buyNetwork, sellAmount, operatorRef?Locks a 1:1 quote; response carries quoteId and expiresAt.
GET/api/par/swapsAPI key—Lists the operator's swaps, newest first.
POST/api/par/swapsAPI keyquoteId, deposit detailsCreates a swap from a live, unused quote.
GET/api/par/stateAPI key—Aggregate Par state for the operator.
POST/api/orders/newSessionquoteId, networkId, walletId, bankAccountIdCreates an order from a server-stored quote.
POST/api/wallet/chains/challengeSessionchain, addressIssues an account-bound signing challenge.

Request and response

Request

POST /api/par/quotes
Authorization: Bearer <furlpay_api_key>
Content-Type: application/json

{
  "sellToken": "USDT",
  "buyToken": "USDC",
  "sellNetwork": "ethereum",
  "buyNetwork": "arbitrum",
  "sellAmount": "1000.00",
  "operatorRef": "invoice-1042"
}

Response shape

{
  "quoteId": "uuid",
  "sellToken": "USDT",
  "buyToken": "USDC",
  "sellNetwork": "ethereum",
  "buyNetwork": "arbitrum",
  "sellAmountMinor": "1000000000",
  "buyAmountMinor": "1000000000",
  "rate": "1.000000",
  "createdAt": "ISO-8601",
  "expiresAt": "ISO-8601",
  "environment": "sandbox"
}

cURL

curl -X POST https://furlpay.com/api/par/quotes \
  -H "Authorization: Bearer $FURLPAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sellToken":"USDT","buyToken":"USDC","sellNetwork":"ethereum","buyNetwork":"arbitrum","sellAmount":"1000.00"}'

Lifecycle and idempotency

Quotes expire; swaps move through locked, deposit_detected, deposit_confirmed, aml_screening, settling, completed, or fail to failed / expired. The engine rejects illegal transitions.

Order creation accepts a client order id and returns the original order on replay. Par quotes are single-use: a reused quote is refused rather than repriced. Webhooks are HMAC-SHA256 over ${timestamp}.${rawBody}.

Errors and limits

Failures return a code and message; validation failures include the field. Rate limits are per credential and return 429 with a retry hint. See the error guide and rate limits.

Machine-readable: /llms.txt indexes the docs. There is no OpenAPI JSON or Postman collection yet — publishing one before the contract is final would be a promise the API cannot keep.