Skip to main content

MitAuthorizationRequest

subscriptionIduuidrequired

The ID of the subscription to charge

Example: 01929a94-5fce-7ccc-a7e4-7e9249133b39
amountintegerrequired

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

Example: 100
currencystringnullable

The currency of the transaction. If set to null, then the same currency as the subscription was created for will be used.

Possible values: Value must match regular expression ^[A-Z]{3}$

Example: DKK
referencestring

The merchant reference for the payment. This is typically used for the order id.

Example: subscription-charge-1
instantCapturestring

If the payment should be captured instantly or not.

  • OFF indicates that the payment should not be captured instantly.
  • VOID indicates that the payment should be captured instantly and if somehow the instant capture fails the payment is voided.
  • NO_VOID indicates that the payment should be captured instantly and if the capture fails the authorization is kept (no void is made)

Possible values: [OFF, VOID, NO_VOID]

Example: OFF
textOnStatementstring

The text to show on the cardholder bank statement. Many providers do not support long texts. Epay will cut the text to match the acquirer limitations.

Possible values: non-empty and <= 39 characters

Example: WineBox subscription
notificationUrlurirequired

The URL to receive the webhook with the transaction result

Example: https://example.com/epay/notification
attributes object

A list of pass-through parameters that will be sent back on the notification URL

property name*any

A list of pass-through parameters that will be sent back on the notification URL

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": {}
}