Access products, generate payment links, and integrate ShopAI into your applications.
Loading configuration status...
If an API key is configured on the server, you must include it in your requests using one of these methods:
X-API-Key header for server-side requests (more secure)api_key query parameter only for client-side/browser requestsGet complete product catalog with all details.
Fetch detailed information for a specific product.
| Parameter | Type | Required | Description |
|---|---|---|---|
| productId | string | Yes | Product identifier |
Get category summary with product counts.
Create payment invoice for a product. Free products return success URL directly.
| Parameter | Type | Required | Description |
|---|---|---|---|
| productId | string | Yes | Product identifier |
| string | No | Customer email for delivery | |
| chatId | string | No | Session/chat identifier |
| Field | Type | Description |
|---|---|---|
| id | string | Unique product identifier |
| name | string | Product display name |
| description | string | Product description |
| price | number | Price in USD (0 = free) |
| is_premium | boolean | Premium badge flag |
| page_count | number | Number of pages |
| mega_url | string | Download link |
| tags | array | Product tags |
| currency | string | Currency code (USD) |
| Field | Type | Description |
|---|---|---|
| invoice_url | string | Payment page URL |
| payment_id | string | Payment identifier |
| price_amount | number | Amount to pay |
| price_currency | string | Currency code |
| product | object | Product info (id, name, price) |
FREE For free products, payment_id starts with FREE_