authorizeInvoice

abstract fun authorizeInvoice(request: POInvoiceAuthorizationRequest, threeDSService: PO3DSService)

Authorize invoice with the given request and 3DS service implementation. Collect result by subscribing to authorizeInvoiceResult flow before invoking invoice authorization.


abstract fun authorizeInvoice(request: POInvoiceAuthorizationRequest, threeDSService: PO3DSService, callback: (ProcessOutResult<Unit>) -> Unit): Job

Deprecated

Use function authorizeInvoice(request, threeDSService)

Replace with

authorizeInvoice(request, threeDSService)