How we handle money, keys and data

Plain answers to the questions a careful business should ask before connecting its payment accounts to anyone. Everything here describes how the software works today. We do not claim certifications or audits we do not have.

What Paymentsnp keeps

  • Payment, order and customer records for your workspace
  • Your provider credentials, encrypted
  • An audit log of changes

What Paymentsnp never has

  • Your customers' money
  • Customer wallet passwords, PINs or OTPs
  • A way to show your secrets to anyone, staff included

Your customer pays you, not us. We see the proof, never the funds.

When a customer pays Rs 1,500 with eSewa, that Rs 1,500 lands in your eSewa merchant account. eSewa settles it to your bank on the schedule and fees you agreed with them. Paymentsnp receives the proof of payment so it can tell your system the order is paid.

  1. CustomerPays in eSewa, Khalti or a bank app
  2. Provider pageTakes the payment on your merchant account
  3. Your merchant accountReceives the money, settles to your bank
  4. PaymentsnpChecks the provider's answer, records it, tells your system
Money moves along the first three steps only. The dashboard shows verified payments, not a balance; upload a settlement file under Reconciliation to see what reached your bank.

What we protect, and how.

Grouped by area. Each line describes something the platform does today.

Security controls in Paymentsnp
ControlHow it works
Credentials and secrets
EncryptionProvider credentials, SMTP and SMS tokens, webhook secrets and two-factor secrets are encrypted with AES-256-GCM. The additional authenticated data ties each one to its workspace and connection, so a value copied elsewhere does not decrypt.
Encryption keyHeld in the server environment, outside the database. Rotation is supported but manual. There is no managed key service.
Who can read themNobody through the product. Secrets are never returned to a browser, to platform administrators or to logs.
VersionsEvery save creates a new credential version, and a payment in progress keeps the version it started with.
Accounts and sessions
PasswordsHashed with scrypt and checked in constant time. Your last five passwords cannot be reused.
API keys and one-time tokensShown once, then stored only as SHA-256 hashes. Keys carry scopes and can have an expiry date, an IP allowlist and their own rate limit.
SessionsAn httpOnly cookie (secure in production). Every request that changes something needs a double-submit CSRF token and an allowed Origin.
AuthorizationFails closed: a route without an access rule answers 403. Roles are read again on every request, so a removed teammate loses access at once.
Two-factor sign-inOptional TOTP with ten one-time recovery codes for merchants; required for platform administrators.
Signed-in devicesA list of your sessions with the option to sign others out. A password reset signs out every session.
Isolation
Between businessesPostgres row-level security, forced on every tenant table. The application's database role cannot bypass it.
Test and LiveKept apart. Test API keys never see live data, and the Sandbox cannot be switched on in production.
Input and output
RequestsStrict schemas reject unknown fields. Every query is parameterized SQL.
ExportsCSV cells that could run as spreadsheet formulas are neutralised.
Logo uploadsChecked by their actual bytes (PNG, JPEG or WebP), up to 200 KB. SVG is refused.
Browser
FramingContent-Security-Policy frame-ancestors 'none' and X-Frame-Options DENY: no Paymentsnp page can be placed inside another site.
Other headersX-Content-Type-Options nosniff, Referrer-Policy strict-origin-when-cross-origin, and HSTS in production. A wider content security policy runs in report-only mode and is not enforced yet.
Rate limits
Per client120 requests a minute per IP address, with tighter limits on sign-in, registration, password reset, email verification, public checkout and payment links.
Per API keyEach key can carry its own limit. At most 30 invalid API keys are accepted per IP address per minute before requests are refused.
Webhooks
DestinationsHTTPS only, on ports 443 or 8443, to public addresses. The address is checked against private and internal ranges on every attempt, and the connection is pinned to the checked IP.
SignaturesHMAC-SHA256 over a timestamp and the raw body, in the Paymentnp-Signature header. No redirects are followed.
Audit
Audit logCredential saves, API key changes, team and settings changes, refunds and administrator actions are recorded with who, what and when.

Who can see what. Including us.

What platform administrators cannot do

Paymentsnp administrators work in a console separate from the merchant dashboard, and two-factor sign-in is required there. They can see operational data such as payment records to help with support. They cannot:

  • see your API keys, provider credentials or any other secret
  • sign in as you or act inside your workspace
  • issue refunds or payouts
  • permanently delete a workspace

