Nice Paydocs API version 2026-12-01 OpenAPI

Checks

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

Ask Nice Pay to check a pay-in (a thread)

POST /v1/payins/{id}/checks

  • Scope: payins:write
  • Success: HTTP 201

Path

FieldTypeRequiredNotes
idstringyes

Body

FieldTypeRequiredNotes
notestringyesat most 1000 characters
referencestringat most 64 characters
proof_upload_idsarray of stringat most 12 items; default []

Example request

HTTP
POST /v1/payins/pi_01JD3QH2Y8ZKX4M9T6V0R1B2C3/checks 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

{
  "note": "note"
}

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

Response — the Check object

FieldTypeNotes
idstring
object"check"
livemodeboolean
paymentobject
payment.typeenumone of payin payout
payment.idstring
statusenumone of open answered closed
answerenum or nullone of confirmed denied; may be null
creditedboolean
waiting_forenum or nullone of nice_pay merchant; may be null
referencestring | null
notestring | null
close_reasonstring | null
created_attimestamp
answered_attimestamp or nullmay be null
closed_attimestamp or nullmay be null
messagesarray of object
messages[].idstring
messages[].object"check_message"
messages[].authorenumone of merchant nice_pay
messages[].bodystring
messages[].filesarray of object
messages[].files[].idstring
messages[].files[].content_typestring
messages[].files[].urlstring | null
messages[].files[].expires_attimestamp or nullmay be null
messages[].created_attimestamp
Example response
JSON
{
  "id": "chk_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "check",
  "livemode": true,
  "payment": {
    "type": "payin",
    "id": "id"
  },
  "status": "open",
  "answer": "confirmed",
  "credited": true,
  "waiting_for": "nice_pay",
  "reference": "reference",
  "note": "note",
  "close_reason": "close_reason",
  "created_at": "2026-11-23T10:00:00.000Z",
  "answered_at": "2026-11-23T10:00:00.000Z",
  "closed_at": "2026-11-23T10:00:00.000Z",
  "messages": [
    {
      "id": "id",
      "object": "check_message",
      "author": "merchant",
      "body": "body",
      "files": [
        {
          "id": "id",
          "content_type": "content_type",
          "url": "url",
          "expires_at": "2026-11-23T10:00:00.000Z"
        }
      ],
      "created_at": "2026-11-23T10:00:00.000Z"
    }
  ]
}

Ask Nice Pay to check a payout that was sent (a thread)

POST /v1/payouts/{id}/checks

  • Scope: payouts:write
  • Success: HTTP 201

Path

FieldTypeRequiredNotes
idstringyes

Body

FieldTypeRequiredNotes
notestringyesat most 1000 characters
referencestringat most 64 characters
proof_upload_idsarray of stringat most 12 items; default []

Example request

HTTP
POST /v1/payouts/<id>/checks 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

{
  "note": "note"
}

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

Response — the Check object

FieldTypeNotes
idstring
object"check"
livemodeboolean
paymentobject
payment.typeenumone of payin payout
payment.idstring
statusenumone of open answered closed
answerenum or nullone of confirmed denied; may be null
creditedboolean
waiting_forenum or nullone of nice_pay merchant; may be null
referencestring | null
notestring | null
close_reasonstring | null
created_attimestamp
answered_attimestamp or nullmay be null
closed_attimestamp or nullmay be null
messagesarray of object
messages[].idstring
messages[].object"check_message"
messages[].authorenumone of merchant nice_pay
messages[].bodystring
messages[].filesarray of object
messages[].files[].idstring
messages[].files[].content_typestring
messages[].files[].urlstring | null
messages[].files[].expires_attimestamp or nullmay be null
messages[].created_attimestamp
Example response
JSON
{
  "id": "chk_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "check",
  "livemode": true,
  "payment": {
    "type": "payin",
    "id": "id"
  },
  "status": "open",
  "answer": "confirmed",
  "credited": true,
  "waiting_for": "nice_pay",
  "reference": "reference",
  "note": "note",
  "close_reason": "close_reason",
  "created_at": "2026-11-23T10:00:00.000Z",
  "answered_at": "2026-11-23T10:00:00.000Z",
  "closed_at": "2026-11-23T10:00:00.000Z",
  "messages": [
    {
      "id": "id",
      "object": "check_message",
      "author": "merchant",
      "body": "body",
      "files": [
        {
          "id": "id",
          "content_type": "content_type",
          "url": "url",
          "expires_at": "2026-11-23T10:00:00.000Z"
        }
      ],
      "created_at": "2026-11-23T10:00:00.000Z"
    }
  ]
}

List your payment checks (threads)

GET /v1/checks

  • Scope: payins:read
  • Success: HTTP 200

Query

FieldTypeNotes
limitintegermin 1; max 100; default 20
starting_afterstringat most 40 characters
ending_beforestringat most 40 characters
statusenumone of open closed
payinstringat most 40 characters
payoutstringat most 40 characters

Example request

