Skip to main content
WEBHOOK
The vl.card.created event indicates that Voucherify created a Loyalty v2 card during program member enrollment. Voucherify creates one card for every card definition assigned to the program; cards cannot be created independently of member enrollment.
This page documents only the event data nested under data. See Introduction to webhooks for the shared webhook structure, and Workflows webhooks for the full Workflows webhook payload.
This event can trigger a workflow when Loyalty activity is configured with the Cards group and the vl.card.created activity type. If the workflow reaches a Webhook callout action, Voucherify sends a webhook to the action’s target URL. The example shows the content of data. It contains snapshots recorded with the activity. It is not wrapped in an activity property. During enrollment, Voucherify also records vl.card.assigned and vl.member.card.assigned activities for each created card. Because card code generation runs asynchronously, these activity snapshots contain code: null. A vl.card.code_generation.succeeded or vl.card.code_generation.failed activity follows later.

Body

application/json

Event data object schema for vl.card.created.

card
Loyalty Card · object
required

Loyalty v2 card snapshot recorded with the activity.

program
Loyalty Program · object
required

Loyalty v2 program snapshot recorded with the activity.

Response

Webhook accepted

Last modified on September 25, 2026