Skip to main content

Authorizing an OTP transaction

POST 

/v2/payins/confirm_otp

After submitting a request to Create a PayIn using the mobile_money PayIn method, if the stage field is authorize_otp, it means an OTP has been sent to the wallet owner's phone. You should collect the OTP to authorize the Payin. Retrieve the OTP sent to the customer's phone and send a request to our authorization endpoint. If the OTP verification is successful, an STK prompt will be sent to the wallet owner's phone, prompting them to enter their PIN.

Request​

Responses​

Verify OTP successful