Test mode
Generated from the OpenAPI document, API version 2026-12-01. Money is always a decimal string with a currency code.
- POST
/v1/test/payins/{id}/simulateTest mode: move a pay-in - POST
/v1/test/payouts/{id}/simulateTest mode: move a payout - POST
/v1/test/crypto/transfersTest mode: a confirmed USDT transfer to a customer address
Test mode: move a pay-in
POST /v1/test/payins/{id}/simulate
- Scope:
payins:write - Test mode only
- Success: HTTP 202
Path
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
action | enum | yes | one of succeed fail expire partial |
amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
Example request
POST /v1/test/payins/pi_01JD3QH2Y8ZKX4M9T6V0R1B2C3/simulate 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
{
"action": "succeed"
}The five NP-… headers are the request's signature: how to make them.
Response — the Simulation object
| Field | Type | Notes |
|---|---|---|
object | "simulation" | |
queued | boolean |
Example response
{
"object": "simulation",
"queued": true
}Test mode: move a payout
POST /v1/test/payouts/{id}/simulate
- Scope:
payouts:write - Test mode only
- Success: HTTP 202
Path
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
action | enum | yes | one of succeed fail reverse |
Example request
POST /v1/test/payouts/<id>/simulate 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
{
"action": "succeed"
}The five NP-… headers are the request's signature: how to make them.
Response — the Simulation object
| Field | Type | Notes |
|---|---|---|
object | "simulation" | |
queued | boolean |
Example response
{
"object": "simulation",
"queued": true
}Test mode: a confirmed USDT transfer to a customer address
POST /v1/test/crypto/transfers
- Scope:
crypto:write - Test mode only
- Success: HTTP 202
Body
| Field | Type | Required | Notes |
|---|---|---|---|
address | string | yes | pattern ^[A-Za-z0-9]+$; at most 64 characters |
amount | money string | yes | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
Example request
POST /v1/test/crypto/transfers 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
{
"address": "address",
"amount": "10000.00"
}The five NP-… headers are the request's signature: how to make them.
Response — the Simulation object
| Field | Type | Notes |
|---|---|---|
object | "simulation" | |
queued | boolean |
Example response
{
"object": "simulation",
"queued": true
}