Guidesv2026-11

Webhooks

Receive Stipex events in Express: read the raw body, verify the signature, then acknowledge fast.

npm i @harriets/sdk
Merchant:Guest Sandbox•1 method
SDKstipex.webhookEvents.constructEvent(payload, signature, secret)

Verifies the x-webhook-signature header against the raw request body and returns the parsed event, or throws.

Resource Methods

Select a method to focus the payload preview & code generator.

stipex.webhookEvents.constructEvent(payload, signature, secret)

Verifies the x-webhook-signature header against the raw request body and returns the parsed event, or throws.

Parameters & Attributes

Standard payload keys expected for webhooks operations.

Field
Type
Description
merchant_idrequired
string
Identifier of the merchant creating or scoping this entity.
metadataoptional
record<string, any>
Up to 50 key-value pairs for attaching internal references.
livemoderead-only
boolean
True if the entity exists in production livemode, false in sandbox.
Live Workstation
sandbox
Active

Pastel Pro Membership

Unlimited API access, webhook retries & custom domain checkout.

$49.00

/ month
prod_pastel_enterpriseUSD Recurring
Object: product
Merchant: stripex_mch_82f9x0
Active ContextSwitch Key
ID:stripex_mch_82f9x0