Authentication
Every API request is authorized with a partner API key. Send it in the Authorization header using the Bearer scheme:
Authorization: Bearer ptk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxAPI-key requests are for partner-level integration. This is different from the session (JWT/OTP) authorization used in the customer panel and must not be confused with it.
Key format
Section titled “Key format”Keys start with a prefix:
| Prefix | Usage |
|---|---|
ptk_live_… | Live (prod) environment |
ptk_test_… | Test environment |
Key management
Section titled “Key management”- The key is shown in full only once, at creation time. Store it securely.
- If lost, it cannot be recovered; you must generate a new key.
- Only a visible identifier of the key (e.g., the last few characters) appears in listings.
Unauthorized requests
Section titled “Unauthorized requests”Requests with an invalid, missing, or revoked key are rejected with 401 Unauthorized and a standard error response.