Skip to content

Build your own screens

Your application can own the entire verification, order-progress, and balance interface. Keep the cardholder’s existing customer session and call your backend for each action.

Screen Data source Primary action
Restaurant and amount Your server-validated catalog/order Prepare one purchase with a stable reference.
Verify email Email check/status/send/confirm via your backend Enter a code when required.
Preparing your card Card status Wait with a bounded foreground deadline.
Card overview /balance and your restaurant catalog Show balance, last update, and an eligible wallet action.
Needs attention failed, in_doubt, or a read error Preserve the reference and use the appropriate recovery/help flow.

pending can outlive a screen visit. Show “We’re preparing your card. You can return to this screen later,” and retain the order. Do not create another order because the customer refreshes the page.

For in_doubt, use a message such as “We’re confirming your card. Your order is saved.” This state is not proof of failure and must not trigger an automatic repeat charge or replacement load.

On a balance error, show the last known value with its old timestamp or an unavailable state. Never replace an unknown balance with $0.00. Announce loading/error messages accessibly and prevent repeated submit taps while a request is in flight.

Use your stored customer-to-card mapping to rebuild the screen after sign-in. The API has no card list or lookup by email/reference. Multiple Zwipe order records can describe the same underlying issuer card; group them using your persisted mappings rather than displaying duplicate balances.

See React, Swift, Kotlin, and React Native / Flutter for implementation examples.