Skip to main content
Learn which events you can subscribe to, how to use subscription patterns, and what every webhook payload looks like.

Available Event Types

Additional event types will be added as the platform grows. Contact your account team to discuss events relevant to your integration.

Subscription Patterns

When configuring your webhook, you can subscribe using three pattern styles: Using card.* means your webhook will automatically receive new card event types as they are introduced, without needing to update your subscription.

Standard Payload Structure

Every webhook event, regardless of type, follows the same top-level structure:

Example Payload

User Identification

Every webhook includes user_id, the Baanx internal identifier for the user. If you provided an external user ID when onboarding the user, it will also be present as user_external_id in all webhook events for that user.
This lets you correlate webhook events with users in your own system without making additional API calls.
user_external_id is set once during user onboarding and remains consistent across all webhooks for that user.

The event_object_changes Field

When a field changes, event_object_changes provides a before/after snapshot as a two-element array — [previous_value, new_value]:
This makes it straightforward to see exactly what changed without needing to store previous state on your side.

Idempotency

Events may occasionally be delivered more than once due to retries or network conditions. Always use event_id as an idempotency key to avoid processing the same event twice:

Next Steps

KYC Events

Full reference for KYC status payloads, status values, and failure codes

Security & Verification

How to verify the signature on every incoming webhook