HTTP
GET /v1/checks 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 Check objects

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"check"
data[].livemodeboolean
data[].paymentobject
data[].payment.typeenumone of payin payout
data[].payment.idstring
data[].statusenumone of open answered closed
data[].answerenum or nullone of confirmed denied; may be null
data[].creditedboolean
data[].waiting_forenum or nullone of nice_pay merchant; may be null
data[].referencestring | null
data[].notestring | null
data[].close_reasonstring | null
data[].created_attimestamp
data[].answered_attimestamp or nullmay be null
data[].closed_attimestamp or nullmay be null
data[].messagesarray of object
data[].messages[].idstring
data[].messages[].object"check_message"
data[].messages[].authorenumone of merchant nice_pay
data[].messages[].bodystring
data[].messages[].filesarray of object
data[].messages[].files[].idstring
data[].messages[].files[].content_typestring
data[].messages[].files[].urlstring | null
data[].messages[].files[].expires_attimestamp or nullmay be null
data[].messages[].created_attimestamp
has_moreboolean
Example response
JSON
{
  "object": "list",
  "data": [
    {
      "id": "chk_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
      "object": "check",
      "livemode": true,
      "payment": {
        "type": "payin",
        "id": "id"
      },
      "status": "open",
      "answer": "confirmed",
      "credited": true,
      "waiting_for": "nice_pay",
      "reference": "reference",
      "note": "note",
      "close_reason": "close_reason",
      "created_at": "2026-11-23T10:00:00.000Z",
      "answered_at": "2026-11-23T10:00:00.000Z",
      "closed_at": "2026-11-23T10:00:00.000Z",
      "messages": [
        {
          "id": "id",
          "object": "check_message",
          "author": "merchant",
          "body": "body",
          "files": [
            {
              "id": "id",
              "content_type": "content_type",
              "url": "url",
              "expires_at": "2026-11-23T10:00:00.000Z"
            }
          ],
          "created_at": "2026-11-23T10:00:00.000Z"
        }
      ]
    }
  ],
  "has_more": true
}

Retrieve a payment check and its thread

GET /v1/checks/{id}

  • Scope: payins:read
  • Success: HTTP 200

Path

FieldTypeRequiredNotes
idstringyes

Example request

HTTP
GET /v1/checks/<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 Check object

FieldTypeNotes
idstring
object"check"
livemodeboolean
paymentobject
payment.typeenumone of payin payout
payment.idstring
statusenumone of open answered closed
answerenum or nullone of confirmed denied; may be null
creditedboolean
waiting_forenum or nullone of nice_pay merchant; may be null
referencestring | null
notestring | null
close_reasonstring | null
created_attimestamp
answered_attimestamp or nullmay be null
closed_attimestamp or nullmay be null
messagesarray of object
messages[].idstring
messages[].object"check_message"
messages[].authorenumone of merchant nice_pay
messages[].bodystring
messages[].filesarray of object
messages[].files[].idstring
messages[].files[].content_typestring
messages[].files[].urlstring | null
messages[].files[].expires_attimestamp or nullmay be null
messages[].created_attimestamp
Example response
JSON
{
  "id": "chk_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "check",
  "livemode": true,
  "payment": {
    "type": "payin",
    "id": "id"
  },
  "status": "open",
  "answer": "confirmed",
  "credited": true,
  "waiting_for": "nice_pay",
  "reference": "reference",
  "note": "note",
  "close_reason": "close_reason",
  "created_at": "2026-11-23T10:00:00.000Z",
  "answered_at": "2026-11-23T10:00:00.000Z",
  "closed_at": "2026-11-23T10:00:00.000Z",
  "messages": [
    {
      "id": "id",
      "object": "check_message",
      "author": "merchant",
      "body": "body",
      "files": [
        {
          "id": "id",
          "content_type": "content_type",
          "url": "url",
          "expires_at": "2026-11-23T10:00:00.000Z"
        }
      ],
      "created_at": "2026-11-23T10:00:00.000Z"
    }
  ]
}

Add a message to a payment check

POST /v1/checks/{id}/messages

  • Scope: payins:write
  • Success: HTTP 201

Path

FieldTypeRequiredNotes
idstringyes

Body

FieldTypeRequiredNotes
bodystringyesat most 2000 characters
proof_upload_idsarray of stringat most 12 items; default []

Example request

HTTP
POST /v1/checks/<id>/messages 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

{
  "body": "body"
}

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

Response — the Check object

FieldTypeNotes
idstring
object"check"
livemodeboolean
paymentobject
payment.typeenumone of payin payout
payment.idstring
statusenumone of open answered closed
answerenum or nullone of confirmed denied; may be null
creditedboolean
waiting_forenum or nullone of nice_pay merchant; may be null
referencestring | null
notestring | null
close_reasonstring | null
created_attimestamp
answered_attimestamp or nullmay be null
closed_attimestamp or nullmay be null
messagesarray of object
messages[].idstring
messages[].object"check_message"
messages[].authorenumone of merchant nice_pay
messages[].bodystring
messages[].filesarray of object
messages[].files[].idstring
messages[].files[].content_typestring
messages[].files[].urlstring | null
messages[].files[].expires_attimestamp or nullmay be null
messages[].created_attimestamp
Example response
JSON
{
  "id": "chk_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "check",
  "livemode": true,
  "payment": {
    "type": "payin",
    "id": "id"
  },
  "status": "open",
  "answer": "confirmed",
  "credited": true,
  "waiting_for": "nice_pay",
  "reference": "reference",
  "note": "note",
  "close_reason": "close_reason",
  "created_at": "2026-11-23T10:00:00.000Z",
  "answered_at": "2026-11-23T10:00:00.000Z",
  "closed_at": "2026-11-23T10:00:00.000Z",
  "messages": [
    {
      "id": "id",
      "object": "check_message",
      "author": "merchant",
      "body": "body",
      "files": [
        {
          "id": "id",
          "content_type": "content_type",
          "url": "url",
          "expires_at": "2026-11-23T10:00:00.000Z"
        }
      ],
      "created_at": "2026-11-23T10:00:00.000Z"
    }
  ]
}