Help Section
Developers

Webhooks

 

Receive real-time notifications from Kwik when events occur on your account.

Webhooks allow Kwik to send real-time notifications to your application whenever an event occurs on your account.

Instead of continuously polling the API for updates, your application can listen for webhook events and immediately react when payments, customers, mandates, collections, refunds, and other resources change.

For a complete technical reference, event payloads, security information, and implementation examples, please refer to:

Webhook API Documentation

Creating a Webhook

To create a new webhook, select Create.

The webhook creation form allows you to define where Kwik should send event notifications.

Fields

FieldDescription
NameFriendly name used to identify the webhook. Up to 64 characters.
Webhook URLHTTPS endpoint that will receive webhook notifications. Up to 1024 characters.
EventsOne or more events that should trigger a webhook notification.
StatusDetermines whether the webhook is active.

Events

Select the events your application would like to receive.

EventSent when
bank_account.createdA customer or recipient bank account is created.
bank_account.updatedA bank account is updated.
charge.successfulA card charge succeeds.
charge.failedA card charge fails.
checkout.completedA checkout (payment link, pay button or checkout form) is paid.
checkout.expiredA checkout expires before it is paid.
checkout.failedA checkout payment fails.
collection.createdA collection is created.
collection.updatedA collection is updated, for example when its status changes.
customer.createdA customer is created.
customer.updatedA customer is updated.
mandate.createdA mandate is created.
mandate.updatedA mandate is updated, for example when it is authorised or cancelled.
preauth.successfulA card pre-authorisation succeeds.
preauth.failedA card pre-authorisation fails.
preauth.capturedA pre-authorised amount is captured.
preauth.reversedA pre-authorisation is reversed.
preauth.expiredA pre-authorisation expires before it is captured.
refund.successfulA refund succeeds.
refund.failedA refund fails.
transaction.createdA transaction is created.
transaction.updatedA transaction is updated, for example when it is paid, unpaid or disputed.

The event payloads are described in the API documentation.

Status

Choose whether the webhook should actively receive notifications.

Available statuses:

StatusDescription
LiveThe webhook will receive events from Kwik.
DisabledThe webhook is inactive and no events will be sent.

Managing Webhooks

Once created, all webhooks are displayed in the webhook list.

The list displays:

  • Creation date
  • Webhook name
  • Webhook URL
  • Current status

Use the search bar to quickly locate a webhook.

Webhook Actions

Each webhook provides additional actions through the action menu.

Available actions include:

ActionDescription
Test WebhookSends a sample event to the configured endpoint. Only available for Live webhooks.
View EventsView webhook delivery history and responses.
EditModify the webhook configuration.
DeletePermanently remove the webhook.

Testing a Webhook

Before using a webhook in production, it is recommended to test the endpoint.

Select Test Webhook from the actions menu.

Choose an event type and Kwik will immediately send a test payload to the configured endpoint. This allows you to:

  • Verify connectivity
  • Confirm payload processing
  • Validate response handling
  • Test error handling and retries

Viewing Webhook Events

The webhook event log provides visibility into all webhook deliveries.

For each delivery attempt you can view:

FieldDescription
CreatedDate and time the event was sent.
NameWebhook name.
EventThe event that was triggered.
StatusResult of the delivery. See Delivery Statuses.
HTTP CodeResponse code returned by your endpoint.
Is TestIndicates whether the event was a test payload.
Retry TimestampDate and time of the next retry attempt, if applicable.
Retry CounterNumber of delivery retries attempted.

This information is useful when troubleshooting webhook integrations.

Delivery Statuses

StatusDescription
SuccessYour endpoint returned a successful 2xx response.
Failed (Retry)Delivery failed and Kwik will retry at the Retry Timestamp.
FailedDelivery failed and no further retries will be made. Fix your endpoint and use Resend.

Event Actions

ActionDescription
ResendSend the event to your endpoint again.
View payloadView the JSON payload that was sent.
View responseView the response returned by your endpoint.

Best Practices

  • Always use HTTPS endpoints.
  • Return a successful 2xx HTTP response as quickly as possible.
  • Process webhook payloads asynchronously where possible.
  • Verify webhook signatures according to the API documentation.
  • Monitor webhook delivery history regularly.
  • Subscribe only to the events your application requires.
  • Use the webhook testing feature before moving integrations into production.

Common Use Cases

Webhooks are commonly used for:

  • Updating payment statuses
  • Synchronising customers with external systems
  • Triggering business workflows
  • Updating CRM platforms
  • Sending notifications to customers
  • Reconciling payments in accounting systems
  • Automating collections processes

Generate API credentials:

Access Tokens

Connect accounting platforms:

Integrations