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’ accounts
Get started
2FA_lock icon
2FA_API keys
2FA_Сode settings
2FA_Expenses Dashboard.svg

What 2FA protects against


Customer account takeover


Fraudulent transactions


Prevents account hijacking

2FA personal data protector by BSG

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

  • 2fa by bsg_api integration icon

    Convenient integration via API

  • 2fa by bsg_phone and one arrow

    Methods of code delivery: SMS and Viber

  • 2fa by bsg phone_ and two arrows

    Ability to re-send the code

  • 2fa by bsg_settings icon

    Flexible setting of OTP code parameters:

    • validity time: from 30 to 300 seconds
    • number of characters in the code: from 3 to 9
    • number of attempts to enter the code: from 1 to 5
  • 2fa by bsg_statistics dashboard

    Statistics of completed authentications


Add an extra layer of security

to your multifactor authentication methods to protect business and customers’ accounts
Get started

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

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

destination: “phone”,
originator:”alpha name”,
body:”message text”,
SMS => console.log( “SMS created:”, SMS ),
error => console.log( “SMS creation failed:”, error )

def message_create(params={}), “sms/create/”, params.merge({})))

class SMSMessage(dict):
def __init__(self, body: str = ”, originator: str = ‘BSG RESTAPI’, **kwargs):
kwargs.update({‘body’: body, ‘originator’: originator})

MultipleSmsRequest multipleSmsRequest = new MultipleSmsRequest();
multipleSmsRequest.setBody(“Some text”);
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)));
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()],


Be Reliable Use 2FA

Get started