Update an endpoint

Update an endpoint

PUT https://sandbox-api.stilt.com/v1/webhooks/endpoints/{endpoint_id}

Path Parameters

Name
Type
Description

endpoint_id*

string

The uuid of the endpoint

Request Body

Name
Type
Description

url

string

URL that will be receiving Onbo Webhooks. Must be unique.

events

array

List of event types endpoint will be subscribed to. You can get all available event types from here. In case this param is not passed, the endpoint will be subscribed to all event types.

description

string

Endpoint description

{
    "uuid": "822b655d-0996-44cc-b34d-197d373aca56",
    "url": "https://testing-webhooks.stilt.com/webhooks/payments/listener",
    "description": "This endpoint receives all payments webhook messages.",
    "events": [
        "payment.failed",
        "payment.succeeded",
        "payment.failed_after_success"
    ]
}

Last updated