Skip to main content
POST
curl

Authorizations

Authorization
string
header
required

Your PayBridgeNP API key. Obtain one from the dashboard under Settings → API Keys. Prefix: sk_test_ for testing, sk_live_ for production.

Body

application/json
url
string<uri>
required

Public HTTPS URL. Private/local addresses are rejected.

Example:

"https://yourapp.com/webhooks/paybridgenp"

events
string[]

Event types to subscribe to. Pass an empty array to receive all events.

Example:

Response

Webhook endpoint registered.

id
string
Example:

"we_01j9x2k3m4n5p6q7r8s9t0u1v2"

livemode
boolean

true when created with a live key, false for sandbox.

url
string<uri>
Example:

"https://yourapp.com/webhooks/paybridgenp"

events
string[]

Event types this endpoint receives. Empty array = all events.

Example:
enabled
boolean
createdAt
string<date-time>
signing_secret
string

HMAC-SHA256 signing secret. Only returned once - save it now.

Example:

"whsec_live_abc123..."