Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Listen for events on your Groov account so your integration can automatically trigger reactions.
Explore.
Get real-time notifications
Webhooks are "user-defined HTTP callbacks". Groov uses webhooks to notify your application when an event happens regarding your connected ledger account. In our setup, Webhooks should be used to understand asynchronous events such as when a ledger account authorises their account connection to you via Groov, data aggregation is complete, insights are available, in-life data for an ongoing connected account changes/gets added.
How Groov uses webhooks
A webhook enables Groov to push real-time notifications to your app. Groov uses HTTPS to send these notifications to your app as a JSON payload.
Steps to setup webhooks
Please follow the steps below to setup your webhook URLs:
Create a webhook endpoint as an HTTP endpoint (URL) on your local server.
Handle requests from Groov by parsing each event object, return
2xx
response status codes.Test that your webhook endpoint is working properly using the Groov test toggle/sandbox account
Deploy your webhook endpoint so it’s a publicly accessible HTTPS URL.
Register your publicly accessible HTTPS URL in the Groov dashboard.
Register your webhook URL on Groov
via dashboard setup
Please follow the steps below to register your webhook URL(s) on Groov dashboard:
Login to your developer account on Groov Portal
As an admin role or a developer role, you will have access to the Developers section as per the visual.
Access the Developers menu option and navigate to Web hooks section (Note:you can create separate webhook endpoints for test/sandbox setup vs your Live setup, use the toggle switch to setup accordingly)
Add an endpoint, it will ask for the URL details, description (provide a brief note of what this endpoint does in your app), select the Groov events you want to subscribe to and click on Create endpoint. Two key events for the initial setup will be:
- authorisation.enabled → This event type allows you to receive notifications as soon as your customer provides authorisation to their merchant/commerce/trading partner account (like to their Stripe or SumUp or Worldpay account for example)
- ledger_alldata.primary_sync.complete → This event type allows you to receive notification on when to call the Groov unified APIs to retrieve the unified data about your customer/ledger account. Once a partner connection gets authorised, Groov will source the scoped data/information, transform and unify it. As soon as the data is available via Groov's API for the connected ledger account, Groov will send notifications for this event type
- Thats it, you are all set
Image Added
via Groov API
You can also setup webhook URL on your Groov account by tapping on Groov's API as follows:
- Access the following endpoint to perform a POST operation
- Provide the URL details, description (provide a brief note of what this endpoint does in your app), select the Groov events you want to subscribe to and do a POST call via the above REST API endpoint . Two key events for the initial setup will be:
- authorisation.enabled → This event type allows you to receive notifications as soon as your customer provides authorisation to their merchant/commerce/trading partner account (like to their Stripe or SumUp or Worldpay account for example)
- ledger_alldata.primary_sync.complete → This event type allows you to receive notification on when to call the Groov unified APIs to retrieve the unified data about your customer/ledger account. Once a partner connection gets authorised, Groov will source the scoped data/information, transform and unify it. As soon as the data is available via Groov's API for the connected ledger account, Groov will send notifications for this event type
- Thats it, you are all set
Manage your Webhook setup ongoing
via dashboard setup
On your Groov dashboard account, navigate to Developers → Webhooks section,
- To update an existing endpoint: select the webhook endpoint you want to amend/update, click on EDIT icon to make changes. Save the changes
- To delete an existing webhook endpoint: select the webhook endpoint you want to delete and click on the Delete icon
via Groov API
You can also manage webhook URL on your Groov account by tapping on Groov's API as follows:
- To update an existing endpoint: https://app.wearegroov.io/api/swagger-ui/index.html?configUrl=/api/v3/api-docs/swagger-config#/Webhook%20endpoints/edit
- To delete an existing webhook endpoint: https://app.wearegroov.io/api/swagger-ui/index.html?configUrl=/api/v3/api-docs/swagger-config#/Webhook%20endpoints/delete
- To query an existing endpoint: https://app.wearegroov.io/api/swagger-ui/index.html?configUrl=/api/v3/api-docs/swagger-config#/Webhook%20endpoints/get
- To query all your webhook endpoints (if you have more than 1: https://app.wearegroov.io/api/swagger-ui/index.html?configUrl=/api/v3/api-docs/swagger-config#/Webhook%20endpoints/getAllWebhooks
Panel | ||||
---|---|---|---|---|
On this page:
|
Related pages
Filter by label (Content by label) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|