PUT
/
v1
/
webhook-events
/
{webhook_event_id}
curl --request PUT \
  --url https://api.sandbox.hit-pay.com/v1/webhook-events/{webhook_event_id} \
  --header 'Content-Type: application/json' \
  --header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
  --data '{
  "name": "Test Webhook Event",
  "url": "<string>",
  "event_types": "transfer.created"
}'
{
  "id": "9b2ada28-be3c-47ab-883f-ba72e5d8305d",
  "business_id": "9b294222-3a53-427f-9393-95dc6d63ee6c",
  "name": "Test Webhook Event",
  "url": "https://google.com",
  "event_types": [
    "transfer.created",
    "transfer.updated"
  ],
  "created_at": "2024-01-24T16:05:10+08:00",
  "updated_at": "2024-01-24T16:05:10+08:00"
}

Headers

X-BUSINESS-API-KEY
string
required
Example:

"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"

Path Parameters

webhook_event_id
string
required

The Webhook Event id

Body

application/json

Response

200
application/json
200

The response is of type object.