bcAuthorize

suspend fun bcAuthorize(productType: String, apiVersion: String, bcAuthorizeRequest: BcAuthorizeRequest, productSubscriptionKey: String, environment: String): Response<BackChannelAuthorize>

Initiates a backchannel (CIBA) authorization request.

Return

A Response containing the io.rekast.sdk.model.BackChannelAuthorize with the authorization request details.

Parameters

productType

The type of product initiating the authorization (e.g., collection).

apiVersion

The version of the API (e.g., v1_0).

bcAuthorizeRequest

The authorization request parameters.

productSubscriptionKey

The subscription key for the product.

environment

The target environment (e.g., sandbox or production).