Nice Paydocs API version 2026-12-01 OpenAPI

Crypto

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

Get or create a customer's permanent USDT address

POST /v1/crypto/addresses

  • Scope: crypto:write
  • Success: HTTP 200

Body

FieldTypeRequiredNotes
customer_refstringyespattern ^[A-Za-z0-9_.:-]{1,64}$
chainenumyesone of tron bsc

Example request

HTTP
POST /v1/crypto/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>
Content-Type: application/json

{
  "customer_ref": "customer-ref-1",
  "chain": "tron"
}

The five NP-… headers are the request's signature: how to make them.

Response — the CryptoAddress object

FieldTypeNotes
idstring
object"crypto_address"
livemodeboolean
addressstring
chainenumone of tron bsc
asset"USDT"
customer_refstring
created_attimestamp
Example response
JSON
{
  "id": "id",
  "object": "crypto_address",
  "livemode": true,
  "address": "address",
  "chain": "tron",
  "asset": "USDT",
  "customer_ref": "customer_ref",
  "created_at": "2026-11-23T10:00:00.000Z"
}

List customer addresses

GET /v1/crypto/addresses

  • Scope: crypto:read
  • Success: HTTP 200

Query

FieldTypeNotes
limitintegermin 1; max 100; default 20
starting_afterstringat most 40 characters
ending_beforestringat most 40 characters
customer_refstringpattern ^[A-Za-z0-9_.:-]{1,64}$
chainenumone of tron bsc

Example request

HTTP
GET /v1/crypto/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 CryptoAddress objects

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"crypto_address"
data[].livemodeboolean
data[].addressstring
data[].chainenumone of tron bsc
data[].asset"USDT"
data[].customer_refstring
data[].created_attimestamp
has_moreboolean
Example response
JSON
{
  "object": "list",
  "data": [
    {
      "id": "id",
      "object": "crypto_address",
      "livemode": true,
      "address": "address",
      "chain": "tron",
      "asset": "USDT",
      "customer_ref": "customer_ref",
      "created_at": "2026-11-23T10:00:00.000Z"
    }
  ],
  "has_more": true
}

Retrieve a customer address

GET /v1/crypto/addresses/{id}

  • Scope: crypto:read
  • Success: HTTP 200

Path

FieldTypeRequiredNotes
idstringyes

Example request

HTTP
GET /v1/crypto/addresses/<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 CryptoAddress object

FieldTypeNotes
idstring
object"crypto_address"
livemodeboolean
addressstring
chainenumone of tron bsc
asset"USDT"
customer_refstring
created_attimestamp
Example response
JSON
{
  "id": "id",
  "object": "crypto_address",
  "livemode": true,
  "address": "address",
  "chain": "tron",
  "asset": "USDT",
  "customer_ref": "customer_ref",
  "created_at": "2026-11-23T10:00:00.000Z"
}