Skip to main content

MitAuthorizationRequest

subscriptionIduuidrequired

The ID of the subscription to charge

amountintegerrequired

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

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}$

referencestring

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

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]

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

notificationUrlurirequired

The URL to receive the webhook with the transaction result

attributes object

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

property name*string
MitAuthorizationRequest
{
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"amount": 0,
"currency": "string",
"reference": "string",
"instantCapture": "OFF",
"textOnStatement": "string",
"notificationUrl": "string",
"attributes": {}
}