Create a new Webhook Endpoint

Create or re-arms Endpoints. This endpoint is only used for setting up your webhook endpoint for the first time.
This is run the first time you set up your webhook API.
When this runs it performs checks against the webhook endpoint to ensure you have set up your webhook correctly.If you have not configured you webhook listener correctly, then you will need to call this endpoint again to reset the arming process and try again.
For a list of the checks completed when arming a webhook: https://docs.payadvantage.com.au/docs/arming-an-endpoint

Body Params
uri
required
length ≥ 1

URL that webhook events will be sent to.

int16 | null
1 to 2

Version of the request that you would like sent to your endpoint. Version 2 includes a copy of the entity related to the webhook event.
Defaults to 2.

Responses
200

OK

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json