What we never see at all

Customers sign in and approve payments on the provider's own page: eSewa's, Khalti's, or Fonepay's QR scanned in their bank app.

  • wallet usernames, passwords and PINs
  • one-time passwords (OTPs)
  • mobile banking credentials

Paymentsnp never asks a customer for any of these.

A screenshot is not a payment. Neither is a thank-you page.

  • Screenshots can be edited

    An image of a wallet receipt proves nothing about your merchant account. Paymentsnp does not accept one as evidence.

  • Return links can be opened by anyone

    A customer arriving at your success URL is not proof of payment. Your server should wait for the webhook or ask the API.

  • Only provider evidence counts

    An order is marked paid when the provider confirms it for the right merchant, the right order and the exact amount.

When a payment is unclear. We never guess our way to paid.

Networks drop and providers time out. Every payment attempt is in one of these states.

Payment attempt states
StateWhat it meansWhat happens next
SucceededThe provider confirmed the payment for this order and the exact amount.The order is paid and your webhook is sent.
PendingThe customer is on the provider's page, or the provider says it is still processing.eSewa and Khalti payments are re-checked in the background.
UnknownThe provider did not answer clearly, for example a timeout.Treated as possibly paid: no second payment can start until it is resolved.
FailedThe provider clearly said no.The customer can try again.
ExpiredNobody finished within 30 minutes.If eSewa or Khalti later confirm a payment, it is still recorded.
Manually confirmedYou recorded a Fonepay payment from your Fonepay panel reference.Audited and labelled as yours, not as provider verified.

Infrastructure, described honestly.

Paymentsnp runs on one server today. We do not claim redundancy, multiple regions or an uptime figure, and there is no public status page.

What a single server does protect is the order of events. A payment and the event that announces it are written in the same database transaction, so a crash cannot lose a webhook. Unfinished eSewa and Khalti payments are re-checked in the background, and a late success is still recorded.

How Paymentsnp is hosted today
ServersA single server running the web app, API and database in Docker containers
Open portsWeb (80 and 443) and SSH only
Database and APIReachable only inside the Docker network, never directly from the internet
CertificatesIssued automatically, including for verified custom checkout domains

Reviews and reporting. What has been checked, and how to tell us.

Reviews so far

The team carried out an internal security review dated 17 October 2026 and fixed its findings. It was done by the people who build Paymentsnp. It is not an independent audit, a penetration test by a third party, or a certification.

Paymentsnp holds no security certification and does not claim one. Before live payments, each provider runs its own approval (UAT) with your merchant credentials.

Reporting a vulnerability

If you find a security problem in Paymentsnp, send it through the contact form with the topic Security report. It is stored and sent to the platform administrators by email. Include the steps to reproduce it, and do not access other people's data or disrupt the service while testing.

Send a security report

Your part. Security is shared with your own systems.

  1. Keep API keys on your server

    Secret keys never belong in a browser, a mobile app or a public repository. Give each key only the scopes it needs, and add an IP allowlist and an expiry where you can.

  2. Verify every webhook

    Check the Paymentnp-Signature header against the raw body with your webhook secret, and reject old timestamps. Our SDKs include helpers for this.

  3. Turn on two-factor sign-in

    Every teammate with access to gateways, keys or exports should use it. Remove people who no longer need access.

  4. Develop in Test

    Use np_test_ keys and the Sandbox while building. Switching the dashboard to Live asks for confirmation for a reason.

  5. Reconcile settlement

    Upload your provider's settlement file under Reconciliation to confirm that verified payments reached your bank.

Trust questions

Does Paymentsnp collect customer wallet passwords or OTPs?

No. Customers sign in and approve payments on the provider's own pages. Paymentsnp never asks for wallet credentials.

Is Paymentsnp certified or independently audited?

No. The only review so far is the team's own internal security review of 17 October 2026, whose findings were fixed. Provider approval and UAT are completed per merchant before live payments.

Can Paymentsnp staff see my gateway secrets?

No. Platform administrators can see operational data such as payment records to help with support, but secrets are never returned to any screen, including ours.

What happens if a payment succeeds after expiry?

Expiry stops new attempts but is not proof that no money moved. If eSewa or Khalti later confirm the payment, it is still recorded and your webhook is sent.