Balances
Generated from the OpenAPI document, API version 2026-12-01. Money is always a decimal string with a currency code.
- GET
/v1/balancesBalances per currency - GET
/v1/balance-transactionsLedger entries of the merchant - GET
/v1/statementsThe statement of one business day: opening, money in and out, fees, adjustments, closing (per chain for USDT) - POST
/v1/settlementsRequest a settlement to a registered destination - GET
/v1/settlementsList settlements - GET
/v1/settlements/{id}Retrieve a settlement - GET
/v1/settlement-destinationsDestinations registered in the portal - GET
/v1/topupsThe merchant's top-ups (prefunding) - GET
/v1/topup-addressesThe project's USDT top-up address per chain
Balances per currency
GET /v1/balances
- Scope:
balances:read - Success: HTTP 200
Example request
GET /v1/balances 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 Balances object
| Field | Type | Notes |
|---|---|---|
object | "balances" | |
livemode | boolean | |
data | array of object | |
data[].currency | enum | one of INR USDT |
data[].total | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].available | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].frozen | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].pending | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].reserved | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].held | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].holds | array of object | |
data[].holds[].id | string | |
data[].holds[].object | "hold" | |
data[].holds[].amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].holds[].comment | string | |
data[].holds[].placed_at | timestamp | |
data[].debt | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].net | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].unfunded_payouts | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].projected | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain | array of object | |
data[].by_chain[].chain | enum | one of tron bsc |
data[].by_chain[].amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
Example response
{
"object": "balances",
"livemode": true,
"data": [
{
"currency": "INR",
"total": "total",
"available": "10000.00",
"frozen": "10000.00",
"pending": "10000.00",
"reserved": "10000.00",
"held": "10000.00",
"holds": [
{
"id": "hold_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "hold",
"amount": "10000.00",
"comment": "comment",
"placed_at": "2026-11-23T10:00:00.000Z"
}
],
"debt": "10000.00",
"net": "net",
"unfunded_payouts": "10000.00",
"projected": "projected"
}
]
}Ledger entries of the merchant
GET /v1/balance-transactions
- Scope:
balances:read - Success: HTTP 200
Query
| Field | Type | Notes |
|---|---|---|
limit | integer | min 1; max 100; default 20 |
starting_after | string | at most 40 characters |
ending_before | string | at most 40 characters |
currency | enum | one of INR USDT; default "INR" |
Example request
GET /v1/balance-transactions 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 — a list of BalanceTransaction objects
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].id | string | |
data[].object | "balance_transaction" | |
data[].type | string | |
data[].account | enum | one of available pending reserved held debt |
data[].amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].currency | enum | one of INR USDT |
data[].source | object or null | may be null |
data[].source.type | string | |
data[].source.id | string | |
data[].note | string | null | |
data[].created_at | timestamp | |
has_more | boolean |
Example response
{
"object": "list",
"data": [
{
"id": "id",
"object": "balance_transaction",
"type": "type",
"account": "available",
"amount": "amount",
"currency": "INR",
"source": {
"type": "type",
"id": "id"
},
"note": "note",
"created_at": "2026-11-23T10:00:00.000Z"
}
],
"has_more": true
}The statement of one business day: opening, money in and out, fees, adjustments, closing (per chain for USDT)
GET /v1/statements
- Scope:
balances:read - Success: HTTP 200
Query
| Field | Type | Notes |
|---|---|---|
day | string | pattern ^\d{4}-\d{2}-\d{2}$ |
Example request
GET /v1/statements 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 Statement object
| Field | Type | Notes |
|---|---|---|
object | "statement" | |
livemode | boolean | |
day | string | |
timezone | string | |
final | boolean | |
data | array of object | |
data[].currency | enum | one of INR USDT |
data[].opening | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].money_in | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].money_out | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].fees | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].adjustments | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].late | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].closing | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain | array of object | |
data[].by_chain[].chain | enum | one of tron bsc |
data[].by_chain[].opening | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain[].money_in | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain[].money_out | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain[].fees | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain[].adjustments | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain[].late | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
data[].by_chain[].closing | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance |
Example response
{
"object": "statement",
"livemode": true,
"day": "day",
"timezone": "timezone",
"final": true,
"data": [
{
"currency": "INR",
"opening": "opening",
"money_in": "money_in",
"money_out": "money_out",
"fees": "fees",
"adjustments": "adjustments",
"late": "late",
"closing": "closing"
}
]
}Request a settlement to a registered destination
POST /v1/settlements
- Scope:
settlements:write Idempotency-Keyrequired — use your own id- Success: HTTP 201
Body
| Field | Type | Required | Notes |
|---|---|---|---|
amount | money string | yes | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | yes | one of INR USDT |
destination_id | string | yes | at most 40 characters |
outside_hours_ack | boolean |
Example request
POST /v1/settlements 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>
Idempotency-Key: your-own-id
Content-Type: application/json
{
"amount": "10000.00",
"currency": "INR",
"destination_id": "destination_id"
}The five NP-… headers are the request's signature: how to make them.
Response — the Settlement object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "settlement" | |
livemode | boolean | |
method | enum | one of queue manual_usdt |
status | string | |
amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | one of INR USDT |
destination | object or null | may be null |
destination.id | string | |
destination.masked | string | |
initiated_by | enum | one of merchant platform |
usdt_amount | string | null | |
rate | string | null | |
chain | string | null | |
tx_hash | string | null | |
created_at | timestamp |
Example response
{
"id": "st_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "settlement",
"livemode": true,
"method": "queue",
"status": "status",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"destination": {
"id": "id",
"masked": "masked"
},
"initiated_by": "merchant",
"usdt_amount": "usdt_amount",
"rate": "rate",
"chain": "chain",
"tx_hash": "tx_hash",
"created_at": "2026-11-23T10:00:00.000Z"
}List settlements
GET /v1/settlements
- Scope:
settlements:read - Success: HTTP 200
Query
| Field | Type | Notes |
|---|---|---|
limit | integer | min 1; max 100; default 20 |
starting_after | string | at most 40 characters |
ending_before | string | at most 40 characters |
Example request
GET /v1/settlements 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 — a list of Settlement objects
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].id | string | |
data[].object | "settlement" | |
data[].livemode | boolean | |
data[].method | enum | one of queue manual_usdt |
data[].status | string | |
data[].amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].currency | enum | one of INR USDT |
data[].destination | object or null | may be null |
data[].destination.id | string | |
data[].destination.masked | string | |
data[].initiated_by | enum | one of merchant platform |
data[].usdt_amount | string | null | |
data[].rate | string | null | |
data[].chain | string | null | |
data[].tx_hash | string | null | |
data[].created_at | timestamp | |
has_more | boolean |
Example response
{
"object": "list",
"data": [
{
"id": "st_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "settlement",
"livemode": true,
"method": "queue",
"status": "status",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"destination": {
"id": "id",
"masked": "masked"
},
"initiated_by": "merchant",
"usdt_amount": "usdt_amount",
"rate": "rate",
"chain": "chain",
"tx_hash": "tx_hash",
"created_at": "2026-11-23T10:00:00.000Z"
}
],
"has_more": true
}Retrieve a settlement
GET /v1/settlements/{id}
- Scope:
settlements:read - Success: HTTP 200
Path
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Example request
GET /v1/settlements/<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 Settlement object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "settlement" | |
livemode | boolean | |
method | enum | one of queue manual_usdt |
status | string | |
amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | one of INR USDT |
destination | object or null | may be null |
destination.id | string | |
destination.masked | string | |
initiated_by | enum | one of merchant platform |
usdt_amount | string | null | |
rate | string | null | |
chain | string | null | |
tx_hash | string | null | |
created_at | timestamp |
Example response
{
"id": "st_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "settlement",
"livemode": true,
"method": "queue",
"status": "status",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"destination": {
"id": "id",
"masked": "masked"
},
"initiated_by": "merchant",
"usdt_amount": "usdt_amount",
"rate": "rate",
"chain": "chain",
"tx_hash": "tx_hash",
"created_at": "2026-11-23T10:00:00.000Z"
}Destinations registered in the portal
GET /v1/settlement-destinations
- Scope:
settlements:read - Success: HTTP 200
Example request
GET /v1/settlement-destinations 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 — a list of SettlementDestination objects
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].id | string | |
data[].object | "settlement_destination" | |
data[].kind | string | |
data[].masked | string | |
data[].usable_after | timestamp | |
data[].usable | boolean | |
has_more | boolean |
Example response
{
"object": "list",
"data": [
{
"id": "id",
"object": "settlement_destination",
"kind": "kind",
"masked": "masked",
"usable_after": "2026-11-23T10:00:00.000Z",
"usable": true
}
],
"has_more": true
}The merchant's top-ups (prefunding)
GET /v1/topups
- Scope:
balances:read - Success: HTTP 200
Query
| Field | Type | Notes |
|---|---|---|
limit | integer | min 1; max 100; default 20 |
starting_after | string | at most 40 characters |
ending_before | string | at most 40 characters |
Example request
GET /v1/topups 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 — a list of Topup objects
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].id | string | |
data[].object | "topup" | |
data[].status | string | |
data[].amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].currency | enum | one of INR USDT |
data[].created_at | timestamp | |
has_more | boolean |
Example response
{
"object": "list",
"data": [
{
"id": "id",
"object": "topup",
"status": "status",
"amount": "10000.00",
"currency": "INR",
"created_at": "2026-11-23T10:00:00.000Z"
}
],
"has_more": true
}The project's USDT top-up address per chain
GET /v1/topup-addresses
- Scope:
balances:read - Success: HTTP 200
Example request
GET /v1/topup-addresses 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 — a list of TopupAddress objects
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].object | "topup_address" | |
data[].chain | string | |
data[].address | string | |
has_more | boolean |
Example response
{
"object": "list",
"data": [
{
"object": "topup_address",
"chain": "chain",
"address": "address"
}
],
"has_more": true
}