Nice Paydocs API version 2026-12-01 OpenAPI

Payouts

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

Create a payout

POST /v1/payouts

  • Scope: payouts:write
  • Idempotency-Key required — use your own id
  • Success: HTTP 201

Body

FieldTypeRequiredNotes
merchant_payout_idstringyespattern ^[A-Za-z0-9_.:-]{1,64}$
amountmoney stringyesdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumyesone of INR USDT
methodenumyesone of upi bank_transfer usdt_trc20 usdt_bep20
destinationobjectyes
destination.account_numberstringyesat most 40 characters
destination.ifscstringyesat most 20 characters
destination.holder_namestringyesat most 100 characters
destination (form 1).account_numberstringyesat most 40 characters
destination (form 1).ifscstringyesat most 20 characters
destination (form 1).holder_namestringyesat most 100 characters
destination (form 2).vpastringyesat most 100 characters
destination (form 2).holder_namestringyesat most 100 characters
destination (form 3).addressstringyesat most 64 characters
customerobject
customer.refstringyespattern ^[A-Za-z0-9_.:-]{1,64}$
customer.namestringat most 100 characters
customer.phonestringpattern ^\+?[0-9]{6,15}$
customer.emailstringpattern ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$; at most 120 characters
risk_hintsobject
risk_hints.customer_age_daysintegermin 0; max 36500
risk_hints.lifetime_depositsmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
risk_hints.lifetime_withdrawalsmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
risk_hints.kyc_levelintegermin 0; max 3
risk_hints.flagsarray of stringat most 10 items
descriptionstringat most 200 characters
metadatamapdefault {}

Example request

HTTP
POST /v1/payouts 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>
Idempotency-Key: your-own-id
Content-Type: application/json

{
  "merchant_payout_id": "merchant-payout-id-1",
  "amount": "10000.00",
  "currency": "INR",
  "method": "upi",
  "destination": {
    "account_number": "account_number",
    "ifsc": "ifsc",
    "holder_name": "holder_name"
  }
}

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

Response — the Payout object

FieldTypeNotes
idstring
object"payout"
livemodeboolean
merchant_payout_idstring
amountmoney string or nulldecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; may be null
feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumone of INR USDT
statusenumone of queued processing sent succeeded failed cancelled reversed
failure_reasonenum or nullone of expired cancelled_by_merchant cannot_pay destination_rejected rail_closed provider_refused rejected_by_staff timed_out_by_staff negative_balance; may be null
fundingenumone of funded unfunded
heldboolean
under_reviewboolean
methodenumone of upi bank_transfer usdt_trc20 usdt_bep20
destinationobject
destination.maskedstring
referencestring | null
descriptionstring | null
customerobject
customer.refstring | null
created_attimestamp
completed_attimestamp or nullmay be null
timelinearray of object
timeline[].attimestamp
timeline[].stepenumone of requested funded admitted held approved assigned sent_to_provider provider_answered paid completed failed cancelled reversed
timeline[].detailstring | null
durationsobject
durations.seconds_to_assigninteger or nullmay be null
durations.seconds_at_processorinteger or nullmay be null
durations.seconds_totalinteger or nullmay be null
metadatamap
importedboolean
legacy_idstring | null
Example response
JSON
{
  "id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "payout",
  "livemode": true,
  "merchant_payout_id": "merchant_payout_id",
  "amount": "10000.00",
  "fee": "10000.00",
  "currency": "INR",
  "status": "queued",
  "failure_reason": "expired",
  "funding": "funded",
  "held": true,
  "under_review": true,
  "method": "upi",
  "destination": {
    "masked": "masked"
  },
  "reference": "reference",
  "description": "description",
  "customer": {
    "ref": "ref"
  },
  "created_at": "2026-11-23T10:00:00.000Z",
  "completed_at": "2026-11-23T10:00:00.000Z",
  "metadata": {},
  "imported": true,
  "legacy_id": "legacy_id"
}

List payouts

GET /v1/payouts

  • Scope: payouts:read
  • Success: HTTP 200

Query

FieldTypeNotes
limitintegermin 1; max 100; default 20
starting_afterstringat most 40 characters
ending_beforestringat most 40 characters
merchant_payout_idstringpattern ^[A-Za-z0-9_.:-]{1,64}$
statusenumone of queued processing sent succeeded failed cancelled reversed
methodenumone of upi bank_transfer usdt_trc20 usdt_bep20
customer_refstringpattern ^[A-Za-z0-9_.:-]{1,64}$
referencestringat most 128 characters
currencyenumone of INR USDT
created_fromtimestamppattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
created_totimestamppattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
amount_minmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
amount_maxmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
legacy_idstringat most 64 characters
importedenumone of true false both; default "both"

Example request

HTTP
GET /v1/payouts 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 Payout objects

