Verify/OTP API
Secure customers on web or mobile.
Secure and authenticate customers on your apps using Two Factor Authentication in two simple steps.
MFA made easier.
Secure every interaction.
Beem’s One Time Password (OTP) API allows software developers and platform owners to simplify the entire end to end process of verifying transactions by handling both the OTP generation and OTP verification steps in a secure and industry standard REST API.
What can you use it for?
User Verification
Verify new users at registration and login.
Payment Verification
Verify transactions and payment authenticity.
Order Verification
Verify mobile commerce, e-commerce orders.
Key Features
So you can focus on what matters.
Coming Soon.
Coming Soon.
How it Works
5 Simple & Easy Steps
Step 1
Step 2
Step 3
Step 4
Step 5
The Beem Advantage
Uptime
Platform uptime guarantee of 99.9%.
Scalability
Network Reach
Support
Flexible Models
No minimum commitment with a pay-as-you-go model.
Tiered Pricing
Competitive tier-based pricing.
<?php
//…. replace <api_key> and <secret_key> with the valid keys obtained from the platform, under profile>authentication information
$api_key=‘<api_key>’;
$secret_key = ‘<secret_key>’;
// The data to send to the API
$postData = array(
‘appId’ => ‘1’,
‘msisdn’ => ‘25560061693’,
);
//…. Api url
$Url =‘https://apiotp.beem.africa/v1/request’;
// Setup cURL
$ch = curl_init($Url);
error_reporting(E_ALL);
ini_set(‘display_errors’, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt_array($ch, array(
CURLOPT_POST => TRUE,
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_HTTPHEADER => array(
‘Authorization:Basic ‘ . base64_encode(“$api_key:$secret_key”),
‘Content-Type: application/json’
),
CURLOPT_POSTFIELDS => json_encode($postData)
));
// Send the request
$response = curl_exec($ch);
// Check for errors
if($response === FALSE){
echo $response;
die(curl_error($ch));
}
var_dump($response);