Skip to main content

Update a webhook setting

patch/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings/{settingId}

Updates the conditions the balance change needs to meet for Adyen to send a balance webhook.

Endpoint destination URL
https://balanceplatform-api-test.adyen.com/bcl/v2/balancePlatforms/{balancePlatformId}/webhooks/{webhookId}/settings/{settingId}
Click to copy
settingIdstringRequired

The unique identifier of the balance webhook setting.

webhookIdstringRequired

The unique identifier of the balance webhook.

balancePlatformIdstringRequired

The unique identifier of the balance platform.

conditionsarray, null

The array of conditions a balance change must meet for Adyen to send the webhook.

currencystring

The three-character ISO currency code of the balance.

statusstring

The status of the webhook setting. Possible values:

  • active: You receive a balance webhook if any of the conditions in this setting are met.
  • inactive: You do not receive a balance webhook even if the conditions in this settings are met.
targetobject

The type and ID of the resource about whose balance changes you want to be notified.

typestring

The type of the webhook you are configuring. Set to balance.

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

  • 400 - Bad Request

    A problem reading or understanding the request.

  • 401 - Unauthorized

    Authentication required.

  • 403 - Forbidden

    Insufficient permissions to process the request.

  • 404 - Not Found

    The payment was not found

  • 422 - Unprocessable Entity

    A request validation error.

  • 500 - Internal Server Error

    The server could not process the request.