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 can only create sandbox checkout sessions; a live key creates real payments.
Never expose API keys 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.