Skip to main content
The FlexyPe Checkout API lets you create checkout sessions, authenticate customers with phone-based OTP, and drive the checkout flow end to end. All endpoints accept and return JSON.

Base URL

All API requests are made to:

Authentication

Endpoints are authenticated with an API key sent as a bearer token in the Authorization header:

API key management

1

Access API Keys

In the dashboard, navigate to Settings → API Keys to manage your keys.

Manage API keys

Create, view, and revoke API keys for your store.
2

Generate a new key

Click Generate API Key, provide a name, and click Generate.
3

Store your key securely

The secret is shown only once. Copy it and store it somewhere secure — once you leave the page, the secret is no longer visible and you’ll need to generate a new key.
4

Authenticate your API requests

Send the key as a bearer token on every request:
Never expose your secret API keys in client-side code or public repositories. Treat them like passwords.

Rate limits

The API allows 100 requests per minute. Requests without valid authentication headers are rate limited by IP address. When you exceed a limit, the API responds with HTTP 429 Too Many Requests. Back off and retry after a short delay.

Response format

Every response wraps its result in a consistent envelope.