Skip to main content
POST
Create Webhook
The request and response are encrypted {Token} envelopes. The decrypted request contains webhookAction (QRPH_SUCCESS or QRPH_DECLINED) and callbackUrl (an HTTPS URL). Registering the same action twice returns 400 with code 10000031.

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using your Secret Key as the username and an empty password

Body

application/json
request
object
required

Response

Webhook created.

id
string

Unique identifier for the webhook

webhookAction
enum<string>

The transaction event this webhook receives.

Available options:
QRPH_SUCCESS,
QRPH_DECLINED
webhookStatus
enum<string>

Current status of the webhook

Available options:
ENABLED,
DISABLED
callbackUrl
string<uri>

The HTTPS URL where notifications are sent