Zwipe sends an event to your webhook URL
Sent when a webhook URL is set on your partner account. Verify Zwipe-Signature before
parsing, answer 2xx, then process the event in the background; slow handlers cause
redeliveries.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”t=<unix seconds>,v1=<hex>. v1 is HMAC-SHA256 with your webhook secret over
<t>.<raw request body>. Compare in constant time and reject a t more than 5 minutes
from your clock.
Example
t=1789043703,v1=5f2b8c0e9a1d4f7b3c6e8a2d0f1b4c7e9a3d5f8b2c4e6a1d7f0b3c5e8a2d4f6bRequest Bodyrequired
Section titled “Request Bodyrequired”Something happened to one of your cards. card.* carries data.card, the card as it was
when the event was created, without issuer.wallet_url and issuer.collect_url: read
GET /v1/cards/{card_id} for them, so they stay out of webhook logs. load.* carries
data.load and transaction.created carries data.transaction (chain accounts only, and
not yet for cards brought with POST /v1/cardholders/{external_id}/card/link).
object
Unique per event. Dedupe on it; a redelivery repeats the same id.
card.issued: the card is active. On cards from POST /v1/cards, a card that was in_doubt and has an issuer.card_id turns
issued when a balance read (GET /v1/cards/{card_id}/balance) succeeds; the event follows it.
card.failed: the issuer rejected the order or could not be reached; error_code says which,
and the same external_ref may be ordered again. card.in_doubt: the outcome is uncertain;
when the issuer never answered, it arrives a few minutes after the order.
load.succeeded, load.failed, load.in_doubt: a load reached that state; one that
was in_doubt sends load.succeeded or load.failed once Zwipe reconciles it.
transaction.created: the issuer reported a new settled entry on the card, usually within
a couple of minutes; data.transaction matches the entry GET /v1/cards/{card_id}/transactions lists.
Exactly one of these, matching type.
object
object
UUID of this Zwipe issuance/load record; on a chain card, of the card itself (its loads are Load records). Use it in status and balance routes; it is not a PAN or the issuer’s card ID.
pending until the issuer has answered. in_doubt: the issuer may hold a card
(see error_code); do not submit a replacement load with a new reference.
A replay with the original reference returns that uncertain record without reissuing.
Why the card is failed (the issuer’s code, provider_unavailable, or for a chain card
float_insufficient) or in_doubt:
provider_timeout (no answer in time, or an error after the order may have been
taken), provider_unconfirmed (the issuer took the order but did not confirm the card
and its full load) or
activation_pending (the card exists but is not active yet). After activation_pending, a
successful GET /v1/cards/{card_id}/balance turns a POST /v1/cards card issued;
Zwipe confirms a chain card itself. After
provider_unconfirmed the card stays in_doubt and may hold less than amount_cents:
reconcile with Zwipe; current balance can also include other loads and spending. Null otherwise.
Stored amount in cents, which can initially reflect the requested load rather than a confirmed live balance; on a chain card, the first load only. Use GET /v1/cards/{card_id}/balance and its as_of timestamp for display.
What the card issuer returned. Provider-specific and best effort: absent fields mean the issuer did not send them, except in webhook events, which always omit the two links. Treat the links as bearer capabilities and do not log them.
object
The issuer’s own card ID, not the UUID used in Zwipe routes. Several issuance/load records may share it.
Hosted page that adds the card to Apple Wallet. Valid for 72 hours after the underlying card’s first issuance; anyone
holding it can add the card and see its full number, expiry and CVV. Show it only to the
cardholder; never store or log it. A repeat order for an email that already has a card at
that restaurant loads that card and returns no link: wallet_url and collect_url are null.
On cards from POST /v1/cards there is no link-refresh endpoint; chain cards use
POST /v1/cards/{card_id}/wallet-links and always have null links here.
Google Wallet is not supported.
Separate issuer-hosted card collection flow, when available. Not a dedicated card-details iframe or wallet-link refresh. Treat it as sensitive access.
Restaurant this card was issued for, and whose issuer account funded it. Equal to the
restaurant on your account when the request omitted venue. Never null for a card from
POST /v1/cards; null for a chain card, except one brought from a restaurant with
POST /v1/cardholders/{external_id}/card/link, which keeps that restaurant.
A restaurant, by its PizzaBox platform ids.
object
Your customer id, on chain cards only.
object
object
Why the load failed (balance_limit, float_insufficient, provider_unavailable or the
issuer’s code) or is in_doubt (provider_timeout). Null otherwise.
The amount requested.
object
object
load covers top-ups and cashback payouts alike, and can be negative (money the issuer took back); fee is an issuer fee or its reversal; other is anything else that moves money.
True for a hold the issuer has not settled.
Negative takes money off the card, positive puts it on.
Where the card was used. Null for loads and adjustments; each field is null when the issuer does not send it.
object
The acquirer’s merchant id.
Merchant category code.
Example
{ "id": "evt_0192f7a6b1c84e2f9d3a7b5c1e0f2a4d", "type": "card.issued", "created_at": "2026-09-10T12:35:03Z", "data": { "card": { "card_id": "0192f7a4-5c2e-7d3b-9a1f-4e8b2c6d0a11", "status": "issued", "error_code": null, "balance_cents": 2500, "currency": "USD", "external_ref": "ph-order-12345", "created_at": "2026-09-10T12:34:56Z", "venue": { "brand_id": 123, "restaurant_id": 456 }, "issuer": { "card_id": "7793338", "order_id": 4242 } } }}Responses
Section titled “Responses”Received. Any other answer, or none within 10 seconds, is retried.

