Webhooks
Receive real-time events from The Wallet Crew with webhooks: create endpoints in the admin console or API, filter events, validate signatures, read payloads.
Webhooks let external systems receive real-time notifications when something happens in The Wallet Crew. Register an endpoint, select events, and The Wallet Crew sends a POST request each time one of those events occurs.
This is the simplest way to keep your CRM, analytics, or operational systems in sync without polling APIs.
How a delivery works
The Wallet Crew checks each event against the webhook subscriptions of the tenant. For every match, it signs the JSON body and sends one POST request to the endpoint.
Delivery is at most once. The Wallet Crew does not retry. A non-2xx answer or a connection error is only logged on the platform side, so an endpoint that is down misses the events sent in the meantime.
Create and manage a webhook
Create webhooks in the admin console, or with the REST API when registration must be automated in a deployment pipeline. A webhook defines where to send requests, which events to send, and whether delivery is active.
Admin console
Open Settings → General → Webhooks. The list shows each webhook with its Description, Endpoint, Events, and Enabled status. Create a webhook, or open an existing one, to edit its form.

ID
Generated and read-only. Use it to reference the webhook through the API.
Secret
The HMAC signing key. A show/hide toggle controls its visibility. The console shows it again at any time, and the API returns it as signatureSecret. Store it server-side only.
Active / Inactive
A toggle that pauses or resumes delivery without deleting the webhook.
Description
A label for reference.
Endpoint
The URL that receives the POST requests.
Events
One or more event filters. Use Add event, or the remove icon next to an entry, to manage the list.
A new webhook starts inactive, in the console and the API.
In the admin console the endpoint must be an https:// URL. The API also accepts http, but use https. The endpoint must be reachable from the public internet: the platform refuses private-network addresses.
Event filters
Each Events entry is a string. An entry matches an event name exactly, or as a prefix when it ends with *. Matching is case-sensitive. A * anywhere else in the entry is a literal character. At least one event is required.
*
All events.
Pass:*
All events whose name starts with Pass:.
Pass:Created
One specific event.
You can combine filters in one webhook, for example ["Customer:*", "Pass:Created"] or ["Pass:*", "Redirect:Redirected"]. Use wildcards carefully: you may receive more events than you need.
REST API
The API needs the scope tenant.webhook:read to read webhooks and tenant.webhook:write to change them. Webhooks must be enabled for the tenant, otherwise the API answers 403.
To create a webhook, send:
endpoint: the URL that receivesPOSTrequests (httporhttps,httpsrecommended).events: the event filters, as described above.enabled: whether delivery is active. It defaults tofalse.
Applies from the next matching event. The id and signatureSecret are generated; Location points to the subscription.
The editable part of a webhook subscription.
Subscription created.
A stored webhook subscription, with generated values.
Free text; unused by the platform. Omitted on update, it is cleared.
Event names that trigger a delivery. An entry matches an exact name, or every name starting with the text before a trailing * (Pass:*; * alone matches all). A * elsewhere is literal.
URL receiving each matching event as a JSON POST with headers X-NEOSTORE-TENANTID, X-NEOSTORE-EVENTNAME and X-NEOSTORE-SIGNATURE.
Whether events are delivered; a disabled subscription is kept but receives nothing. Default false, also when omitted on update.
falseId assigned on creation; immutable; the id of the other webhook routes.
Secret generated on creation, used to sign deliveries; never changes. Keep it server-side.
Body missing, events empty or missing, or endpoint missing or not an absolute http/https URL.
The caller is not authenticated.
The caller lacks the tenant.webhook:write scope, or the endpoint is not enabled for the tenant.
The tenant does not exist.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
POST /api/{tenantId}/webhooks HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"description": null,
"events": [
"text"
],
"endpoint": "https://example.com",
"enabled": false
}{
"id": "text",
"signatureSecret": "text",
"description": null,
"events": [
"text"
],
"endpoint": "https://example.com",
"enabled": false
}The response includes the webhook id and signatureSecret. List and get operations return the secret too.
To update a webhook, use PUT /webhooks/{id}. It replaces the whole webhook, it does not merge: an omitted description is cleared and an omitted enabled disables the webhook. Send enabled: true on every update. Use GET to list or read webhooks and DELETE to remove one.
For the full API definition, use the API reference.
What The Wallet Crew sends
Each delivery is an HTTP POST request with headers and a JSON body. The body depends on the event type.
HTTP headers
The prefix neostore is the platform's former name and is kept in technical identifiers.
X-NEOSTORE-SIGNATURE
HMAC-SHA256 signature of the JSON body.
X-NEOSTORE-EVENTNAME
The event that triggered the webhook, for example Customer:Upserted.
X-NEOSTORE-TENANTID
The tenant identifier in The Wallet Crew.
HTTP header names are case-insensitive.
Payload envelope
Every payload includes these metadata fields:
__id: the same value for every webhook subscribed to one occurrence of an event.__creationDate: the UTC time the event was raised.__eventName: the event name.
Enum values are serialized as names. Properties with a null value are omitted.
Process events reliably
Design the receiver to be available and fast. A common pattern is to validate the signature, enqueue the event internally, then return 2xx.
Use __id to ignore duplicates when the same occurrence reaches your system through more than one webhook subscription.
Verify webhook authenticity
Validate every request using the signature header. This proves that The Wallet Crew sent the request and that the body was not modified in transit.
The signature is the HMAC-SHA256 of the UTF-8 JSON body. The key is the UTF-8 bytes of the webhook secret. The value is sent as uppercase hexadecimal, with no separator. Compute the same value over the raw body and compare it with the header, ignoring case.
Events
The event list evolves. Use the API reference as the source of truth for payload shapes. These are the event names the platform raises:
Pass
Created, Updated, ThemeChanged, PassTypeChanged, IdentifiersChanged, MetadataChanged, Installed, Uninstalled, UpdateSent, Scanned, NotificationSent, LinkOpened, GoalReached, StampApplied, StampsReset
Benefit
Created, Updated, Deleted, MovementApplied
BenefitTemplate
Created, Updated, Deleted
Theme
Created, Updated, Deleted
Automation
Created, Updated, Deleted, Executed
Import
Started, Completed, Failed
Campaign
LinkOpened, LinkDeliveryReported
Device
Created, Deleted, Connected, SessionStarted, SessionEnded
CustomDomain
Added, Verified, Activated, Removed
User
Created, Updated, Deleted, Invited, InvitationOpened, InvitationRenewed, Activated, AccessGranted
Tenant
Created, StatusChanged, PurposeChanged
TenantConfiguration
Created, Updated, Deleted
Customer
Upserted
Redirect
Redirected
Google
DiscoverableProgramSignin, DiscoverableProgramSignup
TenantConfiguration events carry the tenantId. TenantConfiguration:Updated also carries previousVersion, newVersion and modifiedFiles, the list of configuration files that changed.
Connector events also exist: Y2:*, UR:*, Hiboutik:*, SFMC:*, Yurplan:*, Bloomreach:Customer:Upserted and Secutix:Order:Updated.
Identify who made a change
Configuration events name the person or API key behind a change, so that you can keep an audit trail outside The Wallet Crew. Theme, automation and benefit template events (Theme:*, Automation:*, BenefitTemplate:*) carry the same user object, with three fields:
credentialType:Userfor a signed-in admin console user,ApiKeyfor an API key,Unknownwhen the change happened outside a request and carries no identity.id: the user identifier at the identity provider for aUser,apiKey:{name}for anApiKey. It can be empty whencredentialTypeisUnknown. It is the same identifier the configuration history records for that change.name: a display name, when the credential carries one. For an API key, it is the name the key was issued under.
None of these objects includes an email address. The users API resolves a user identifier to a person, with its email and name.
Pass events carry no user object. The one exception is Pass:Created, which names its origin in creationSource (see above).
FAQ
Last updated

