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

MitAuthorizationRequest

subscriptionIdstring
Required

The ID of the subscription to charge

Format:
uuid
Example:
"01929a94-5fce-7ccc-a7e4-7e9249133b39"
amountinteger
Required

Amount in minor units (e.g., 1095 = 10.95 DKK)

Example:
100
currencystring
Nullable
Match:
^[A-Z]{3}$
Example:
"DKK"
referencestring
Example:
"subscription-charge-1"
instantCapturestring
Possible values:
"OFF""VOID""NO_VOID"
Example:
"OFF"
textOnStatementstring
Length:
1 <= length <= 39
Example:
"WineBox subscription"
notificationUrlstring
Required

The URL to receive the webhook with the transaction result

Format:
uri
Example:
"https://example.com/epay/notification"
[key: string]unknown
MitAuthorizationRequest
{  "subscriptionId": "01929a94-5fce-7ccc-a7e4-7e9249133b39",  "amount": 100,  "currency": "DKK",  "reference": "subscription-charge-1",  "instantCapture": "OFF",  "textOnStatement": "WineBox subscription",  "notificationUrl": "https://example.com/epay/notification",  "attributes": {    "property1": null,    "property2": null  }}