POST /v1/notifications/simulate-event

Simulates a webhook event. In the JSON request body, specify a sample payload.
You need to subscribe to the following webhook events for Pay upon Invoice:

EventTrigger
PAYMENT.CAPTURE.COMPLETEDA payment capture completes.
PAYMENT.CAPTURE.DENIEDA payment capture is denied.
CHECKOUT.PAYMENT-APPROVAL.REVERSEDPayPal reverses a payment capture.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
url String No

The URL for the webhook endpoint. If omitted, the webhook ID is required.

resource_version String No

The identifier for event type ex: 1.0/2.0 etc.

event_type String Yes

The event name. Specify one of the subscribed events. For each request, provide only one event.

webhook_id String No

The ID of the webhook. If omitted, the URL is required.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.