authorizeInvoice

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

Deprecated

Use replacement function.

Replace with

authorize(request, threeDSService)

Authorize invoice with the given request and 3DS service implementation. Collect the result by subscribing to authorizeInvoiceResult flow before invoking this function. Returns coroutine job.


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

Deprecated

Use replacement function.

Replace with

authorize(request, threeDSService)

Authorize invoice with the given request and 3DS service implementation. Result provided in the callback. Returns coroutine job.