Money and funding
POST /v1/cards asks the issuer to create or load a card with amount_cents. It does not charge a customer’s payment card through a payment-processing endpoint in this API.
Before launch, agree with Zwipe how your program is funded, which restaurant/account funds each order, how customer payment is collected, and how fees and reconciliation are handled. Commercial rates and settlement rules are not specified by the OpenAPI contract.
Example: a $25 purchase
Section titled “Example: a $25 purchase”| Step | Your record | What it proves |
|---|---|---|
| Customer payment/funding step | Your payment reference and outcome | The result of your separate payment arrangement. |
Submit amount_cents: 2500 |
external_ref, request payload, returned card_id |
Zwipe accepted or returned an order record. |
Read status: issued |
Latest confirmed issuance status | Issuance is confirmed. |
Read /balance |
balance_cents, as_of |
Card balance as of that timestamp; the response may be cached. |
A payment success and a card-load success are separate events. If issuance is uncertain, preserve both references and reconcile before charging, refunding, or loading again.
Repeat loads and current balance
Section titled “Repeat loads and current balance”A new order for the same email at the same restaurant can load the existing issuer card. The new order gets another Zwipe card_id, but it may refer to the same issuer.card_id.
For example, a $25 load followed by a $10 load can produce two Zwipe records for one issuer card. If the customer has not spent anything, that card could have $35 available. Reading the two records’ balances does not create two $35 balances.
Current balance is not a ledger of what a particular order loaded. Spending, previous funds, and other loads can change it. After provider_unconfirmed, a balance difference is a reason to reconcile with Zwipe; it is not sufficient evidence to automatically refund or issue a replacement load.
What to retain
Section titled “What to retain”Persist your customer and order IDs, immutable amount/currency, restaurant pair, external_ref, Zwipe card_id, latest status/error, issuer identifiers when available, payment reference, and relevant timestamps. Keep balance observations with their as_of value.
The public API currently has no transaction ledger, funding-account balance endpoint for partners, fee report, or refund endpoint. Arrange operational reporting separately.

