Configuring SecurePay Digital Automation in Cognigy

Updated: 10/24/2025

Objective

SecurePay Digital Automation uses IVRs to send an SMS or email to a caller upon payment request. For 8x8 customers, this can be set up using our ICA (Intelligent Customer Assistant) solution with Cognigy. This article will outline what is required for the cofiguration to work.

Applies To

  • SecurePay (PCI Pal) Digital Automation
  • Intelligent Customer Assistant (ICA)

Procedure

For the Cognigy setup, your flows will need to do the following:
  1. Fetch an access token from PCI Pal.
  2. Generate a payment session with PCI Pal.
  3. Poll the PCI Pal session to confirm completion.
The video below details how this is configured in Cognigy.
To summarize the video, you will need to do the following:
  1. Create a HTTP Request node to fetch access token your Cognigy Flow
  2. Ensure the Method used is POST
  3. The URL and payload secret will be supplied by PCI Pal
    82b7f48d-beb4-4e8e-8cd8-ba28a0107105.png
  4. Make sure the storage optin is set to Context and will store it as your access token.
  5. Click Save.
    82eda3f1-5ea1-4480-ada6-b3541e299863.png
  6. Create a new HTTP request node to generate a payment session with PCI Pal.
  7. Ensure the node is using the POST method.
  8. Enter the URL for your PCI Pal envirnment.
    8a16b3f3-e872-43ee-8c84-f3150b1191ac.png
  9. Select the Payload as JSON.
    • In this example we have hardcoded the JSON to get a specific flow ID, reference number, payment amount, and customer details.
      Screenshot 2025-10-24 170427.png
       
  10. Set the information to be stored as context as a session ID.
  11. Click Save.
    a5a6e8e3-e7ba-4d80-9bd6-60dbb0139438.png
      
  12. Create a new HTTP request node to poll the session for completion.
  13. Ensure the node is using the GET method.
  14. Enter in the URL of your environment.
  15. Click Save
    67062b32-9ccb-4c4a-909e-4a5ad9392d2c.png
  16. Set a confirmation message to play if the polling session completion result is set to true.
    0bd64871-3f5e-4ecb-8545-bc7fbbda8d77.png