Skip to main content

HeyPeppy API Reference

Welcome to the HeyPeppy REST API reference. Use this API to integrate automated Vision AI receipt extraction, proof-of-payment auditing, and scholarship purchasing policy validation into your Education Savings Account (ESA) portal or SFO platform.

Interactive API Playground

Every endpoint has its own dedicated sub-page featuring parameter tables, response schemas, code generators, and an interactive right-hand Test Console where you can plug in your API key and send test requests.


Base URLs​

The HeyPeppy API provides a dedicated sandbox environment for testing and integration:

EnvironmentBase URLPurpose
Sandbox / Staginghttps://staging-api.heypeppy.ai/v1Testing and integration sandbox (targeted by the Interactive Test Console).

Authentication & Headers​

All requests require authentication using Bearer tokens in the Authorization header (or X-API-Key):

Authorization: Bearer hp_test_your_api_key_here
X-Tenant-ID: stepup
Content-Type: application/json
  • Authorization (Required): Your tenant API key prefixed with Bearer (hp_test_...). Alternatively, use the X-API-Key header.
  • X-Tenant-ID (Optional): B2B tenant identifier (stepup, odyssey, classwallet). Inferred automatically from your API key if omitted.
  • Content-Type (Required for POST/PUT): application/json (or multipart/form-data when uploading files directly).

Available Endpoints​

Explore the dedicated endpoint documentation and test consoles:

MethodEndpointDescriptionLink
POST/receipts/extractSubmit receipt (via receiptUrl, fileBase64, or multipart upload) for asynchronous extraction via Cloud Tasks queue. Supports optional categorizeItems for line item policy audit and includeCoordinates for bounding box geometry.View Endpoint & Test →
POST/receipts/extract-syncReal-time synchronous extraction for interactive receipts (<6s). Supports optional categorizeItems for line item policy audit and includeCoordinates for bounding box geometry.View Endpoint & Test →
POST/submissions/auditComprehensive compliance audit against Florida PEP/UA handbook rules (synchronous or async via async: true).View Endpoint & Test →
POST/batchesEnqueue a bulk batch of up to 1,000 receipts in parallel.View Endpoint & Test →
GET/batches/{batchId}Inspect the progress and aggregated completion metrics of a bulk batch job.View Endpoint & Test →
GET/jobs/{jobId}Inspect the status, execution metrics, and full results of an async job.View Endpoint & Test →

OpenAPI 3.1 Specification​

The machine-readable OpenAPI specification is available for download at /openapi.yaml.