Confirm OTP

Send OTP

POST /common/sendOtp

<This endpoint allows end users to send/resend OTP to its mobile or email>

Parameters

Parameters
Type
Description
Is Required

businessId

string

The unique string generated by BaaS platform to identify the application

TRUE

otpType

string

sms

email

TRUE

Response

{
  "code": "00000",
  "msg": "Completed successfully"
}

Confirm OTP

POST /common/confirmOperation

<This endpoint allows end users to confirm the OTP code that they received from mobile or email>

Parameters

Parameters
Type
Description
Is Required

businessId

string

The unique string generated by BaaS platform to identify the application

TRUE

otpCode

string

The received OTP code

TRUE

Response

{
  "code": "00000",
  "msg": "Completed successfully"
}

Send OTP - SME Account Administrator

POST /common/sendAccAdminOtp

<This endpoint allows SME's account administrators to send/resend OTP to its mobile or email>

Parameters

Parameters
Type
Description
Is Required

businessId

string

The unique string generated by BaaS platform to identify the application

TRUE

otpType

string

sms

email

TRUE

accountId

string

The number of the account that is to make the transfer

TRUE

accManagerIdNumber

string

The ID number of the account administrator

TRUE

idType

string

The ID type of the account administrator.

101 - (Kenya) National ID

102 - (Kenya) Alien ID

103 - Passport

TRUE

Response

{
  "code": "00000",
  "msg": "Completed successfully"
}

Group Applications

POST /common/groupApplications

<This endpoint allows end users to group a batch of single transaction requests so that they can approve them in one OTP>

Parameters

Parameters
Type
Description
Is Required

applicationIdList

array

Array of string

TRUE

Response

{
  "applicationId": ""//The new application Id that can be used to confirm OTP
}

Last updated