Skip to main content
Limited availability
Balance webhooks are in pilot phase. Some of the processes and documentation may change as the feature evolves.

You can view, update, and delete your balance webhook settings by using the Configuration API.

View all balance webhook settings

To get the list of settings and conditions for triggering the webhook, make a GET /balancePlatforms/{id}/webhooks/{id}/settings request, specifying the ID of your balance platform and the ID of your balance webhook as path parameters. Get all settings
Response

View the conditions in a balance webhook setting

To get details of a balance webhook setting with the conditions for triggering the webhook, make a GET /balancePlatforms/{id}/webhooks/{id}/settings/{id} request, specifying the following IDs as path parameters:
  • balance platform ID
  • balance webhook ID
  • balance webhook setting ID
Get setting details
Response

Update a balance webhook setting

To update the conditions for triggering balance webhooks, make a PATCH /balancePlatforms/{id}/webhooks/{id}/settings/{id} request, specifying the following IDs as path parameters:
  • balance platform ID
  • balance webhook ID
  • balance webhook setting ID
In the body of the request, include the following parameters:

Examples

The following examples provide an overview of the most common reasons to update a balance webhook setting. **

Add a new set of conditions

To add a new set of conditions to a balance webhook setting, send both the existing and the new condition set in the conditions array. Add new condition set
**

Remove a set of conditions

To remove a set of conditions from a balance webhook setting, exclude them from conditions array when you send the update request. You must send the conditions you want to keep in the update request. Remove condition set
**

Deactivate a setting

To temporarily stop receiving webhooks for the specified conditions, set the status of the webhook setting to inactive. Deactivate a setting
**

Remove all conditions

If you remove the only existing condition set from the webhook setting, you will receive updates for all balance changes in the specified balance account(s).

Delete a balance webhook setting

If you want to permanently stop receiving webhooks for the specified conditions, send a DELETE /balancePlatforms/{id}/webhooks/{id}/settings/{id} request, specifying the following IDs as path parameters:
  • balance platform ID
  • balance webhook ID
  • balance webhook setting ID
Delete setting

See also

Configure balance webhook settings Learn how you can configure and receive automatic notifications about the changes to balances in your balance platform. Use cases See examples of how you can configure the balance webhook for specific use cases.