Nice Paydocs API version 2026-12-01 OpenAPI

Test mode

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

Test mode: move a pay-in

POST /v1/test/payins/{id}/simulate

  • Scope: payins:write
  • Test mode only
  • Success: HTTP 202

Path

FieldTypeRequiredNotes
idstringyes

Body

FieldTypeRequiredNotes
actionenumyesone of succeed fail expire partial
amountmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"

Example request

HTTP
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

FieldTypeNotes
object"simulation"
queuedboolean
Example response
JSON
{
  "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

FieldTypeRequiredNotes
idstringyes

Body

FieldTypeRequiredNotes
actionenumyesone of succeed fail reverse

Example request

HTTP
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

FieldTypeNotes
object"simulation"
queuedboolean
Example response
JSON
{
  "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

FieldTypeRequiredNotes
addressstringyespattern ^[A-Za-z0-9]+$; at most 64 characters
amountmoney stringyesdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"

Example request

HTTP
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

FieldTypeNotes
object"simulation"
queuedboolean
Example response
JSON
{
  "object": "simulation",
  "queued": true
}