Update Webhook
PUT {{baseUrl}}/v1/webhooks/:id
Update a webhook. You can update the endpoint url, event types that the endpoint receives, or temporarily deactivate the webhook.
Request Body
{"request"=>{"event_types"=>["TRANSFER_FAILED", "TRANSFER_PROCESSED"], "status"=>"INACTIVE", "url"=>"non proident ut quis"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"event_types":["TRANSFER_PROCESSED","REFERRAL_ACTIVATED"],"id":"tempor laboris eiusmod","status":"ERROR","url":"elit incididunt labor"}