Create an endpoint

Create endpoint to start receiving webhook messages.

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

Request Body

{
    "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