Confirm Transactions That Seem Suspicious
Identify potentially fraudulent activities and ask customers to confirm those transactions. Trigger messaging via Infobip API Management Service from the core banking or CRM system, as they happen.
This use case shows how to create a scenario where end users receive a Viber message alert to authorize their financial transactions. Such alerts help spot any suspicious purchasing activity to which the end user might not even be aware of.
Process Workflow
NOTE
Before you start communicating with your customers over Viber, you must obtain and store their opt-ins.
IMPLEMENTATION STEPS
Steps over API
- Log in to the Infobip API Resource hub and copy your base URL. Your personal base URL is: https://{{BASE_URL}}.api.infobip.com/
BASE URL
The personal BASE URL is a simple way to identify who sent out the API request. This means we can identify the request through DNS and then find the optimal route for API requests.
-
To create a request, use Postman or a similar API development tool, then choose the POST method.
-
Replace the endpoint with your Base URL and then add the following to that URL: ''.api.infobip.com/omni/1/advanced''
-
Add the Authorization header. For example, Basic: Base64 encoded username and password. Learn more about Authentication on our Infobip API Resource hub.
-
Copy the
scenarioKey
you previously created. Learn more about Creating a scenario. -
Using the JSON request example provided below, specify the destination
phoneNumber
you wish to send the notification to. -
Enter the Viber
text
,imageURL
,buttonText
andbuttonURL
values. -
Enter the SMS
text
value and provide the authorization link. -
Send your message. If successful, the response header HTTP status code will be
200
.
{
"scenarioKey":"ABD3424C690F0D706",
"destinations":[
{
"to":{
"phoneNumber": "79123456789"
}
}
],
"viber": {
"text": " Hello Jane, a transaction was attempted using your card in the amount of 100 EUR. To authorize the transaction please click authorize button below.",
"imageURL": "infobip.com/image/example.png",
"buttonText": "Get your order",
"buttonURL": "http://www.infobip.com/",
"validityPeriod": "1",
"isPromotional": true
},
"sms": {
"text": " Hello Jane, a transaction was attempted using your card in the amount of 100 EUR. To authorize the transaction please click link Example.com"
}
}
The validity period is set to 1 minute. This means that if the Viber message is not delivered within one minute, an SMS message wil be sent.