B2BSmsOtpClient

interface B2BSmsOtpClient

B2B SMS OTP methods.

Functions

Link copied to clipboard
abstract suspend fun authenticate(request: IB2BOTPsSMSAuthenticateParameters): B2BOTPsSMSAuthenticateResponse

Authenticates an SMS OTP code submitted by the member, completing the MFA step. Calls the POST /sdk/v1/b2b/otps/sms/authenticate endpoint. Automatically includes the intermediate session token if one is present.

Link copied to clipboard
abstract suspend fun send(request: IB2BOTPsSMSSendParameters): B2BOTPsSMSSendResponse

Sends an SMS OTP to the member's phone number for MFA verification. Calls the POST /sdk/v1/b2b/otps/sms/send endpoint. Automatically includes the intermediate session token if one is present.