getApprovedPreApprovals

@GET(value = "/collection/{apiVersion}/preapprovals/{accountHolderIdType}/{accountHolderId}")
abstract suspend fun getApprovedPreApprovals(@Path(value = "accountHolderIdType") accountHolderIdType: String, @Path(value = "accountHolderId") accountHolderId: String, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<ApprovedPreApprovals>

Retrieves the list of approved pre-approvals for a given account holder.

Return

A Response whose body is the parsed ApprovedPreApprovals.

Parameters

accountHolderIdType

The type of the account holder identifier (e.g., MSISDN).

accountHolderId

The account holder identifier of the payer whose pre-approvals to list.

apiVersion

The API version to target (e.g., v1_0 or v2_0).

productSubscriptionKey

The Ocp-Apim-Subscription-Key for the Collection product.