Quickstart — businesses

Create an org agent that can receive checkout and send outbound USDC.

  1. Open Business hub → create agent
  2. Use the agent key for outbound /api/v1/payments
  3. Use the same key (or merchant key) for POST /api/v1/checkout-sessions
# Create checkout (receive)
curl -X POST https://api.bruce.money/api/v1/checkout-sessions \
  -H "X-Api-Key: $BRUCE_AGENT_KEY" \
  -H "Idempotency-Key: co-1" \
  -H "Content-Type: application/json" \
  -d '{"amount":"50.00","description":"API setup"}'

# Outbound pay
curl -X POST https://api.bruce.money/api/v1/payments \
  -H "X-Api-Key: $BRUCE_AGENT_KEY" \
  -H "Idempotency-Key: out-1" \
  -H "Content-Type: application/json" \
  -d '{"to":"vendor-slug","amount":"12.00"}'