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

NotificationWebhook

idstring

The ID of the transaction

Example:
"LDG7M4WW44G"
subscriptionIdstring
Nullable

The ID of the associated subscription

Format:
uuid
Example:
"0197c07b-3f6d-7be2-b848-702b08958128"
billingAgreementChargeIdstring
Nullable
Format:
uuid
Example:
"019a727b-987f-7768-a59e-71af920ef81f"
statestring
Possible values:
"PENDING""PROCESSING""SUCCESS""FAILED"
errorCodestring
Nullable
createdAtstring

The time of creation

Format:
date-time
sessionIdstring
Nullable
paymentMethodIdstring

The ID of the associated payment method

Format:
uuid
paymentMethodTypePaymentMethodType

The type of the payment method.

Possible values:
"CARD""VIPPS_MOBILEPAY""MOBILEPAY_ONLINE""APPLE_PAY""GOOGLE_PAY""SWISH""VIABILL""ANYDAY""KLARNA"
Example:
"CARD"
paymentMethodSubTypestring
Nullable
Possible values:
"Visa""Mastercard""Maestro""Dankort""VisaDankort""Discover""UnionPay""Electron""Amex""JCB"
Example:
"Visa"
paymentMethodExpirystring
Nullable
Format:
date
paymentMethodDisplayTextstring
paymentMethodHolderNamestring
Nullable
scaModestring

The SCA mode of the transaction.

Possible values:
"SKIP""NORMAL""FORCE"
customerIdstring
Nullable
amountinteger
feeinteger
currencystring
instantCapturestring

The instant capture mode.

Possible values:
"OFF""VOID""NO_VOID"
notificationUrlstring
Format:
uri
Length:
length <= 1024
pointOfSaleIdstring

The ID of the associated point of sale

Format:
uuid
referencestring
Nullable
textOnStatementstring
Nullable

The text to show on the cardholder bank statement

Length:
1 <= length <= 39
Example:
[ "LVT", "TRA" ]
[key: string]unknown
clientIpstring
Example:
"52.212.176.122"
clientCountrystring
Example:
"DK"
typestring

The type of transaction.

Possible values:
"PAYMENT""PAYOUT""MOTO"
authorizedinteger
Range:
0 <= value
Example:
25000
capturedinteger
Range:
0 <= value
Example:
15000
refundedinteger
Range:
0 <= value
Example:
7500
voidedinteger
Range:
0 <= value
Example:
3000
remaininginteger
Range:
0 <= value
Example:
8000
paidOutinteger
Range:
0 <= value
Example:
0
acquirerstring
Example:
"shift4"
mccstring
Example:
"4514"
idstring

The ID of the payment session

Format:
uuid
subscriptionIdstring
Nullable
Format:
uuid
amountinteger
Example:
[ "CARD", "VIPPS_MOBILEPAY" ]
currencystring
Match:
^[A-Z]{3}$
expiresAtstring
Format:
date-time
instantCapturestring

The instant capture mode.

Possible values:
"OFF""VOID""NO_VOID"
maxAttemptsinteger

The maximum number of transaction attempts allowed for the session

attemptsinteger

The current number of transaction attempts so far.

minimumAgeinteger
ageVerifiedboolean
reportFailureboolean
reportExpiredboolean
dynamicAmountboolean
notificationUrlstring

The URL to receive webhooks related to transaction attempts

Format:
uri
preAuthUrlstring
Nullable
Format:
uri
successUrlstring

The URL to redirect the client on successful payment attempts

Format:
uri
returnUrlstring
Nullable
Format:
uri
Length:
1 <= length <= 1024
failureUrlstring
Format:
uri
retryUrlstring
Nullable
Format:
uri
customerIdstring
Nullable
pointOfSaleIdstring

The ID of the associated point of sale

Format:
uuid
referencestring
Nullable

The transaction reference - Typically the order id.

statestring

The state of the transaction

Possible values:
"PENDING""PROCESSING""COMPLETED""EXPIRED"
textOnStatementstring

The text to display on the cardholders bank statement

Length:
1 <= length <= 39
scaModestring
Possible values:
"SKIP""NORMAL""FORCE"
timeoutinteger

The number of minutes the session is available.

createdAtstring

The time of creation

Format:
date-time
idstring

The ID of the subscription

Format:
uuid
Example:
"01929a94-5fce-7ccc-a7e4-7e9249133b39"
paymentMethodIdstring
Nullable

The ID of the associated payment method

Format:
uuid
Example:
"01924756-d1f6-738d-8040-90d76cedf01f"
currencystring
Match:
^[A-Z]{3}$
Example:
"DKK"
customerIdstring

The id of the merchant customer

Example:
"User159"
pointOfSaleIdstring
Format:
uuid
Example:
"0192473a-e381-705c-b61c-fc2ac9624afc"
referencestring
Nullable

The merchant reference for the subscription.

Example:
"reference-1"
descriptionstring
Nullable
statestring
Possible values:
"PENDING""ACTIVE""INVALID""DISABLED"
Example:
"ACTIVE"
typestring
Possible values:
"SCHEDULED""UNSCHEDULED"
Example:
"SCHEDULED"
expiryDatestring
Nullable
Format:
date
Example:
"2050-01-01"
createdAtstring

