Test a webhook

post /merchants/{merchantId}/webhooks/{webhookId}/test

Sends sample notifications to test if the webhook is set up correctly.

We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification.

The response describes the result of the test. The status field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests.

To make this request, your API credential must have the following roles:

  • Management API—Webhooks read and write

Endpoint destination URL

Click to copy

Path parameters

webhookId string Required

Unique identifier of the webhook configuration.

merchantId string Required

The unique identifier of the merchant account.

Request parameters

notification object

Custom test notification object. Required when the types list contains CUSTOM.

types array [string]

List of event codes for which to send test notifications. Only the webhook types below are supported.

Possible values if webhook type: standard:

  • CUSTOM - set your custom notification fields in the notification object.

Possible values if webhook type: banktransfer-notification:


Possible values if webhook type: report-notification:


Possible values if webhook type: ideal-notification:


Possible values if webhook type: pending-notification:


Response parameters

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.

    Show more Show less
  • 204 - No Content

    The request has been successfully processed, but there is no additional content.

  • 400 - Bad Request

    A problem reading or understanding the request.

    Show more Show less
  • 401 - Unauthorized

    Authentication required.

    Show more Show less
  • 403 - Forbidden

    Insufficient permissions to process the request.

    Show more Show less
  • 422 - Unprocessable Entity

    A request validation error.

    Show more Show less
  • 500 - Internal Server Error

    The server could not process the request.

    Show more Show less
  • Request
  • Click to copy
  • Response
  • Click to copy