Nice Paydocs API version 2026-12-01 OpenAPI

Balances

Generated from the OpenAPI document, API version 2026-12-01. Money is always a decimal string with a currency code.

Balances per currency

GET /v1/balances

  • Scope: balances:read
  • Success: HTTP 200

Example request

HTTP
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

FieldTypeNotes
object"balances"
livemodeboolean
dataarray of object
data[].currencyenumone of INR USDT
data[].totalmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].availablemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].frozenmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].pendingmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].reservedmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].heldmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].holdsarray of object
data[].holds[].idstring
data[].holds[].object"hold"
data[].holds[].amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].holds[].commentstring
data[].holds[].placed_attimestamp
data[].debtmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].netmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].unfunded_payoutsmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].projectedmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].by_chainarray of object
data[].by_chain[].chainenumone of tron bsc
data[].by_chain[].amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
Example response
JSON
{
  "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

FieldTypeNotes
limitintegermin 1; max 100; default 20
starting_afterstringat most 40 characters
ending_beforestringat most 40 characters
currencyenumone of INR USDT; default "INR"

Example request

HTTP
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

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"balance_transaction"
data[].typestring
data[].accountenumone of available pending reserved held debt
data[].amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].currencyenumone of INR USDT
data[].sourceobject or nullmay be null
data[].source.typestring
data[].source.idstring
data[].notestring | null
data[].created_attimestamp
has_moreboolean
Example response
JSON
{
  "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

FieldTypeNotes
daystringpattern ^\d{4}-\d{2}-\d{2}$

Example request

HTTP
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

FieldTypeNotes
object"statement"
livemodeboolean
daystring
timezonestring
finalboolean
dataarray of object
data[].currencyenumone of INR USDT
data[].openingmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].money_inmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].money_outmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].feesmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].adjustmentsmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].latemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].closingmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].by_chainarray of object
data[].by_chain[].chainenumone of tron bsc
data[].by_chain[].openingmoney stringdecimal 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_inmoney stringdecimal 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_outmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].by_chain[].feesmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].by_chain[].adjustmentsmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].by_chain[].latemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
data[].by_chain[].closingmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; negative when it lowers the balance
Example response
JSON
{
  "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-Key required — use your own id
  • Success: HTTP 201

Body

FieldTypeRequiredNotes
amountmoney stringyesdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumyesone of INR USDT
destination_idstringyesat most 40 characters
outside_hours_ackboolean

Example request

HTTP
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

FieldTypeNotes
idstring
object"settlement"
livemodeboolean
methodenumone of queue manual_usdt
statusstring
amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumone of INR USDT
destinationobject or nullmay be null
destination.idstring
destination.maskedstring
initiated_byenumone of merchant platform
usdt_amountstring | null
ratestring | null
chainstring | null
tx_hashstring | null
created_attimestamp
Example response
JSON
{
  "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

FieldTypeNotes
limitintegermin 1; max 100; default 20
starting_afterstringat most 40 characters
ending_beforestringat most 40 characters

Example request

HTTP
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

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"settlement"
data[].livemodeboolean
data[].methodenumone of queue manual_usdt
data[].statusstring
data[].amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].currencyenumone of INR USDT
data[].destinationobject or nullmay be null
data[].destination.idstring
data[].destination.maskedstring
data[].initiated_byenumone of merchant platform
data[].usdt_amountstring | null
data[].ratestring | null
data[].chainstring | null
data[].tx_hashstring | null
data[].created_attimestamp
has_moreboolean
Example response
JSON
{
  "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

FieldTypeRequiredNotes
idstringyes

Example request

HTTP
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

FieldTypeNotes
idstring
object"settlement"
livemodeboolean
methodenumone of queue manual_usdt
statusstring
amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumone of INR USDT
destinationobject or nullmay be null
destination.idstring
destination.maskedstring
initiated_byenumone of merchant platform
usdt_amountstring | null
ratestring | null
chainstring | null
tx_hashstring | null
created_attimestamp
Example response
JSON
{
  "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

HTTP
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

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"settlement_destination"
data[].kindstring
data[].maskedstring
data[].usable_aftertimestamp
data[].usableboolean
has_moreboolean
Example response
JSON
{
  "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

FieldTypeNotes
limitintegermin 1; max 100; default 20
starting_afterstringat most 40 characters
ending_beforestringat most 40 characters

Example request

HTTP
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

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"topup"
data[].statusstring
data[].amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].currencyenumone of INR USDT
data[].created_attimestamp
has_moreboolean
Example response
JSON
{
  "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

HTTP
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

FieldTypeNotes
object"list"
dataarray of object
data[].object"topup_address"
data[].chainstring
data[].addressstring
has_moreboolean
Example response
JSON
{
  "object": "list",
  "data": [
    {
      "object": "topup_address",
      "chain": "chain",
      "address": "address"
    }
  ],
  "has_more": true
}