Skip to main content
1

Fund your prepaid wallet

Open Buy → Wallet in the Haggles Portal and click Add funds. Choose a preset ($5, $10, $25, $50) and complete checkout via PayPal Sandbox Orders v2.
2

Issue a policy-capped Agent Key

Open Buy → Agent keys and click Create key. Configure your server-enforced guardrails:
  • Per-call max: $0.10
  • Daily max: $5.00
  • Monthly max / Allowed hosts / Allowed sellers: optional Save your HAGGLES_KEY (hgk_test_...) from the show-once dialog.
3

Wrap fetch with @haggles/client

Install @haggles/client:
apps/docs/snippets/quickstart-buy.ts