FieldTypeNotes
object"list"
dataarray of object
data[].idstring
data[].object"payout"
data[].livemodeboolean
data[].merchant_payout_idstring
data[].amountmoney string or nulldecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; may be null
data[].feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].currencyenumone of INR USDT
data[].statusenumone of queued processing sent succeeded failed cancelled reversed
data[].failure_reasonenum or nullone of expired cancelled_by_merchant cannot_pay destination_rejected rail_closed provider_refused rejected_by_staff timed_out_by_staff negative_balance; may be null
data[].fundingenumone of funded unfunded
data[].heldboolean
data[].under_reviewboolean
data[].methodenumone of upi bank_transfer usdt_trc20 usdt_bep20
data[].destinationobject
data[].destination.maskedstring
data[].referencestring | null
data[].descriptionstring | null
data[].customerobject
data[].customer.refstring | null
data[].created_attimestamp
data[].completed_attimestamp or nullmay be null
data[].timelinearray of object
data[].timeline[].attimestamp
data[].timeline[].stepenumone of requested funded admitted held approved assigned sent_to_provider provider_answered paid completed failed cancelled reversed
data[].timeline[].detailstring | null
data[].durationsobject
data[].durations.seconds_to_assigninteger or nullmay be null
data[].durations.seconds_at_processorinteger or nullmay be null
data[].durations.seconds_totalinteger or nullmay be null
data[].metadatamap
data[].importedboolean
data[].legacy_idstring | null
has_moreboolean
Example response
JSON
{
  "object": "list",
  "data": [
    {
      "id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
      "object": "payout",
      "livemode": true,
      "merchant_payout_id": "merchant_payout_id",
      "amount": "10000.00",
      "fee": "10000.00",
      "currency": "INR",
      "status": "queued",
      "failure_reason": "expired",
      "funding": "funded",
      "held": true,
      "under_review": true,
      "method": "upi",
      "destination": {
        "masked": "masked"
      },
      "reference": "reference",
      "description": "description",
      "customer": {
        "ref": "ref"
      },
      "created_at": "2026-11-23T10:00:00.000Z",
      "completed_at": "2026-11-23T10:00:00.000Z",
      "metadata": {},
      "imported": true,
      "legacy_id": "legacy_id"
    }
  ],
  "has_more": true
}

Retrieve a payout

GET /v1/payouts/{id}

  • Scope: payouts:read
  • Success: HTTP 200

Path

FieldTypeRequiredNotes
idstringyes

Example request

HTTP
GET /v1/payouts/<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 Payout object

FieldTypeNotes
idstring
object"payout"
livemodeboolean
merchant_payout_idstring
amountmoney string or nulldecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; may be null
feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumone of INR USDT
statusenumone of queued processing sent succeeded failed cancelled reversed
failure_reasonenum or nullone of expired cancelled_by_merchant cannot_pay destination_rejected rail_closed provider_refused rejected_by_staff timed_out_by_staff negative_balance; may be null
fundingenumone of funded unfunded
heldboolean
under_reviewboolean
methodenumone of upi bank_transfer usdt_trc20 usdt_bep20
destinationobject
destination.maskedstring
referencestring | null
descriptionstring | null
customerobject
customer.refstring | null
created_attimestamp
completed_attimestamp or nullmay be null
timelinearray of object
timeline[].attimestamp
timeline[].stepenumone of requested funded admitted held approved assigned sent_to_provider provider_answered paid completed failed cancelled reversed
timeline[].detailstring | null
durationsobject
durations.seconds_to_assigninteger or nullmay be null
durations.seconds_at_processorinteger or nullmay be null
durations.seconds_totalinteger or nullmay be null
metadatamap
importedboolean
legacy_idstring | null
Example response
JSON
{
  "id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "payout",
  "livemode": true,
  "merchant_payout_id": "merchant_payout_id",
  "amount": "10000.00",
  "fee": "10000.00",
  "currency": "INR",
  "status": "queued",
  "failure_reason": "expired",
  "funding": "funded",
  "held": true,
  "under_review": true,
  "method": "upi",
  "destination": {
    "masked": "masked"
  },
  "reference": "reference",
  "description": "description",
  "customer": {
    "ref": "ref"
  },
  "created_at": "2026-11-23T10:00:00.000Z",
  "completed_at": "2026-11-23T10:00:00.000Z",
  "metadata": {},
  "imported": true,
  "legacy_id": "legacy_id"
}

Cancel a payout nothing has started paying (409 payout_in_progress otherwise)

POST /v1/payouts/{id}/cancel

  • Scope: payouts:write
  • Success: HTTP 200

Path

FieldTypeRequiredNotes
idstringyes

Example request

HTTP
POST /v1/payouts/<id>/cancel 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 Payout object

FieldTypeNotes
idstring
object"payout"
livemodeboolean
merchant_payout_idstring
amountmoney string or nulldecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; may be null
feemoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
currencyenumone of INR USDT
statusenumone of queued processing sent succeeded failed cancelled reversed
failure_reasonenum or nullone of expired cancelled_by_merchant cannot_pay destination_rejected rail_closed provider_refused rejected_by_staff timed_out_by_staff negative_balance; may be null
fundingenumone of funded unfunded
heldboolean
under_reviewboolean
methodenumone of upi bank_transfer usdt_trc20 usdt_bep20
destinationobject
destination.maskedstring
referencestring | null
descriptionstring | null
customerobject
customer.refstring | null
created_attimestamp
completed_attimestamp or nullmay be null
timelinearray of object
timeline[].attimestamp
timeline[].stepenumone of requested funded admitted held approved assigned sent_to_provider provider_answered paid completed failed cancelled reversed
timeline[].detailstring | null
durationsobject
durations.seconds_to_assigninteger or nullmay be null
durations.seconds_at_processorinteger or nullmay be null
durations.seconds_totalinteger or nullmay be null
metadatamap
importedboolean
legacy_idstring | null
Example response
JSON
{
  "id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
  "object": "payout",
  "livemode": true,
  "merchant_payout_id": "merchant_payout_id",
  "amount": "10000.00",
  "fee": "10000.00",
  "currency": "INR",
  "status": "queued",
  "failure_reason": "expired",
  "funding": "funded",
  "held": true,
  "under_review": true,
  "method": "upi",
  "destination": {
    "masked": "masked"
  },
  "reference": "reference",
  "description": "description",
  "customer": {
    "ref": "ref"
  },
  "created_at": "2026-11-23T10:00:00.000Z",
  "completed_at": "2026-11-23T10:00:00.000Z",
  "metadata": {},
  "imported": true,
  "legacy_id": "legacy_id"
}