DoPayo Provider API v2
Perfect Panel compatible provider endpoint for DoPayo services.
Connection
Send HTTPS POST requests to https://api.dopayo.com/api/v2. Parameters may be sent as application/x-www-form-urlencoded or JSON. Authentication uses the key parameter. All responses are JSON.
Actions
| Action | Required parameters | Successful response |
|---|---|---|
services | key, action | Array of service objects |
balance | key, action | {"balance":"100.000000","currency":"USD"} |
add | key, action, service, link, quantity | {"order":123} |
status | key, action, order or orders | Order status object |
refill | key, action, order or orders | Refill request ID |
refill_status | key, action, refill or refills | Refill status object |
cancel | key, action, orders | Per-order cancellation result |
Services
Use action=services. Each item contains service, name, type, category, rate, min, max, refill, and cancel. Rates are quoted per 1,000 units in USD.
Create order
Use action=add. Only the Default order type is supported. The optional request_id provides idempotency: retrying the same request returns the original order ID without charging twice.
Order status
Use order for one order or a comma-separated orders value for up to 100 orders. Status values are Pending, In progress, and Completed. Responses also include charge, start_count, remains, and currency.
Refill and cancellation
Availability is declared separately for each service through the refill and cancel fields. Refill requests receive their own ID and can be checked with refill_status. Cancellation is accepted only before worker fulfillment begins and is idempotent.
Errors and limits
Errors return {"error":"message"}. Batch status, refill, refill-status, and cancellation requests accept up to 100 comma-separated IDs. The endpoint permits up to 120 requests per minute per source.