Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

StoreWebhookRequest

Payload for registering a webhook endpoint.

urlstring
Required

HTTPS URL that will receive webhook notifications. Must match one of your approved point-of-sale domains.

Format:
uri

List of webhook events to subscribe to. Duplicate values are rejected.

Items:
1 <= items
secretstring
Required

Shared secret used as the value of the Authorization header during webhook callback.

Length:
1 <= length <= 2048
StoreWebhookRequest
{  "url": "http://example.com",  "events": [    "transaction.success.v1"  ],  "secret": "string"}