Included with every webhook

These properties are included with each webhook request:

KeyTypeDescription
typeStringThe webhook event type
idIDUnique identifier for the webhook
created_atstringThe timestamp for the webhook
payloadstringThe payload of the webhook

Event types

All supported event types and the structured payload objects.


connection.initialized

Connections are initialized when a customer begins linking their account.

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.customer_idstringID of the associated customer
payload.connection.statusstringCurrent status of the connection
payload.connection.merchant_idstringID of the linked merchant

connection.activated

Connections are activated when a customer successfully links their account.

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.customer_idstringID of the associated customer
payload.connection.statusstringCurrent status of the connection
payload.connection.merchant_idstringID of the linked merchant

connection.unauthenticated

Connections move from activated to unauthenticated when a customer needs to re-authenticate their account. For example, when a customer changes their password with the retailer.

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.customer_idstringID of the associated customer
payload.connection.statusstringCurrent status of the connection
payload.connection.merchant_idstringID of the linked merchant

connection.deleted

Connections are deleted when a request to DELETE /connection/{connection_id}

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.customer_idstringID of the associated customer
payload.connection.merchant_idstringID of the linked merchant

purchase.created

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.merchant_idstringID of the linked merchant
payload.purchase.purchase_idstringUnique identifier for the purchase
payload.purchase.datestringDate of the purchase (ISO 8601)
payload.purchase.totalnumberTotal amount of the purchase
payload.purchase.subtotalnumberSubtotal before tax
payload.purchase.taxnumberTax amount

product.purchased

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.merchant_idstringID of the linked merchant
payload.purchase.purchase_idstringUnique identifier for the purchase
payload.product.product_idstringSubtotal unique identifier for the product
payload.product.identifiers[]arrayArray of external product identifiers
payload.product.identifiers[].id_typestringType of the identifier (e.g., UPC, GTIN)
payload.product.identifiers[].valuestringValue of the product identifier

product.returned

KeyTypeDescription
payload.connection.connection_idstringUnique identifier for the connection
payload.connection.merchant_idstringID of the linked merchant
payload.purchase.purchase_idstringUnique identifier for the purchase
payload.product.product_idstringSubtotal unique identifier for the product
payload.product.identifiers[]arrayArray of external product identifiers
payload.product.identifiers[].id_typestringType of the identifier (e.g., UPC, GTIN)
payload.product.identifiers[].valuestringValue of the product identifier