Configuration

Set webhook URL

POST
Set a url to receive webhook events from Pier.

Request

This endpoint expects an object.
url
stringRequired

The url to send webhooks to

Response

This endpoint returns a string

Errors

POST
1curl -X POST https://production.pier-finance.com/api/configuration/webhook \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "url": "https://example.com/webhook"
6}'
1"Ok."