A reliable panel integration begins with the current API documentation, not with a copied request from an old project. THEPANEL's public API page describes supported actions, required fields and response examples. Use it as the reference for the endpoint and each service type.
Keep service and order IDs separate
A service ID selects a catalog item. An order ID identifies a request already accepted by the panel. Store both with your own internal reference, the target, quantity and submission result. Mixing these IDs makes status checks and support requests harder to resolve.
Refresh catalog assumptions
Check current service availability, price, type and quantity limits before allowing a customer to submit an order. Do not assume that a cached catalog remains valid indefinitely. A type-specific request can require fields that a standard order does not use.
Protect the API key
Keep credentials in your server environment or an appropriate secret store. Do not embed an API key in a public page, downloadable spreadsheet, screenshot or customer-side JavaScript. Avoid logging secrets in request URLs or error reports. Use placeholders in shared examples.
Treat timeouts carefully
A timeout does not prove that a request failed before acceptance. Check the response, stored records and panel history before repeating an order-creation request. Do not assume an idempotency feature exists unless the documentation explicitly provides one. Design an uncertain-result state for manual reconciliation instead of automatically retrying a potentially accepted order.
Verify the full lifecycle
- Validate required fields and quantity before submission.
- Store returned IDs and meaningful errors.
- Handle the documented statuses, including partial and canceled.
- Use only supported refill or cancellation actions.
- Respect documented usage limits and avoid unnecessary polling.
Test with the smallest appropriate controlled workflow and review the result before scaling. This guide does not execute requests or change your API credentials.
Read THEPANEL API documentation · Maintain a reseller catalog

