POInvoiceAuthorizationRequest

constructor(invoiceId: String, source: String, incremental: Boolean = false, enableThreeDS2: Boolean = true, preferredScheme: String? = null, thirdPartySdkVersion: String? = null, invoiceDetailsIds: List<String>? = null, overrideMacBlocking: Boolean = false, initialSchemeTransactionId: String? = null, autoCaptureAt: Date? = null, captureAmount: String? = null, authorizeOnly: Boolean = true, allowFallbackToSale: Boolean = false, metadata: Map<String, String>? = null)

Parameters

invoiceId

Invoice identifier to authorize.

source

Payment source to use for authorization.

incremental

Boolean value indicating if authorization is incremental. Default value is false.

enableThreeDS2

Boolean value indicating whether 3DS2 is enabled. Default value is true.

preferredScheme

Card scheme or co-scheme that should get priority if it is available.

thirdPartySdkVersion

Can be used for a 3DS2 request to indicate which third party SDK is used for the call.

invoiceDetailsIds

Can be used to to provide specific ids to indicate which of items provided in invoice details list are subject to capture.

overrideMacBlocking

Allows to specify if transaction blocking due to MasterCard Merchant Advice Code should be applied or not. Default value is false.

initialSchemeTransactionId

Allows to specify which scheme ID to use for subsequent CIT/MITs if applicable.

autoCaptureAt

You can set this property to arrange for the payment to be captured automatically after a time delay.

captureAmount

Amount of money to capture when partial captures are available. Note that this only applies if you are also using the autoCaptureAt option.

authorizeOnly

Boolean value indicating whether should only authorize the invoice or also capture it. Default value is true.

allowFallbackToSale

Boolean value indicating whether should fallback to sale if the gateway does not support separation between authorization and capture. Default value is false.

metadata

Additional metadata.