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/Sandbox & Test Assets

Getting Started

Sandbox & Simulators

Every asynchronous settlement, KYB verification, maker-checker approval, x402 mandate check, and HMAC-SHA512 webhook delivery is deterministically testable without waiting on manual approvals or on-chain gas.

Environment Boundary

Sandbox keys (fp_test_* and sk_test_*) strictly target simulated ledgers. Responses carry simulated: true. Live keys (sk_live_*) are refused with 403 wrong_environment.

Simulator Endpoint Reference

MethodPathDescription
POST/api/sandbox/keysMint a 24-hour self-serve sandbox trial key (fp_test_*) and webhook signing secret (whsec_sbx_*).
POST/api/sandbox/customersCreate a sandbox individual or business entity with synchronous sanctions/country screening.
POST/api/sandbox/customers/{id}/simulate-kybTransition a pending entity to approved or rejected and emit an entity KYB URN event.
POST/api/sandbox/quotesLock a 10-minute forward (sourceAmount) or reverse (destinationAmount) decimal-string quote.
POST/api/sandbox/settlementsCreate an idempotent settlement bound to an unexpired, unused quote and KYB-approved entity.
POST/api/sandbox/settlements/{id}/simulate-depositTrigger deposit detection -> settled (or pending_approval when requireMakerChecker is true).
POST/api/sandbox/settlements/{id}/simulate-approvalSimulate a maker-checker approver signing or rejecting a pending settlement.
POST/api/sandbox/x402/simulate-settlementEvaluate an HTTP 402 (x402) or MPP transaction against maxPolicyAmount and settle deterministically.
GET/api/sandbox/eventsCursor-paginated PULL webhook event stream returning rawBody bytes and X-FurlPay-Signature.
POST/api/sandbox/webhooks/testEmit a sample event envelope showing exact headers and the versioned raw-body signature (v1 HMAC-SHA256, v2 HMAC-SHA512).

Simulating Agent Spend Policies (x402 & MPP)

Test both successful policy execution (201 settled) and mandate ceiling blocks (403 ERR_POLICY_LIMIT_EXCEEDED):

bash
# Policy DENY example: amount exceeds maxPolicyAmount -> 403 ERR_POLICY_LIMIT_EXCEEDED
curl -sS -X POST https://furlpay.com/api/sandbox/x402/simulate-settlement \
  -H "Authorization: Bearer $FP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resource":"/api/x402/market-data","amount":"12.50","maxPolicyAmount":"5.00","chain":"base","protocol":"x402"}'

Testing Maker-Checker Holds

ParameterTypeDescription
requireMakerCheckeroptionalbooleanPass true to simulate-deposit to pause settlement in pending_approval until simulate-approval runs.
decisionoptional"approve" | "reject"Passed to simulate-approval to finalize settled receipt or record rejection.
Idempotency-Keyrequiredheader (8-128 chars)Required on settlement creation; mismatched payload returns 422 ERR_IDEMPOTENCY_CONFLICT.

Prefer an interactive browser runner? Launch /developer to step through every simulator in one click.

Did this page help?
Edit this page on GitHub

Previous

5-Minute Sandbox Quickstart

Next

Create a Developer Account