SAP Authentication 365 provides simple APIs to enable customers to deploy 2FA over SMS, as well as Email and even URL-based validation methods. Incorporating the APIs into your existing work-flows is straight-forward and involves three easy steps:
Authenticate your application with the SAP Authentication 365 cloud
Generate and send the PIN
Validate the PIN provided by the end user.
Read the SAP Authentication 365 - Easy API Integration document attached below to learn more and go through these steps in more detail: