Skip to content

Build with Arbiro. Protect your first payment today, grow into the API tomorrow.

Arbiro documentation

Add buyer protection and dispute resolution to USDC and EURC payments on Base. Guides, API reference, SDK, CLI and the emergency portal.

Arbiro adds buyer protection to stablecoin payments without holding anyone's money. The buyer pays into a public smart contract (RefundProtocolV2 on Base), the funds stay locked for a protection window fixed before the payment, and if something goes wrong Arbiro reviews the evidence and signs a verdict that either party can execute on chain.

Choose your integration

Level What you build Time Guide
1 A payment link from the dashboard or one API call 5 minutes Payment links
2 Your server creates a checkout session; the buyer pays on the hosted checkout 20 minutes Hosted checkout
3 Your backend redeems the delivery token before unlocking a digital product 30 minutes Delivery tokens

Every level works in Test Mode first, on Base Sepolia, with keys that start with arb_test_. See Testing.

How a protected payment works

  1. You create a payment link or a checkout session. Arbiro signs the terms (amount, fee, protection window, payout and refund addresses) before the buyer pays.
  2. The buyer pays with one wallet signature. The tokens go straight into the contract, never to Arbiro.
  3. During the protection window the buyer can open a dispute. Without one, the funds are released to your payout wallet when the window ends.
  4. In a dispute, both parties submit evidence. Arbiro issues a verdict signed with EIP-712; the buyer or you submit it to the contract, which splits the funds exactly as signed.
  5. If no verdict arrives before the on-chain dispute deadline (30 days), anyone can refund the buyer in full. Arbiro cannot freeze or redirect funds.

Read Concepts for the details: windows, fees, instant payouts and how verdicts are signed.

Conventions of the API

  • Base URL: https://arbiro.com/v1. Authenticate with Authorization: Bearer <secret key> from your server only.
  • Amounts are strings of integers in atomic units with 6 decimals: "10500000" is 10.50 USDC. Never send floats.
  • Every POST accepts an Idempotency-Key header. Retrying with the same key returns the original result.
  • Errors use RFC 9457 problem details with a stable code field. See the API reference.

Tools

  • @arbiro/sdk: typed client for Node and the browser, webhook verification and a React checkout button.
  • @arbiro/cli: receive webhooks on localhost and trigger test events.
  • Emergency portal: a static page that acts on a payment directly on the contract, even if Arbiro is offline.

Updated