Skip to main content
All merchant-facing PayBridgeNP API endpoints require a Bearer API key in the Authorization header:

Getting your API keys

Sign up at dashboard.paybridgenp.com and go to Settings β†’ API Keys.

Key prefixes

The mode is fixed per key. A sandbox key creates sandbox records; a live key creates live payments.
Fonepay has no sandbox. If Fonepay is enabled on a sandbox project, it uses your real Fonepay merchant account and moves real money. The sandbox caps are NPR 1,000 per payment and NPR 5,000 per month. See Sandbox testing.
Never expose a secret API key in client-side code, browser JavaScript, or version control. Use server-side environment variables only.

Example request

Authentication errors

When authentication fails, the response body always includes a code field so your integration can branch on the failure mode without parsing human-readable messages. Example invalid-key response:

Account suspended

If your merchant account has been suspended by PayBridgeNP, all API key requests return:
HTTP status: 403 Forbidden Your API keys, checkout sessions, and hosted payment pages will all be blocked until the suspension is lifted. Contact support@paybridgenp.com to resolve.

Rotating keys

You can generate a new API key from the dashboard at any time. Old keys remain valid until you revoke them. Revoke a key immediately if it’s been exposed.