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

Webhook

Webhook configuration returned by the API.

idstring
Required

Unique identifier of the webhook.

Format:
uuid
urlstring
Required

Destination URL configured for webhook delivery.

Format:
uri

Events the webhook is subscribed to.

[index]string
Possible values:
"subscription-billing.charge-created.v1""subscription-billing.charge-failed.v1""subscription-billing.charge-success.v1""subscription-billing.agreement-active.v1""subscription-billing.agreement-stopped.v1""settlement.transfer-ready.v1"
pausedAtstring
Nullable
Format:
date-time
pauseReasonstring
Nullable
Possible values:
"ERROR_RATE_TOO_HIGH""PAUSED_BY_MERCHANT"
createdAtstring
Required

Timestamp when the webhook was created.

Format:
date-time
Webhook
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "url": "http://example.com",  "events": [    "subscription-billing.charge-created.v1"  ],  "pausedAt": "2019-08-24T14:15:22Z",  "pauseReason": "ERROR_RATE_TOO_HIGH",  "createdAt": "2019-08-24T14:15:22Z"}