The time of creation

Format:
date-time
rejectedboolean
Example:
false
typestring

The type of SCA performed during the transaction.

Possible values:
"3DS""DELEGATED""UNKNOWN"
Example:
"3DS"
verificationstring
Possible values:
"NONE""FRICTIONLESS""CHALLENGED""UNKNOWN"
Example:
"FRICTIONLESS"
panstring
Example:
"12345678XXXX1234"
expireMonthstring
Example:
"07"
expireYearstring

The year the card expires in.

Example:
"35"
parstring
Nullable
Example:
"8F1B7C2QX4Z9N3V6M2R0K8YD5LJTPH"
Issuerstring
Nullable

The name of the card issuer (Bank)

Example:
"Danske Bank"
Schemestring
Nullable
Example:
"Visa"
Countrystring
Nullable
Example:
"DK"
Segmentstring
Nullable
Possible values:
"consumer""business""payouts"
Example:
"consumer"
Fundingstring
Nullable
Possible values:
"debit""credit""prepaid"
Example:
"debit"
NotificationWebhook
{  "transaction": {    "id": "LDG7M4WW44G",    "subscriptionId": "0197c07b-3f6d-7be2-b848-702b08958128",    "billingAgreementChargeId": "019a727b-987f-7768-a59e-71af920ef81f",    "state": "PENDING",    "errorCode": "string",    "externalStatusCodes": {      "terminal": "string",      "acquirer": "string",      "network": "string",      "sca": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "sessionId": "string",    "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",    "paymentMethodType": "CARD",    "paymentMethodSubType": "Visa",    "paymentMethodExpiry": "2019-08-24",    "paymentMethodDisplayText": "string",    "paymentMethodHolderName": "string",    "scaMode": "SKIP",    "customerId": "string",    "amount": 0,    "fee": 0,    "currency": "string",    "instantCapture": "OFF",    "notificationUrl": "http://example.com",    "pointOfSaleId": "be6bff4f-7fac-43c0-9f6b-cf2cd45ed7d1",    "reference": "string",    "textOnStatement": "string",    "exemptions": [      "LVT",      "TRA"    ],    "attributes": {      "property1": null,      "property2": null    },    "clientIp": "52.212.176.122",    "clientCountry": "DK",    "type": "PAYMENT"  },  "aggregates": {    "authorized": 25000,    "captured": 15000,    "refunded": 7500,    "voided": 3000,    "remaining": 8000,    "paidOut": 0  },  "operations": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "referenceTransactionOperationId": "09c60a7b-397b-4797-a5c8-792dc558cbed",      "amount": 0,      "state": "PROCESSING",      "transactionId": "LDG7M4WW44G",      "type": "AUTHORIZATION",      "errorCode": "string",      "createdAt": "2019-08-24T14:15:22Z",      "finalizedAt": "2019-08-24T14:15:22Z"    }  ],  "acquirerAgreement": {    "acquirer": "shift4",    "mcc": "4514"  },  "session": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",    "amount": 0,    "attributes": {      "property1": null,      "property2": null    },    "exemptions": [      "string"    ],    "allowedPaymentMethods": [      "CARD",      "VIPPS_MOBILEPAY"    ],    "currency": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "instantCapture": "OFF",    "maxAttempts": 0,    "attempts": 0,    "minimumAge": 0,    "ageVerified": true,    "reportFailure": true,    "reportExpired": true,    "dynamicAmount": true,    "notificationUrl": "http://example.com",    "preAuthUrl": "http://example.com",    "successUrl": "http://example.com",    "returnUrl": "http://example.com",    "failureUrl": "http://example.com",    "retryUrl": "http://example.com",    "customerId": "string",    "pointOfSaleId": "be6bff4f-7fac-43c0-9f6b-cf2cd45ed7d1",    "reference": "string",    "state": "PENDING",    "textOnStatement": "string",    "scaMode": "SKIP",    "timeout": 0,    "createdAt": "2019-08-24T14:15:22Z"  },  "subscription": {    "id": "01929a94-5fce-7ccc-a7e4-7e9249133b39",    "paymentMethodId": "01924756-d1f6-738d-8040-90d76cedf01f",    "currency": "DKK",    "customerId": "User159",    "pointOfSaleId": "0192473a-e381-705c-b61c-fc2ac9624afc",    "reference": "reference-1",    "description": "string",    "state": "ACTIVE",    "type": "SCHEDULED",    "expiryDate": "2050-01-01",    "interval": {      "period": "MONTH",      "frequency": 1    },    "createdAt": "2019-08-24T14:15:22Z"  },  "sca": {    "rejected": false,    "type": "3DS",    "verification": "FRICTIONLESS"  },  "card": {    "pan": "12345678XXXX1234",    "expireMonth": "07",    "expireYear": "35",    "par": "8F1B7C2QX4Z9N3V6M2R0K8YD5LJTPH",    "Issuer": "Danske Bank",    "Scheme": "Visa",    "Country": "DK",    "Segment": "consumer",    "Funding": "debit"  }}