All PayBridgeNP API endpoints (exceptDocumentation Index
Fetch the complete documentation index at: https://docs.paybridgenp.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/public/payment-status) 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
| Prefix | Mode | Use |
|---|---|---|
sk_test_ | Sandbox | Testing - no real money moves |
sk_live_ | Live | Production - real payments |
Example request
Authentication errors
When authentication fails, the response body always includes acode field so your integration can branch on the failure mode without parsing human-readable messages.
code | HTTP | When it fires |
|---|---|---|
api_key_missing | 401 | No Authorization: Bearer ... header, or the key portion is empty. |
api_key_invalid | 401 | Key not recognised - typo, deleted project, or wrong environment. |
api_key_revoked | 401 | Key was explicitly revoked from the dashboard. Generate a new one. |
api_key_expired | 401 | Key passed its expiration timestamp. |
api_key_must_be_secret | 403 | Endpoint requires sk_...; a publishable pk_... key was sent. |
account_suspended | 403 | Merchant account suspended. See suspended_at + suspended_reason in the body. |
Account suspended
If your merchant account has been suspended by PayBridgeNP, all API key requests return: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.