Loading…
One platform for Authentication, country-aware Billing, AI Credits, Payments & Feedback — so your product (and Flex) ships faster with infrastructure that already scales across markets.
Developers · portal.infiniotics.com
Coming soon
Country-aware plans, self-serve gateways, multi-tenant apps & developer dashboard.
Flex Platform
Early access open
SSO live
JWT · Google
12,480
Balance
PKR / USD
PK · Intl
8 models
Free + Premium
Production APIs your apps can call this week — Auth, country-aware plans, multi-currency billing, AI, payments, and the Feedback API under one roof.
SSO-ready login, Google auth, and JWTs for every product app — one identity layer.
Serve the right plan catalog by market: PKR and JazzCash in Pakistan, USD and Lemon Squeezy internationally.
Author plan rows in the currencies your business supports, then keep checkout, invoices, and renewals aligned.
Free users (0 credits) only see free models. Users with credits unlock premium models.
JazzCash for Pakistan, Lemon Squeezy internationally — gateway-agnostic webhooks.
Ship bugs, feature requests, and in-app feedback from Flex or any product into one Infiniotics inbox.
Four steps from zero to your first Infiniotics API call.
01
Sign up on the portal. Your AI wallet and product access live in one place.
02
Create an AI developer key via POST /api/v1/ai/keys — or register a platform client for SSO.
03
Next.js, Flutter, React Native, or Node — copy a guide below and ship.
04
List models, send a chat, or start checkout. Errors are structured and actionable.
curl -X POST https://www.infiniotics.com/api/v1/ai/chat \
-H "Authorization: Bearer infai_…" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Hello Infiniotics"}]}'Deep dives for Auth, country-aware plans, AI Gateway, Billing, Webhooks, and errors — written for shipping teams.
Secure sign-in for your product apps via Infiniotics SSO / platform API.
curl -X POST https://www.infiniotics.com/api/platform/v1/login \
-H "Content-Type: application/json" \
-H "X-Infiniotics-Client-Id: your_client_id" \
-H "X-Infiniotics-Api-Key: inf_…" \
-d '{"email":"user@shop.com","password":"••••••••"}'Copy-paste starters for the stacks teams actually ship with.
App Router · TypeScript
Call Infiniotics AI + billing from Route Handlers or server actions.
1. Env
INFINIOTICS_AI_KEY=infai_your_key_here
INFINIOTICS_BASE_URL=https://www.infiniotics.com2. Server helper
const BASE = process.env.INFINIOTICS_BASE_URL!;
const KEY = process.env.INFINIOTICS_AI_KEY!;
export async function infinioticsChat(messages: { role: string; content: string }[]) {
const res = await fetch(`${BASE}/api/v1/ai/chat`, {
method: "POST",
headers: {
Authorization: `Bearer ${KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ model: "gpt-4o-mini", messages }),
});
const json = await res.json();
if (!res.ok || !json.success) {
throw new Error(json.error?.message ?? "Infiniotics chat failed");
}
return json.data as {
message: { content: string };
credits_charged: number;
credit_balance: number;
};
}3. Route handler
import { NextRequest, NextResponse } from "next/server";
import { infinioticsChat } from "@/lib/infiniotics";
export async function POST(req: NextRequest) {
const { prompt } = await req.json();
const data = await infinioticsChat([{ role: "user", content: prompt }]);
return NextResponse.json({ reply: data.message.content, credits: data.credits_charged });
}A clean map of the endpoints you will use most — Auth, country-aware plans, Billing, Credits, and AI Gateway.
{ "email": "user@example.com", "password": "••••••••" }{ "access_token": "…", "refresh_token": "…", "user": { "id": "…" } }See Documentation for full request/response examples.
See Documentation for full request/response examples.
?project_id=<uuid>&country=PK{
"success": true,
"data": {
"plans": […],
"preferred_currency": "PKR",
"currency_matched": true
}
}{ "user_id": "…", "project_id": "…", "plan_id": "…", "country": "PK" }{ "success": true, "data": { "payment_mode": "online|manual|support", "checkout_url": "…|null", "bank": null, "support_email": "…" } }See Documentation for full request/response examples.
{ "user_id": "…", "project_id": "…", "product": "bizora-ledger", "feature": "ai_chat" }{ "success": true, "data": { "credit_balance": 500, "models": […] } }{ "model": "gpt-4o-mini", "messages": [{ "role": "user", "content": "Hi" }] }See Documentation for full request/response examples.
See Documentation for full request/response examples.
{ "name": "Production backend" }See Documentation for full request/response examples.
{
"project_id": "<product-uuid>",
"user_id": "<infiniotics-user-uuid>",
"type": "feedback | bug | feature_request",
"title": "Short summary",
"description": "Details (min 10 chars)",
"source": "api | sdk | web",
"metadata": { "app_version": "1.2.0", "page": "/settings", "product": "flex" },
"contact_email": "optional@email.com"
}{
"success": true,
"data": {
"id": "…",
"project_id": "…",
"user_id": "…",
"type": "bug",
"title": "…",
"status": "new",
"created_at": "…"
}
}?project_id=<uuid>&user_id=<uuid>&type=bug&status=new&limit=50{
"success": true,
"data": {
"items": [{ "id": "…", "user_id": "…", "status": "new", "…" }],
"total": 1,
"limit": 50,
"offset": 0
}
}?project_id=&user_id=&type=bug&status=new&search=&limit=50{
"id": "<feedback-uuid>",
"status": "reviewing | planned | in_progress | resolved | closed",
"internal_notes": "…",
"reply_message": "Optional message to the submitter",
"send_reply": true
}Country-aware plan catalogs, multi-currency billing, payment gateway onboarding, multi-tenant apps, webhook destinations, and a developer dashboard — all under Flex.
Connect gateways for your product without waiting on Infiniotics ops.
Return the appropriate plan catalog and payment route for each customer market.
Define localized plan rows without mixing currencies in a customer-facing checkout.
POST /api/v1/feedback from Flex or any app — bugs, ideas, and NPS-style notes land in Admin → Platform Feedback.
Organizations, environments, and isolated credentials for every customer.
Live usage, credit burn, webhook delivery, and API health in one console.
Scoped keys, audit trails, and rate policies you configure yourself.
Tell us what you’re building. We’ll invite builders in waves as Flex opens.
We read every developer note. Community links land with Flex.