Skip to main content
The operation contract comes from the generated OpenAPI 3.1 document. The endpoint pages in this section are generated from that same document, so they always match the checked-in spec.

Base URL

Local sandbox:
Production providers expose the same routes under their own origin and publish discovery metadata at /.well-known/lip.

Authentication

All /lip/v1 routes require Bearer authentication except public discovery and health checks.
The reference token is for local development only. Production providers should issue scoped credentials, rotate secrets, and document rate limits.

Discovery

Idempotency and retries

Every mutating request contains context.idempotency_key. Reuse the same key when retrying after a lost response. Do not silently retry financial mutations with a new key. The OpenAPI document marks safe operations with x-lip-safe-to-retry. The SDK uses bounded retries for reads and discovery, but not for accrual, redemption, enrollment, or adjustment mutations.

Errors

Errors use RFC 9457 problem details with application/problem+json. Validation errors include JSON paths:
Domain failures (insufficient balance, expired reservations, idempotency conflicts) use their own stable codes with appropriate 4xx statuses.

Admin API boundary

The local Admin dashboard uses /admin/api/v1/*. Those routes are reference-platform conveniences and are not part of the LIP protocol contract. POS, ordering, wallet, and loyalty-provider integrations should target /lip/v1 only.