API Reference
Welcome to the Infinite API reference documentation. Our REST API allows you to programmatically manage customers, handle verification workflows, process transfers, and more. We’re also preparing to launch card issuing capabilities - stay tuned!Base URLs
CLI and MCP examples
Every endpoint page includes CLI and MCP tabs next to the usual HTTP snippets.- CLI —
@infinite_dev/cli. Prefer typed commands (infinite customers list) when available; otherwise use the escape hatchinfinite api <METHOD> <path>. - MCP — Infinite MCP Server. The tab is the natural-language prompt for an MCP-connected assistant. MCP is read-only, so write prompts note that the CLI tab executes.
OpenAPI Specification
The complete API specification is available in OpenAPI 3.0 format:
We recommend generating a typed OpenAPI against the file so you can update the OpenAPI very trivially and regenerate the client.
API Versioning
The Infinite API uses URI versioning. All endpoints are prefixed with/v1/ to indicate the API version.
Response Format
All API responses follow a consistent JSON format:Success Response
Error Response
HTTP Status Codes
The API uses standard HTTP status codes:Request Headers
Required Headers
Pagination
List endpoints support pagination. Most endpoints use offset-based pagination, while high-volume endpoints (like transfers) use cursor-based pagination.Offset-Based Pagination
Used by most list endpoints (customers, accounts, etc.). Requestlimit- Number of items to return (1-1000, default 50)offset- Number of items to skip (default 0)
Cursor-Based Pagination
Used by high-volume endpoints like transfers for better performance with large datasets. Requestpage_size- Number of items to return (1-1000, default 50)starting_after- ID of the last item from the previous page
Data Types
Enums
Enum values useSCREAMING_SNAKE_CASE (e.g., PENDING, IN_PROGRESS, PROOF_OF_ADDRESS).
Exception: Payment rails use lowercase (e.g., ach, wire, swift, sepa).
Dates and Timestamps
- Dates (without time):
YYYY-MM-DDformat (e.g.,2026-01-09) - Timestamps (with time): ISO 8601 format with timezone
YYYY-MM-DDTHH:mm:ssZ(e.g.,2026-01-09T14:30:00Z)
Country and Currency Codes
- Country codes: Two-letter ISO 3166-1 alpha-2 (e.g.,
US,GB,DE) - Currency codes: Three-letter ISO 4217 (e.g.,
USD,EUR,USDC)
Filtering and Sorting
Many list endpoints support filtering and sorting:Filtering
Sorting
Idempotency
To prevent duplicate requests, include anIdempotency-Key header with a unique value:
Webhooks
Infinite sends webhooks for important events. Configure webhook endpoints in your dashboard to receive real-time notifications. Common webhook events:customer.createdverification.completedtransfer.processedinvoice.paid
Support
Need help with the API?- Check our guides section for common integration patterns
- Review error handling best practices
- Contact support at support@infinite.dev