Debugging errors

Useful information can be obtained in relation to our APIs for payments from the response headers X-Viva-CorrelationId and X-Viva-EventId.

Our customer service team may ask you for the values from these on live chat when troubleshooting any potential issues with your integration.

Header name Type Required Description
X-Viva-CorrelationId string false Unique ID used for debugging.
X-Viva-EventId number false Unique ID, signifies the occurrence of a specific event.

Where to find

The above two headers can normally be found in the response from a request sent to the Viva Wallet API.

Postman

To locate in Postman, click on the Headers tab as shown below:

Postman response header

Google Chrome

To locate in Google Chrome:

  1. On the payment page of one of our plugins, go to View > Developer > Developer Tools to show the Chrome developer tools with the Network tab selected alongside your webpage.

  2. Enter dummy card details and click on the Place order button after accepting the terms and conditions.
    An order confirmation page is displayed.

  3. Check the developer tools data which should have been updated with a series of request items, one item listed per line. Click once on one of the Viva Wallet API calls and you will see detailed information. X-Viva-CorrelationId will be shown in the Response Headers section:

    Chrome response header