Nice Paydocs API version 2026-12-01 OpenAPI

Utilities

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

Check credentials

GET /v1/ping

  • Scope: any valid key
  • SDK: ping()
  • Success: HTTP 200

Example

const result = await nicepay.ping();

Response — the Ping object

FieldTypeNotes
object"ping"
livemodeboolean
projectstring
merchantstring
scopesarray of enum
api_versionstring
Example response
JSON
{
  "object": "ping",
  "livemode": true,
  "project": "project",
  "merchant": "merchant",
  "scopes": [
    "payins:write"
  ],
  "api_version": "api_version"
}

Methods available to this project, with fees

GET /v1/methods

  • Scope: any valid key
  • SDK: listMethods()
  • Success: HTTP 200

Example

const result = await nicepay.listMethods();

Response

FieldTypeNotes
object"list"
livemodeboolean
dataarray of object
data[].methodenumone of upi bank_transfer usdt_trc20 usdt_bep20 auto
data[].directionenumone of payin payout
data[].currencyenumone of INR USDT
data[].availableboolean
data[].feeobject or nullmay be null
data[].fee.bpsinteger
data[].fee.fixedmoney stringdecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"
data[].fee.minmoney string or nulldecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; may be null
data[].fee.maxmoney string or nulldecimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00"; may be null
Example response
JSON
{
  "object": "list",
  "livemode": true,
  "data": [
    {
      "method": "upi",
      "direction": "payin",
      "currency": "INR",
      "available": true,
      "fee": {
        "bps": 1,
        "fixed": "10000.00",
        "min": "10000.00",
        "max": "10000.00"
      }
    }
  ]
}

The informational USDT/INR rate

GET /v1/reference-rates

  • Scope: any valid key
  • SDK: getReferenceRates()
  • Success: HTTP 200

Example

const result = await nicepay.getReferenceRates();

Response — a list of ReferenceRate objects

FieldTypeNotes
object"list"
dataarray of object
data[].object"reference_rate"
data[].base"USDT"
data[].quote"INR"
data[].ratestringpattern ^[0-9]{1,6}(\.[0-9]{1,8})?$
data[].sourceenumone of auto manual
data[].updated_attimestamp
data[].informational"true"
has_moreboolean
Example response
JSON
{
  "object": "list",
  "data": [
    {
      "object": "reference_rate",
      "base": "USDT",
      "quote": "INR",
      "rate": "rate",
      "source": "auto",
      "updated_at": "2026-11-23T10:00:00.000Z",
      "informational": true
    }
  ],
  "has_more": true
}

Service status: the API, webhooks and each rail (fed by the watchdog)

GET /v1/status

  • Scope: none — public, unsigned
  • SDK: getStatus()
  • Success: HTTP 200

Example

const result = await nicepay.getStatus();

Response — the Status object

FieldTypeNotes
object"status"
statusenumone of operational degraded outage unknown
updated_atstring | null
componentsarray of object
components[].nameenumone of api webhooks checkout desk_upi desk_bank gateway usdt_trc20 usdt_bep20
components[].statusenumone of operational degraded outage unknown
Example response
JSON
{
  "object": "status",
  "status": "operational",
  "updated_at": "updated_at",
  "components": [
    {
      "name": "api",
      "status": "operational"
    }
  ]
}