Reports
Generated from the OpenAPI document, API version 2026-12-01. Money is always a decimal string with a currency code.
- POST
/v1/reportsRequest a CSV export (balance transactions, pay-ins or payouts) - GET
/v1/reports/{id}Retrieve an export and its download link
Request a CSV export (balance transactions, pay-ins or payouts)
POST /v1/reports
- Scope:
reports:write - Success: HTTP 202
Body
| Field | Type | Required | Notes |
|---|---|---|---|
kind | enum | yes | one of balance_transactions payins payouts |
currency | enum | one of INR USDT; default "INR" | |
from | string | yes | pattern ^\d{4}-\d{2}-\d{2}$ |
to | string | yes | pattern ^\d{4}-\d{2}-\d{2}$ |
Example request
POST /v1/reports HTTP/1.1
Host: api.mynicepanel.com
NP-Key-Id: np_test_kid_…
NP-Timestamp: 1794900000
NP-Nonce: <16 random bytes, base64url>
NP-Algorithm: hmac-sha256
NP-Signature: <base64>
Content-Type: application/json
{
"kind": "balance_transactions",
"from": "2026-11-01",
"to": "2026-11-01"
}The five NP-… headers are the request's signature: how to make them.
Response — the Report object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "report" | |
livemode | boolean | |
kind | enum | one of balance_transactions payins payouts |
currency | enum | one of INR USDT |
from | string | pattern ^\d{4}-\d{2}-\d{2}$ |
to | string | pattern ^\d{4}-\d{2}-\d{2}$ |
time_zone | string | |
status | enum | one of queued ready failed |
row_count | integer or null | may be null |
sha256 | string | null | |
error | string | null | |
created_at | timestamp | |
ready_at | timestamp or null | may be null |
download_url | string | null | |
download_expires_at | timestamp or null | may be null |
Example response
{
"id": "rep_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "report",
"livemode": true,
"kind": "balance_transactions",
"currency": "INR",
"from": "2026-11-01",
"to": "2026-11-01",
"time_zone": "time_zone",
"status": "queued",
"row_count": 1,
"sha256": "sha256",
"error": "error",
"created_at": "2026-11-23T10:00:00.000Z",
"ready_at": "2026-11-23T10:00:00.000Z",
"download_url": "download_url",
"download_expires_at": "2026-11-23T10:00:00.000Z"
}Retrieve an export and its download link
GET /v1/reports/{id}
- Scope:
reports:write - Success: HTTP 200
Path
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Example request
GET /v1/reports/<id> HTTP/1.1
Host: api.mynicepanel.com
NP-Key-Id: np_test_kid_…
NP-Timestamp: 1794900000
NP-Nonce: <16 random bytes, base64url>
NP-Algorithm: hmac-sha256
NP-Signature: <base64>The five NP-… headers are the request's signature: how to make them.
Response — the Report object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "report" | |
livemode | boolean | |
kind | enum | one of balance_transactions payins payouts |
currency | enum | one of INR USDT |
from | string | pattern ^\d{4}-\d{2}-\d{2}$ |
to | string | pattern ^\d{4}-\d{2}-\d{2}$ |
time_zone | string | |
status | enum | one of queued ready failed |
row_count | integer or null | may be null |
sha256 | string | null | |
error | string | null | |
created_at | timestamp | |
ready_at | timestamp or null | may be null |
download_url | string | null | |
download_expires_at | timestamp or null | may be null |
Example response
{
"id": "rep_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "report",
"livemode": true,
"kind": "balance_transactions",
"currency": "INR",
"from": "2026-11-01",
"to": "2026-11-01",
"time_zone": "time_zone",
"status": "queued",
"row_count": 1,
"sha256": "sha256",
"error": "error",
"created_at": "2026-11-23T10:00:00.000Z",
"ready_at": "2026-11-23T10:00:00.000Z",
"download_url": "download_url",
"download_expires_at": "2026-11-23T10:00:00.000Z"
}