validateAccountHolderStatus

@GET(value = "/{productType}/{apiVersion}/accountholder/{accountHolderIdType}/{accountHolderId}/active")
abstract suspend fun validateAccountHolderStatus(@Path(value = "productType") productType: String, @Path(value = "apiVersion") apiVersion: String, @Path(value = "accountHolderId") accountHolderId: String, @Path(value = "accountHolderIdType") accountHolderType: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<AccountHolderStatus>

Makes a request to check the account holder status.

Return

A Response whose body is the parsed AccountHolderStatus ({"result": <bool>}).

Parameters

productType
apiVersion

The app Version (e.g., v1_0 or v2_0).

accountHolderId

The account holder unique ID (e.g., phone number).

accountHolderType

The account holder type (e.g., MSISDN).

productSubscriptionKey

The Product subscription Key (Ocp-Apim-Subscription-Key).