Register webhook
Webhooks
Register webhook
Registers an HTTPS endpoint to receive transaction update events. PCX will POST events to this URL as they occur. The organisation identity is derived from your API key.
POST
Register webhook
Headers
Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.
Example:
"Bearer eyJraWQ..."
API key for server-to-server flows, or the literal string NONE when authenticating via JWT.
Example:
"pcx_abc123_xxxx"
Body
application/json
HTTPS URL that PCX will POST transaction events to. Must be publicly reachable and return a 2xx response to acknowledge receipt.
Example:
"https://yourapp.com/webhooks/pcx"