About the Webhooks API

The Webhooks API lets you retrieve the webhooks registered to notify a Base44 app about Checkout Sessions events. It's part of the Payments APIs for Base44. Each call applies to the app's site, which holds the app's payments data.

With the Webhooks API, you can retrieve all the webhooks registered for a site, including the event type and the URL each one notifies.

Registering webhooks

You don't create or delete webhooks with this API. Webhooks are registered with Checkout Sessions, which returns a public key for verifying the webhook payloads. Retrieve the registered webhooks with this API to check which event types are active and which URL receives each one.

A webhook can be registered for these event types:

  • Order approved: wix.ecom.v1.order_approved. This is the default when you don't specify an event type.
  • Subscription canceled: wix.ecom.subscription_contracts.v1.subscription_contract_canceled.
  • Subscription ended: wix.ecom.subscription_contracts.v1.subscription_contract_expired.

The id of each webhook in the response is the slug of its event type.

Before you begin

It's important to note the following points before starting to code:

  • List Webhooks returns only webhooks that were registered through Checkout Sessions.
  • If the site has no companion app yet, List Webhooks creates it before it returns the webhooks, so the call isn't strictly read-only.
  • All webhooks are returned in a single response. Paging, filtering, and sorting aren't supported, and the order of the webhooks isn't guaranteed.

Use cases

Terminology

  • Webhook: A registration that sends notifications about an event type to a URL.
  • Event type slug: The identifier of an event type, such as wix.ecom.v1.order_approved. It's used as the webhook ID.

Last updated: 24 November 2026

Did this help?