HomeDocumentationIntroduction

Welcome to Reimburse AI

Reimburse AI is an AI-powered expense management platform that automates receipt auditing and enables instant USDC payouts on Avalanche.

Core Features

  • 1AI Receipt Auditing: GPT-4o Vision extracts vendor, amount, date, and validates against your expense policy.
  • 2Instant USDC Payouts: Approved expenses are paid out in seconds on Avalanche blockchain.
  • 3x402 Protocol: HTTP-native payment protocol for pay-per-use API access.

Quick Example

Submit an expense and trigger an AI audit with a simple API call:

bash
# Upload a receipt
curl -X POST https://api.reimburseai.app/receipts/upload \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@receipt.jpg" \
  -F "employee_id=emp_123"

# Response
{
  "receipt_id": "rec_abc123",
  "status": "uploaded",
  "audit_status": "pending"
}
bash
# Trigger AI audit
curl -X POST https://api.reimburseai.app/audit/receipt \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"receipt_id": "rec_abc123"}'

# Response
{
  "receipt_id": "rec_abc123",
  "audit_result": {
    "vendor": "United Airlines",
    "amount": 450.00,
    "date": "2024-01-15",
    "category": "Travel",
    "approved": true,
    "confidence": 0.97
  },
  "payout_status": "completed",
  "tx_hash": "0xabc123..."
}

x402 Protocol

The x402 protocol enables HTTP-native micropayments. Each API request can be paid for with USDC using ERC-3009 signatures:

bash
# Make a paid API request with x402
curl -X POST https://api.reimburseai.app/audit/receipt \
  -H "X-Payment: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..." \
  -H "Content-Type: application/json" \
  -d '{"receipt_id": "rec_abc123"}'

# The X-Payment header contains:
# - ERC-3009 authorization signature
# - Payment amount (0.50 USDC per audit)
# - Nonce for replay protection

Next Steps