NiriPayDocs
Dashboard
DocumentationAPI referenceGuidesMerchant API v1 / v2

Errors & troubleshooting

Resolve authentication, validation, and transaction-state errors.

Authentication errors (401)#

MessageResolution
Unauthorized - Missing API KeyAdd Authorization: Bearer YOUR_API_KEY
Unauthorized - Invalid API KeyCopy the current key from the merchant dashboard and remove extra spaces
Unauthorized - Merchant is not approvedComplete merchant approval or contact support
Unauthorized - IP not whitelistedAdd the server egress IP to the whitelist

Deposit validation errors#

MessageResolution
amount: Amount must be at least 100Increase the deposit amount to at least INR 100
amount: Amount must not exceed 50000Reduce the deposit amount to INR 50,000 or less
webhook_url: Invalid webhook URL formatSend a valid public webhook URL
Transaction ID already usedGenerate a new unique transaction ID
No enabled gateways foundRetry later or contact support if it persists

Withdrawal validation errors#

MessageResolution
amount: Amount must be an integer (no decimals)Send a whole-number INR amount
amount: Amount must be at least 100Increase the amount to at least INR 100
amount: Amount must not exceed 100000Reduce the amount to INR 100,000 or less
transaction_id: Transaction ID must be at least 7 charactersUse at least 7 characters
transaction_id: Transaction ID must not exceed 32 charactersUse no more than 32 characters
Transaction ID already usedGenerate a new unique transaction ID
No valid gateway strategyNo payout gateway supports the request; contact support if it persists

Status and evidence errors#

MessageResolution
Deposit not foundUse the same merchant key and transaction ID that created the deposit
Withdrawal not foundUse the same merchant key and transaction ID that created the withdrawal
transaction_id: Transaction ID is requiredInclude transaction_id in the request
UTR already submittedDo not repeat the UTR or screenshot submission
UPI ID does not belong to this depositOmit upi_id or use the UPI ID for the deposit payment slot
Deposit is already success/failed/rejectedStop submitting evidence and read the current status
PDF file is requiredAttach a PDF in the pdf field
Video file is requiredAttach a video in the video field
Documents upload is not required for this depositUpload documents only in the need_pdf_video state

Support escalation information#

When contacting support, include:

  • Merchant transaction_id.
  • NiriPay internal_transaction_id, when available.
  • UTC timestamp and endpoint path.
  • HTTP status and complete response body.
  • Sanitized request fields.

Never include the merchant API key, bank credentials, or unnecessary personal data.

NiriPay developer documentationSource reviewed · 27 Oct 2026