
2FA Two-factor Authentication
Two-factor authentication protects your databases and significantly reduces the risk of hackers accessing online accounts by blocking massive phishing attacks and protects your customers’ data.
Add an extra layer of security to protect your business and your customers’ accountsWhat 2FA protects against

Customer account takeover

Fraudulent transactions

Prevents account hijacking

Secure your customer data
2FA eliminates the possibility of unauthorized access to customer information. Even if attackers stole the login and password data, access to the account will only be possible with additional verification by phone number.
Build a trusted business. Use 2FA for all industries where data security is important. Verify logins and confirm transactions by sending unique codes to each customer individually.
Main features of 2FA from BSG

Add an extra layer of security
4 simple steps to authenticate your client via 2FA
- The user enters the site and enters login and password
- The system sends the user a request to perform two-factor authentication using SMS or Viber
- The user receives a message with a code
- The system checks the entered code and grants access to the user


Pay only for successful verifications – 0.01 €
plus the cost of SMS or Viber messages
Developers can easily read and rely on our API
Add a globally prevalent cybersecurity method to your website or application in a quick and easy manner. Safeguard user personal details and prevent account takeovers by requesting an OTP via SMS within your sign up or transaction flow.
- Go
- Node
- Ruby
- Python
- Java
- PHP
func (client *SmsClient) CreateMultipleSms(request MultipleSmsRequest) MultipleSmsData {
var sms MultipleSmsData
request.Destination = “phones”
_DoJsonCreateRequest(client.BaseClient, sms_create_method, request, &sms)
return sms
}
bsg.createSMS(
{
destination: “phone”,
originator:”alpha name”,
body:”message text”,
msisdn:”85226010227″,
reference:”ext_id_16″,
validity:”1″,
tariff:”0″
}
).then(
SMS => console.log( “SMS created:”, SMS ),
error => console.log( “SMS creation failed:”, error )
def message_create(params={})
MESSAGE.new(request(:post, “sms/create/”, params.merge({})))
end
class SMSMessage(dict):
def __init__(self, body: str = ”, originator: str = ‘BSG RESTAPI’, **kwargs):
kwargs.update({‘body’: body, ‘originator’: originator})
super().__init__(**kwargs)
MultipleSmsRequest multipleSmsRequest = new MultipleSmsRequest();
multipleSmsRequest.setBody(“Some text”);
multipleSmsRequest.setOriginator(“me”);
multipleSmsRequest.setTariff(null);
multipleSmsRequest.setValidity(1);
List<Phone> phones = new ArrayList();
phones.add(new Phone(“85226010227”, UUID.randomUUID().toString().substring(0, 13)));
phones.add(new Phone(“85226010227”, UUID.randomUUID().toString().substring(0, 13)));
multipleSmsRequest.setPhones(phones);
MultipleSmsData data = smsClient.createSms(multipleSmsRequest);
$smsclient->$answer = $this->smsClient->sendSmsMulti([
[‘msisdn’ => 85226010227, ‘body’ =>’test’, ‘reference’ => ‘successSendM’ . (string)time()],
[‘msisdn’ => 85226010227, ‘body’ =>’tes2′, ‘reference’ => ‘successSendM1’ . (string)time()],
]);