Skip to main content
The UniFi API exposes wallet, payment, history, and checkout operations without requiring callers to manage UniFi’s internal services.

Base URL

All requests use HTTPS and JSON unless an endpoint states otherwise.

Authentication

Almost all operations require a bearer credential:
Use a server-side API key for backend integrations.
Never expose an API key in browser code, a mobile application, a public repository, logs, or analytics events.

Response envelope

Successful data responses use a consistent envelope:
Operations that do not return a resource use message instead of data. Error responses are currently plain text, so application logic should branch on the HTTP status rather than parsing the message.

Authentication

Choose an API key and use it safely.

Errors and payment state

Handle retries, receipt states, and duplicate-payment risk.