Create an endpoint

Create endpoint to start receiving webhook messages.

POST https://sandbox-api.stilt.com/v1/webhooks/endpoints

Request Body

NameTypeDescription

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