Crypto
Generated from the OpenAPI document, API version 2026-12-01. Money is always a decimal string with a currency code.
- POST
/v1/crypto/addressesGet or create a customer's permanent USDT address - GET
/v1/crypto/addressesList customer addresses - GET
/v1/crypto/addresses/{id}Retrieve a customer address
Get or create a customer's permanent USDT address
POST /v1/crypto/addresses
- Scope:
crypto:write - Success: HTTP 200
Body
| Field | Type | Required | Notes |
|---|---|---|---|
customer_ref | string | yes | pattern ^[A-Za-z0-9_.:-]{1,64}$ |
chain | enum | yes | one of tron bsc |
Example request
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
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "crypto_address" | |
livemode | boolean | |
address | string | |
chain | enum | one of tron bsc |
asset | "USDT" | |
customer_ref | string | |
created_at | timestamp |
Example response
{
"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
| 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 |
customer_ref | string | pattern ^[A-Za-z0-9_.:-]{1,64}$ |
chain | enum | one of tron bsc |
Example request
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
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].id | string | |
data[].object | "crypto_address" | |
data[].livemode | boolean | |
data[].address | string | |
data[].chain | enum | one of tron bsc |
data[].asset | "USDT" | |
data[].customer_ref | string | |
data[].created_at | timestamp | |
has_more | boolean |
Example response
{
"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
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Example request
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
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "crypto_address" | |
livemode | boolean | |
address | string | |
chain | enum | one of tron bsc |
asset | "USDT" | |
customer_ref | string | |
created_at | timestamp |
Example response
{
"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"
}