Placing Orders With the API
Full reference, with every product's fields and examples: Tools > API Access in your panel.
Basics
- Base URL:
https://panel.resellportal.com/wp-json/resellportal/v1 - Headers:
X-API-Key: your_api_keyandX-API-Secret: your_api_secret
Main Endpoints
POST /clientsandDELETE /clients/{id}: create or remove a client.POST /orders: activate a product for a client. The wholesale cost is taken from your wallet.GET /servicesandDELETE /services/{id}: list services and their status, or remove one.- Lookups:
GET /esim-packages,GET /smm-services,GET /domain-search,GET /vpn/servers.
Test Mode
Add "test_mode": true to the JSON body, or send the header X-RP-Test-Mode: 1. You get a realistic response with a would_charge amount, and nothing is charged or created. Build and test your whole integration for free.