Data Services API
Information about our Data Services API.
Overview
Our Data Services API provides an easy way for merchants to manage their reconciliation processes programmatically. You can use our REST API to subscribe to daily sales transaction reports. You can configure subscribed events using the endpoints detailed below.
To request access, please speak to your Viva sales representative.
API calls
The Viva Data Services API consists of the following API calls:
- Retrieve MT940 Data
- Create a subscription
- Update a subscription
- Delete a subscription
- List subscriptions
- File Request
1. Retrieve MT940 Data
This API call is used to retrieve MT940 report data for a given date.
A valid call will result in HTTP status code 200 and generation of MT940-format data.
2. Create a subscription
This API call is used to subscribe to webhooks to get automated messages or information about specific events. A webhook subscription registers the notification URL that Viva sends notifications to and the events you want to be notified about.
A valid call will result in HTTP status code 200 and generation of a unique subscriptionId.
3. Update a subscription
This API call is used to update an existing webhook subscription.
A valid call will result in HTTP status code 200 and return a unique subscriptionId.
4. Delete a subscription
This API call is used to delete a webhook subscription.
A valid call will result in HTTP status code 200 and return a message “Subscription deleted”.
5. List subscriptions
This API call is used to list the existing webhook subscriptions.
A valid call will result in HTTP status code 200 and generation of a list of webhook subscriptions.
6. File Request
This API call is used to request the generation of a sale transactions report for a specific date.
A valid call will result in HTTP status code 200 and generation of a unique requestId. This request id will also be included in the header of the notification. You can save this value to match it with the incoming notifications.
Get Support
If you would like to integrate with Viva, or if you have any queries about our products and solutions, please see our Contact & Support page to see how we can help!