Home » Use Cases

Credit Card Activation

WhatsApp use case - credit card activation over API

When customers acquire their credit card, they will receive a notification. In the message, they will receive further information on how to activate their card online without having to go to the nearby branch in person.

To active the credit card, the customer needs to click on a button which is a part of the notification that they have received from your WhatsApp account. Then they’ll be redirected to make a phone call and provide the necessary information as authentication.

Process Workflow

WhatsApp use case - credit card activation process diagram


Before you implement this use case and start using WhatsApp message templates, the template needs to be approved by WhatsApp. Once your card_activation message template is approved, you can reuse it and personalize it for each customer who will receive the notification.

Use the additional placeholders to personalize your message.


To register your template, you must provide a template name, content, and language info. After that, Infobip sends the template over to WhatsApp for approval.

Template name

Template body


Call to Action Template Buttons



Hi {{1}},

Your credit card has been sent to your address today. In order to activate your card, please give us a call.



Type of action: Call Phone Number

Button Text: Contact Us

Country: GB +44

Phone Number: 1123456789


Steps over API

  1. Log in to Infobip API Resource hub and copy your BASE URL. Your personal base URL is: https://{{BASE_URL}}.api.infobip.com/


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.

  1. To send an approved message template, use Postman or similar API development tools, then choose the POST method.

  2. Replace the endpoint with https://{{BASE_URL}}.api.infobip.com/omni/1/advanced.

  3. Add the Authorization header. For example, Basic: Base64 encoded username and password. Learn more about Authentication on our Infobip API Resource hub.

  4. Copy the scenarioKey you previously created. Learn more about Creating a scenario.

Request example:

        "phoneNumber": "41793026727"
    }  ],
  "whatsApp": {
    "mediaTemplateData": {
    	"body": {
    		"placeholders": ["Nick"]
    	"buttons": []
  "sms": {
    "text": " Hi, your credit card has been sent to your address today. In order to activate your card, please call +441123456789."

Here's how the message looks like in WhatsApp:

Credit card activation mockup example message

Related Products

Communicate with your customers over the world’s most used Chat app