IZ IZIPAY Business API
Get API access
API Reference

IZIPAY Business API

Issue virtual cards for your users programmatically, fund them with crypto, and track everything in real time. A single REST API with predictable JSON responses and webhook events.

Base URL https://izipay.me/api/v1

The API speaks JSON over HTTPS. Every request except GET /health must be authenticated with a Bearer token. All responses share one envelope: {"success": true, "data": {...}} on success, and {"success": false, "error": {"code": "...", "message": "..."}} on failure (see Error codes). Timestamps are UTC. New fields can be added to responses at any time, so ignore fields you do not know.

Prices and top-up rates are set per account and are available on request. GET /balance returns the rates that apply to your account.

Quickstart: your first card in 5 minutes

Everything below runs in the free sandbox: no real money, no real cards. Replace izpk_test_YOUR_KEY with your test key.

1. Create a free sandbox account

Sign up at izipay.me/clients/register.php. After you confirm your email, the account opens in sandbox mode right away.

2. Get a test API key

In the cabinet, open API Keys and create a key. Sandbox keys start with izpk_test_. The key is shown once, so store it safely.

3. Fund your sandbox balance

curl -X POST https://izipay.me/api/v1/sandbox/fund \ -H "Authorization: Bearer izpk_test_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "amount_usd": 1000 }' # 201 { "success": true, "data": { "sandbox": true, "credited_usd": 1000, "balance_usd": 1000, ... } }

You can also press Add 1,000 test USD on the cabinet dashboard.

4. Issue a card

curl -X POST https://izipay.me/api/v1/cards/issue \ -H "Authorization: Bearer izpk_test_YOUR_KEY" \ -H "Content-Type: application/json" \ -H "X-Idempotency-Key: first-card-001" \ -d '{ "cardholder_email": "alice@example.com", "card_type": "mastercard_online", "pay_currency": "balance" }' # 201 { "success": true, "data": { "card_id": "card_test_...", "issue_status": "issued", # "sandbox": true, "funded_from": "balance", # "card": { "number": "400000...", "exp": "MM/YY", "cvv": "...", "last4": "...", "balance": 0 } } }

In the sandbox a balance-funded card is issued at once. In live mode the response has issue_status: "paid_pending_issue" and the card details follow with the card.issued webhook.

5. Register a webhook and verify the signature

curl -X POST https://izipay.me/api/v1/webhooks \ -H "Authorization: Bearer izpk_test_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://yoursite.com/hooks/izipay", "events": ["*"] }' # 201 { "success": true, "data": { "webhook_id": 7, "signing_secret": "...", ... } }

Save signing_secret. Every delivery carries an X-Izipay-Signature header: the hex HMAC-SHA256 of the raw request body, keyed with that secret. See Webhooks for ready-to-use Node.js and PHP code. To see an event arrive, top up the card or call POST /sandbox/transaction.

When your integration works, press Request live access in the cabinet. Live keys start with izpk_live_; the endpoints and the request format stay the same.

Authentication

Authenticate every request by sending your secret API key in the Authorization header as a Bearer token.

Header
Authorization: Bearer YOUR_API_KEY
!
Keys prefixed with izpk_live_ are live keys tied to real card issuance and payments. Keys prefixed with izpk_test_ work only in the sandbox. Treat keys like passwords: never expose them in client-side code or public repositories, and rotate them periodically from your dashboard.

A missing, invalid or revoked key returns 401 UNAUTHORIZED. A suspended account or a request from an IP address outside your allow list returns 403 FORBIDDEN.

Request signing (optional, recommended)

Each key has a secret (izps_…, shown once when the key is created). Sign requests with it so that a leaked API key alone is useless. Enable it per key in the cabinet (API keys, column Signing): while optional, a signature is verified only when sent; when required, unsigned requests return 401.

Headers
X-Timestamp: 1725465600 # unix seconds, within 5 minutes of server time X-Signature: <hex HMAC-SHA256> # over: timestamp + "\n" + METHOD + "\n" + path_with_query + "\n" + raw_body
Node.js
const ts = Math.floor(Date.now() / 1000).toString(); const sig = crypto.createHmac('sha256', SECRET).update(`${ts}\n${method}\n${pathWithQuery}\n${rawBody}`).digest('hex'); headers['X-Timestamp'] = ts; headers['X-Signature'] = sig;

Example string to sign for GET /api/v1/cards?limit=50: "1725465600\nGET\n/api/v1/cards?limit=50\n" (empty body). Every signature is accepted once (replay protection). Keys created before September 2026 cannot enable signing: create a new key.

Sandbox (testing)

Build and test your whole integration with no real crypto and no real cards. Every call made with a test key is isolated from live data: a test key sees only test cards and the test balance, and a live key never sees them.

Get accessCreate a free account at /clients/register.php. It opens in sandbox mode, and the cabinet issues test keys (izpk_test_…). Same endpoints, same authentication.
Test balancePOST /sandbox/fund with {"amount_usd": 1000} adds test USD (1 to 10,000 per call, up to 10 calls a day, balance capped at 100,000). GET /balance shows it in account_balance.
IssuePOST /cards/issue with "pay_currency": "balance" charges the test balance and returns a test card at once (issue_status: "issued"). Without pay_currency the test balance is used when it is enough. With a crypto pay_currency you get a fake deposit_address and a payment_id; call POST /sandbox/confirm with that payment_id to simulate the payment.
Test cardsTest card numbers start with 400000 or 222300. They never match a live card range and can never be used for real spending. By default an account can hold 10 test cards; if you need more for your tests, ask support.
Top up, return, transferTop-ups and returns move test USD between the test balance and the test card, with your account's top-up rate and network fee applied as in live mode. A transfer between test cards answers with "sandbox": true but does not move the balance.
Simulate activityPOST /sandbox/transaction makes a purchase on a test card, POST /sandbox/otp makes a verification code. Both send the matching webhook with "sandbox": true.
Not in the sandboxThe payment gateway (/payments, /payouts) and /cards/{card_id}/apple-pay-code return 403 SANDBOX_NOT_AVAILABLE. Freeze and unfreeze answer "sandbox": true but do not change the stored card.
LimitsTest traffic is limited to 60 requests per minute and 3,000 per day, on top of your account's own per-minute limit. A sandbox account can register up to 3 webhooks.

Simulate a purchase

POST/sandbox/transaction

Spends from a test card's balance and sends a card.transaction webhook. The purchase is declined (status: "failed") when the card is frozen (decline_reason: "card_frozen") or the card balance is too low ("insufficient_funds"). Amount from 0.01 to 5,000; limits: 60 per hour, 200 per day. merchant is optional; unknown names are replaced by a sample merchant.

Request
curl -X POST https://izipay.me/api/v1/sandbox/transaction \ -H "Authorization: Bearer izpk_test_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "card_id": "card_test_...", "amount": 12.50, "merchant": "OpenAI" }'
Response · 200
{ "success": true, "data": { "status": "success", "decline_reason": "", "amount": 12.5, "merchant": "OpenAI", "balance": 87.5, "transaction_id": "SBX-...", "sandbox": true } }

Simulate a crypto payment

POST/sandbox/confirm

Body {"payment_id": "gwtest_..."}. Marks a sandbox payment as paid: the test card is issued (with card.issued) or the top-up is credited (with topup.completed). Calling it again returns "message": "Already issued" or "Already credited".

Sandbox errors

403 SANDBOX_ONLY (a /sandbox/* call with a live key), 429 SANDBOX_LIMIT_REACHED (test card limit or test balance cap), 429 SANDBOX_LIMIT (daily test funding limit), 400 SANDBOX_TOPUP_FAILED, 400 SANDBOX_TX_FAILED, 400 SANDBOX_OTP_FAILED. The message field says what to change.

Idempotency

Network errors happen. To retry a money operation safely, send a unique X-Idempotency-Key header (one key per logical operation, for example your own order id). The standard Idempotency-Key header is accepted as an alias. Keys longer than 64 characters are accepted and hashed. The values 0, null, undefined and none are ignored on POST /cards/issue.

EndpointWhat a repeat with the same key does
POST /cards/issueNever issues a second card. Returns the card created by the first request: 200 with card_id, issue_status, payment_status and "duplicate": true.
POST /cards/{card_id}/topupA repeat with the same key and the same body within 10 minutes returns the original successful response with "idempotent_replay": true. A different body, or the same key after 10 minutes, is a new top-up. Separately, a balance top-up of the same amount on the same card within 90 seconds is rejected with 409 DUPLICATE_REQUEST.
POST /cards/{card_id}/returnReturns the original successful result with "idempotent_replay": true. Funds are never returned twice.
POST /cards/{card_id}/transferReturns the original transfer with "idempotent_replay": true. Funds are never moved twice. A key already used for a transfer between a different pair of cards returns 409 IDEMPOTENCY_KEY_REUSED: use a new key.

If a request with the same key is still being processed, you get 409 IN_PROGRESS: wait a few seconds and retry with the same key. Only successful responses are stored, so after an error a retry with the same key runs the operation again.

!
Results under review. In rare cases we cannot confirm at once whether the card issuer applied a top-up or a return. A top-up then answers 409 TOPUP_PENDING_REVIEW; a retry with the same key and body returns the same answer. Do not retry with a new key. While that top-up is checked (up to 24 hours), any new top-up of the same card also returns 409 TOPUP_PENDING_REVIEW. Support checks the top-up with the issuer and confirms the result to you. A return answers RETURN_PENDING_REVIEW (HTTP 202): do not repeat it, check the card and your balance, or contact support.

Card types

Pick the card with the card_type field on POST /cards/issue. Always send it: see the note on visa below.

card_typeWhat is issuedApple Pay / Google PayPrice and top-up rate
mastercard_onlineMastercard for online payments. Numbers start with 5378. If that range is temporarily unavailable, the same kind of Mastercard is issued from the 2234 range.NoYour account's online card price and online top-up rate
visa_onlineVisa for online payments, AI subscriptions and ads. Numbers start with 4746.NoSame as mastercard_online
mastercard_5556US Mastercard for AI subscriptions and ads. Numbers start with 5556.NoSame as mastercard_online
mastercard_applepayMastercard that can be added to Apple Pay and Google Pay. Numbers start with 5240.YesYour account's Apple Pay card price and top-up rate

Every card can be funded from your account balance or with crypto, both at issue and on top-up. GET /balance returns your prices and rates in pricing. The issue response tells you what you got in brand (visa or mastercard) and number_prefix (the first four digits); use brand to show the right logo.

i
Bank spending fees. The issuing bank charges small fees on card activity, deducted automatically from the card balance. The bank fees we see in practice:
CROSS_BORDER_FEE1% or 2%, depending on the card product, on a purchase made outside the card's home country
TRANSACTION_FEE$0.30 on a purchase under $50
WALLET_PAY_FEE0.2% on a payment made through Apple Pay or Google Pay
FX_CONVERSION_FEE$0.40 on a purchase in a currency other than USD
THREE_DS_FEE$0.20 on a purchase confirmed with a 3-D Secure code
AUTH_FAILED_FEE$0.10 on a declined authorisation
OTHER_FEE$0.05, charged by the bank for minor service events
A single purchase can carry more than one of these at once, for example a cross-border payment in euros made through Apple Pay. These fees come out of the card's own balance and you are not billed for them. They are not returned as separate lines by GET /cards/{card_id}/transactions: they show up as a lower card balance.

If the balance cannot cover a fee, the unpaid fee stays on the card and is taken from the next top-up of that card first; the rest lands on the card. Nothing is charged to your account balance. A return to your balance or a transfer to another card leaves the unpaid fee on the card: the amount you can move is the card balance minus that fee.

No recurring charges. An issued card has no monthly fee, no annual fee and no inactivity fee. A card that is never used costs nothing beyond the one-off issuing price.
i
Older names, still accepted. mastercard, apple_pay = mastercard_applepay; mastercard_standard, mc_standard, 5378 = mastercard_online; visa_us, visa_4746, ai = visa_online; mastercard_us, 5556 = mastercard_5556. The response field card_type keeps returning the older name (mastercard, mastercard_standard, mastercard_5556, visa_us) so existing integrations do not change.

Note on visa and an empty value. For historical reasons both issue the Mastercard that starts with 5378, the same card as mastercard_online, and the response says card_type: "visa" with brand: "mastercard". If you want a Visa, send visa_online.

Issue a card

POST/cards/issue

Creates a new card for one of your end-users. With "pay_currency": "balance" the card price is charged to your account balance at once, with no on-chain step. With a crypto pay_currency you get a deposit address, and the card is issued after the payment confirms on-chain. If you omit pay_currency, your balance is charged when it covers the price; otherwise a USDT TRC-20 deposit address is returned. Returns 201. See Card types to choose the card.

Body parameters

FieldTypeRequiredDescription
cardholder_emailstringrequiredThe end-user's email address.
card_typestringrecommendedmastercard_online, visa_online, mastercard_5556 or mastercard_applepay. See Card types. An empty value or visa issues the 5378 Mastercard.
cardholder_aliasstringoptionalDisplay name, up to 50 characters. Defaults to the email prefix.
client_card_refstringoptionalYour own reference for this card (for example your internal user ID), up to 100 characters. Returned in card responses and in the card.issued webhook.
pay_currencystringoptionalbalance to charge your account balance. Crypto: usdttrc20, usdctrc20, trx, usdtbsc, usdcbsc, bnb, usdterc20, usdcerc20, eth, usdtpoly, usdcpoly, pol, usdtsol, usdcsol, sol, btc. See the default behaviour above.

Headers

X-Idempotency-KeyrecommendedA unique string per logical request. Retrying with the same key never issues a second card. See Idempotency.
Request
curl -X POST https://izipay.me/api/v1/cards/issue \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "X-Idempotency-Key: unique-request-id" \ -d '{ "cardholder_email": "alice@example.com", "cardholder_alias": "Alice", "client_card_ref": "user_42", "card_type": "visa_online", "pay_currency": "balance" }'
Response · 201 (paid from balance)
{ "success": true, "data": { "card_id": "card_9f2a41c0...", "issue_status": "paid_pending_issue", "card_type": "visa_us", "brand": "visa", "number_prefix": "4746", "provider": "izipay_gateway", "cardholder_email": "alice@example.com", "cardholder_alias": "Alice", "client_card_ref": "user_42", "funded_from": "balance", "price_paid_usd": <your card price>, "balance_usd": <balance left>, "message": "...", "next_steps": ["..."] } }

Example · paid with crypto

With a crypto pay_currency the card waits for the payment. Send the exact pay_amount to deposit_address before expires_at (24 hours).

Response · 201
{ "success": true, "data": { "card_id": "card_abc123def456...", "issue_status": "pending_payment", "cardholder_email": "alice@example.com", "cardholder_alias": "Alice", "client_card_ref": "user_42", "payment": { "provider": "izipay_gateway", "payment_id": "...", "deposit_address": "TKhWqGZ...", "pay_amount": <exact amount to send>, "pay_currency": "usdttrc20", "network": "trc20", "amount_usd": <your card price>, "expires_at": "...", "qr_data": "..." }, "next_steps": ["..."] } }
i
Issue statuses: pending_payment (waiting for crypto), paid_pending_issue (paid, the issuer is preparing the card), issued (card details available), failed. A paid card is usually ready within a few minutes. Listen for the card.issued webhook or poll GET /cards/{card_id}. If the issuer rejects a balance-funded card at the moment of the request, the call returns 502 ISSUER_ERROR and the charge is returned to your balance; nothing is retried automatically, so issue again later. If a paid card cannot be issued afterwards, you receive card.failed with refunded_usd.

Get card details

GET/cards/{card_id}

Retrieves the current state of a card. Once issue_status is issued, the response contains a card object with the full card details: card number, expiry and CVV.

!
Full card details. card.number is the full card number and card.cvv is the security code. Do not write this response to logs, analytics or error trackers, and show it only to the cardholder. cvv can be an empty string if it could not be read at that moment; request the card again.
Request
curl https://izipay.me/api/v1/cards/card_abc123def456 \ -H "Authorization: Bearer YOUR_API_KEY"

Add ?live=1 to refresh the balance from the issuer when the cached value is older than 30 seconds. Without it, a value older than 120 seconds is refreshed automatically. balance_source says where the number came from: live, live_cached, mirror or sandbox. If the issuer does not answer, the cached value is returned and the call does not fail.

Response · 200
{ "success": true, "data": { "card_id": "card_abc123def456", "client_card_ref": "user_42", "cardholder_email": "alice@example.com", "cardholder_alias": "Alice", "payment_status": "paid", "issue_status": "issued", "payment_id": "...", "price_paid_usd": <your card price>, "created_at": "2026-11-10 08:15:00", "paid_at": "2026-11-10 08:15:00", "issued_at": "2026-11-10 08:16:30", "card": { "number": "4746XXXXXXXX1937", "last4": "1937", "brand": "visa", "exp": "07/29", "cvv": "XXX", "exp_month": "07", "exp_year": "2029", "balance": 100.00, "pending_topup": 0.00, "is_frozen": false, "balance_source": "live", "balance_synced_at": "2026-11-16 10:00:00", "balance_age_seconds": 0 } } }

Before the card is issued, card is absent. When issue_status is failed, an error field explains why.

List cards

GET/cards

Returns all cards you have issued, most recent first, with pagination. The list does not contain card numbers or CVV; use GET /cards/{card_id} for those. Balances come from our cache; the single-card endpoint refreshes them.

Query parameters

FieldTypeRequiredDescription
pageintegeroptionalPage number, starting at 1. Default 1.
limitintegeroptionalCards per page, 1 to 500. Default 100.
statusstringoptionalissued, pending (both pending_payment and paid_pending_issue) or failed. Any other value returns all cards.
Request
curl https://izipay.me/api/v1/cards?limit=2 \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 200
{ "success": true, "data": { "cards": [ { "card_id": "card_abc123def456", "client_card_ref": null, "cardholder_email": "user@example.com", "cardholder_alias": "user", "issue_status": "issued", "payment_status": "paid", "last4": "1937", "brand": "mastercard", "balance": 100.00, "pending_topup": 0.00, "is_frozen": false, "created_at": "2026-11-10 08:15:00", "issued_at": "2026-11-10 08:16:30" } ], "page": 1, "limit": 2, "total": 128, "total_pages": 64 } }

Top up a card

POST/cards/{card_id}/topup

Adds money to an issued card, either from your account balance (credited at once) or with a crypto payment (credited after it confirms on-chain). Your account's top-up rate and a network fee are deducted from the amount; amount_on_card in the response is what lands on the card. Returns 201.

Body parameters

FieldTypeRequiredDescription
amountnumberrequiredAmount in USD that you pay (balance) or that your customer sends (crypto). Minimum $5. amount_usd is accepted as an alias.
pay_currencystringoptionalbalance to charge your account balance. Crypto (USDT only): usdttrc20 (default), usdtbep20 or usdtbsc, usdterc20, usdtpoly.
networkstringoptionalFor balance top-ups: the network your balance funds are held on, trc20 (default), bsc, eth or polygon (aliases tron, bep20, erc20, matic). The network fee depends on it. If your funds for this amount are held on another network, the error message names the network to use.

The network fee for each network is returned by GET /balance in pricing.topup_network_fee_by_network, and the top-up rates in pricing.visa_topup_commission_pct (cards starting with 4, 5378 and 5556) and pricing.mastercard_topup_commission_pct (other cards). amount_on_card = amount × (100 - rate) / 100 - network fee.

Request
curl -X POST https://izipay.me/api/v1/cards/card_abc123/topup \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "X-Idempotency-Key: topup-order-5581" \ -d '{ "amount": 100, "pay_currency": "balance", "network": "trc20" }'
Response · 201 (from balance)
{ "success": true, "data": { "topup_id": "BAL_8b88494d77fbc7c2", "card_id": "card_abc123", "card_type": "mastercard", "status": "credited", "amount_usd": 100, "amount_on_card": <100 minus fees>, "fee_pct": <your rate>, "fees": { "sent_usd": 100, "commission_pct": <your rate>, "commission_usd": ..., "network_fee_usd": ..., "total_fees_usd": ..., "amount_on_card": ... }, "funded_from": "balance", "balance_usd": <balance left>, "message": "Card credited instantly from your account balance." } }
i
From your balance. Your balance is debited by amount and the card is credited in the same request (status: "credited"). In rare cases the response has status: "pending": the amount is reserved and credited within minutes; check it with GET /topups/{topup_id}. Fund your account balance with crypto from the cabinet.

With crypto. The response has status: "pending_payment", the same fees block and a payment object with deposit_address and the exact pay_amount to send. The card is credited after the payment confirms on-chain, and topup.completed is sent. You can have a limited number of unpaid crypto top-ups open at once (429 TOO_MANY_OPEN_TOPUPS); they expire 24 hours after creation. Balance top-ups are not limited this way.

Unpaid card fees. If bank fees could not be taken from an empty card, they are taken from the next top-up of that card first.

A card that is not issued yet answers 409 CARD_NOT_READY; wait for card.issued.

Get a top-up

GET/topups/{topup_id}

Reads the state of one top-up by the topup_id that POST /cards/{card_id}/topup returned. Read-only and safe to call after a timeout when you never saw the response. A topup_id that does not belong to your account returns 404.

Request
curl https://izipay.me/api/v1/topups/BAL_8b88494d77fbc7c2 \ -H "Authorization: Bearer YOUR_API_KEY"
statusMeaning
creditedMoney is on the card; credited_at is set.
pendingAccepted and being credited, or waiting for the crypto payment.
expiredThe crypto payment never arrived.
underpaidLess arrived than requested. Contact support.
failedNot credited. Contact support if money left your balance.
Response · 200
{ "success": true, "data": { "topup_id": "BAL_8b88494d77fbc7c2", "card_id": "card_abc123", "status": "credited", "amount_usd": 100, "fee_pct": ..., "fee_usd": ..., "network_fee_usd": ..., "amount_on_card": ..., "funded_from": "balance", "pay_currency": "balance", "created_at": "2026-11-14 11:33:18", "credited_at": "2026-11-14 11:33:18", "sandbox": false } }

Freeze and unfreeze a card

POST/cards/{card_id}/freeze
POST/cards/{card_id}/unfreeze

Freezing blocks every new authorisation on the card, including recurring subscription charges. The balance stays on the card and is untouched. Unfreezing restores normal use. Both calls are idempotent: freezing an already frozen card returns success and changes nothing.

A card frozen by our support team cannot be unfrozen through the API: the call returns 403 CARD_LOCKED_BY_SUPPORT and you should contact us instead. If the issuer does not confirm the change, the call returns 502 FREEZE_FAILED and the card state is unchanged; retry.

Request
curl -X POST https://izipay.me/api/v1/cards/card_abc123/freeze \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 200
{ "success": true, "data": { "card_id": "card_abc123", "status": "frozen", "is_frozen": true, "message": "..." } }
Sandbox. Both calls are mocked with a test key: the response carries "sandbox": true and the stored card is not changed, so GET /cards/{card_id} keeps reporting is_frozen: false and test purchases keep succeeding. In live mode the state is stored and sent to the issuing bank.

Closing a card permanently

There is no separate close endpoint. Retire a card in two steps, in this order, because a frozen card cannot be emptied: first POST /cards/{card_id}/return with "amount": "all" to move the remaining balance back to your account balance with no return fee, then POST /cards/{card_id}/freeze and leave it frozen.

Return card balance

POST/cards/{card_id}/return

Moves unspent funds from a card back to your account balance, with no return fee. Use it before retiring a card, or to reclaim liquidity. The returned amount can be reused to issue or top up other cards. A card.returned webhook is sent.

Body parameters

FieldTypeRequiredDescription
amountnumber | "all"optionalAmount to return, in USD. "all" or no value returns the whole available balance. amount_usd is accepted as an alias.

Available balance is the card balance minus any bank fees that are still unpaid on this card: those stay on the card. When you return everything, one cent can stay on the card for technical reasons.

Request
curl -X POST https://izipay.me/api/v1/cards/card_abc123/return \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "X-Idempotency-Key: return-card_abc123-1" \ -d '{ "amount": "all" }'
Response · 200
{ "success": true, "data": { "card_id": "card_abc123", "status": "returned", "amount_returned": 42.15, "card_balance": 0.01, "balance_usd": 382.70, "message": "..." } }
i
Errors: 402 INSUFFICIENT_CARD_BALANCE (more than the available balance, see error.details.card_balance), 400 CARD_EMPTY (nothing to return), 409 CARD_BUSY (another operation on this card is running, retry in a few seconds), 502 RETURN_FAILED or 502 CARD_BALANCE_UNAVAILABLE (no funds were moved, retry), 503 CARD_SERVICE_UNAVAILABLE. RETURN_PENDING_REVIEW means the result is being checked: do not repeat the return. Send X-Idempotency-Key to make retries safe.

Transfer between cards

POST/cards/{card_id}/transfer

Moves funds directly from one of your cards to another of your cards with no fee (a return followed by a top-up would cost the top-up rate). Both cards must be issued, belong to your account and have the same cardholder_email; otherwise the call returns 403 CARDHOLDER_MISMATCH (contact support if you need transfers between cardholders). {card_id} in the path is the source card. Bank fees that are still unpaid on the source card stay on it and cannot be transferred.

Body parameters

FieldTypeRequiredDescription
to_card_idstringrequiredDestination card id (must differ from the source and belong to your account).
amountnumberrequiredAmount to move, in USD. Must not exceed the source card's available balance.
Request
curl -X POST https://izipay.me/api/v1/cards/card_abc123/transfer \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "X-Idempotency-Key: unique-key-123" \ -d '{ "to_card_id": "card_def456", "amount": 50.00 }'
Response · 200
{ "success": true, "data": { "from_card_id": "card_abc123", "to_card_id": "card_def456", "amount": 50.00, "fee": 0.00, "amount_credited": 50.00, "from_balance": 120.00, "to_balance": 80.00, "reference_id": "…", "message": "Funds transferred between cards. No fee." } }
i
Pass X-Idempotency-Key to make retries safe: a repeat with the same key returns the original result with "idempotent_replay": true instead of transferring again. If the transfer cannot be completed, the call returns 422 TRANSFER_FAILED with the reason in message. A card that is not issued answers 409 CARD_NOT_READY.

Get transactions

GET/cards/{card_id}/transactions

Returns the history of a card, most recent first: purchases, declines, refunds, returns and credited top-ups. Query parameters: limit (1 to 200, default 50) and offset (default 0).

Request
curl "https://izipay.me/api/v1/cards/card_abc123/transactions?limit=50&offset=0" \ -H "Authorization: Bearer YOUR_API_KEY"
FieldMeaning
idTransaction id. For top-ups, the top-up id.
amountNegative when money left the card (purchase, return to balance), positive when it came in (top-up, refund).
currencyCurrency of amount.
typeFor example purchase, refund, topup, withdrawal (return to your balance). Other values can appear.
statusSUCCESS (completed), PENDING (authorised, not settled yet), FAILED (declined, no money held). Other values can appear; treat them as informational.
is_credittrue for top-ups and refunds (money in), otherwise false.
merchantMerchant name. For top-ups, Top-up (network).
dateUTC, format Y-m-d H:i:s.
Response · 200
{ "success": true, "data": { "card_id": "card_abc123", "transactions": [ { "id": "2611161011000123", "amount": -12.40, "currency": "USD", "type": "purchase", "status": "SUCCESS", "is_credit": false, "merchant": "OPENAI", "date": "2026-11-16 10:11:00" }, { "id": "BAL_8b88494d77fbc7c2", "amount": 95.00, "currency": "USD", "type": "topup", "status": "SUCCESS", "is_credit": true, "merchant": "Top-up (balance)", "date": "2026-11-15 08:30:00" } ], "pagination": { "limit": 50, "offset": 0, "total": 2 } } }

A card that is not issued yet returns 404 NOT_FOUND. For real-time updates use the card.transaction webhook.

Verification codes: Apple Pay / Google Pay and 3-D Secure

POST/cards/{card_id}/apple-pay-code

When a cardholder adds an Apple Pay Mastercard (numbers starting with 5240) to their wallet, the issuer sends a one-time verification code. This endpoint captures that code and returns it to you. Other cards answer 400 NOT_SUPPORTED, a card that is not issued yet answers 409 CARD_NOT_READY, and the sandbox answers 403 SANDBOX_NOT_AVAILABLE (use POST /sandbox/otp instead).

Two steps. First POST to arm the card (tell us a code is expected), then add the card to the wallet, and finally receive the code by webhook or by polling GET.

1. Arm (POST)

Request
curl -X POST https://izipay.me/api/v1/cards/card_abc123/apple-pay-code \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 201
{ "success": true, "data": { "card_id": "card_abc123", "status": "armed", "expires_in": 600, "delivery": { "webhook": "card.otp", "poll": "GET /cards/card_abc123/apple-pay-code" } } }

2. Retrieve (GET, poll)

Request
curl https://izipay.me/api/v1/cards/card_abc123/apple-pay-code \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 200 (delivered)
{ "success": true, "data": { "card_id": "card_abc123", "status": "delivered", "code": "481923", "matched_at": "2026-11-16 08:31:12" } }
i
The arm request lives for 10 minutes. While waiting, GET returns status: "waiting". Once the code arrives it flips to "delivered" with the code, and a card.otp webhook fires. "expired" means arm again; "none" means there is no open request. Arm one card at a time: the code arrives without a card number, so a second concurrent request cannot be matched reliably.

3-D Secure: online purchases

This is different from wallet activation. When your cardholder pays at an online merchant that requires 3-D Secure verification, the issuer generates a one-time code for that specific transaction. IZIPAY captures it and pushes it to you automatically on the card.otp webhook, with no arming needed. The 3-D Secure code is tied to the exact card, so it is always matched correctly. Just handle the webhook and show the code to your cardholder to complete the payment.

card.otp webhook body: payment_3ds
{ "id": "evt_9f2c8a1b…", "type": "card.otp", "created": 1788169014, "data": { "card_id": "card_abc123", "last4": "3624", "code": "884916", "kind": "payment_3ds" } }
card.otp webhook body: wallet_provision
{ "id": "evt_7a1b5e90…", "type": "card.otp", "created": 1788169100, "data": { "card_id": "card_abc123", "last4": "3624", "code": "481923", "kind": "wallet_provision" } }

If the webhook does not reach you

Deliveries are retried 5 times: immediately, then after 1 minute, 5 minutes, 30 minutes and 2 hours. A delivery counts as successful on any 2xx response; the request times out after 15 seconds. After the fifth failure the event is marked exhausted and is not retried again.

A 3-D Secure code is short lived, so a retry two hours later is of no use to your cardholder. For that case there is a pull endpoint that returns the codes we already have for a card, both payment_3ds and wallet_provision. It reads the same store the webhook is sent from, so the two never disagree.

GET/cards/{card_id}/otp
Request
curl "https://izipay.me/api/v1/cards/card_abc123/otp?limit=1" \ -H "Authorization: Bearer izpk_live_…"
Query parameters: limit (1 to 10, default 1) and minutes (1 to 30, default 30): how far back to look.
Response · 200
{ "success": true, "data": { "card_id": "card_abc123", "window_minutes": 30, "count": 1, "codes": [{ "code": "884916", "kind": "payment_3ds", "last4": "3624", "received_at": "2026-11-02T11:45:17+00:00" }] } }
Codes older than 30 minutes are not returned. A verification code is a one-operation secret, and a wider window would turn a leaked API key into a history of your cardholders' codes. Use the webhook as your primary channel and this endpoint only to recover a code you missed.

Testing codes in the sandbox

With a sandbox key you can make a card.otp event happen on demand, so you can finish your integration before issuing a live card. Nothing is sent to anyone: the event goes to your webhook and the code is stored for GET /cards/{card_id}/otp, exactly as in production.

POST/sandbox/otp
Request
curl -X POST https://izipay.me/api/v1/sandbox/otp \ -H "Authorization: Bearer izpk_test_…" \ -H "Content-Type: application/json" \ -d '{"card_id":"card_test_abc","kind":"payment_3ds","amount":"12.50"}'
kind is payment_3ds (default) or wallet_provision. Limits: 60 codes per hour and 200 per day.
Response · 200
{ "success": true, "data": { "card_id": "card_test_abc", "last4": "2631", "code": "684670", "kind": "payment_3ds", "sandbox": true } }

We can stay away from your cardholders

By default we also email the verification code to the address you passed as cardholder_email, which suits integrations that route those addresses to their own mail server. If you deliver codes to your users yourself, ask us to turn that off for your account: we then send the card.otp webhook and nothing else, and your cardholders never receive anything from us. We never email card numbers, CVV or expiry dates to anyone, and we never send marketing to cardholder addresses.

i
The kind field separates the two flows: payment_3ds is an online-purchase 3-D Secure code (fires automatically, no arm), and wallet_provision is an Apple Pay / Google Pay activation code (fires after you arm the card above). Verify the X-Izipay-Signature header before trusting the payload, as described in Webhooks. Codes expire in about 10 minutes, so relay them to your cardholder promptly and return HTTP 200.

Get account balance

GET/balance

Returns your account balance, your prices and rates, your limits and card statistics. Your account balance is in data.account_balance.balance_usd: card issues and top-ups with "pay_currency": "balance" are charged to it. With a test key it shows the test balance and adds "sandbox": true.

Request
curl https://izipay.me/api/v1/balance \ -H "Authorization: Bearer YOUR_API_KEY"
FieldMeaning
pricing.*_issue_usdYour issue price per card type. mastercard_issue_usd is the Apple Pay card; visa_issue_usd is the online cards.
pricing.*_topup_commission_pctYour top-up rate in percent. visa_: cards starting with 4, 5378 and 5556. mastercard_: other cards.
pricing.topup_network_fee_by_networkNetwork fee per top-up, by the network value of a balance top-up.
limitsRequests per minute and cards per day (0 means no daily limit).
cards_statsCounts of your cards by status and the total paid for cards.
Response · 200
{ "success": true, "data": { "company_name": "Acme Ltd", "pricing": { "visa_issue_usd": ..., "visa_us_issue_usd": ..., "mastercard_5556_issue_usd": ..., "mastercard_issue_usd": ..., "visa_topup_commission_pct": ..., "mastercard_topup_commission_pct": ..., "topup_network_fee_usd": ..., "topup_network_fee_by_network": { "trc20": ..., "bsc": ..., "polygon": ..., "eth": ... }, ... }, "limits": { "rate_limit_per_min": 60, "max_cards_per_day": 100, "cards_used_today": 3, "cards_remaining_today": 97 }, "account_balance": { "balance_usd": 340.55 }, "cards_stats": { "total": 128, "issued": 119, "pending_payment": 2, "pending_issue": 1, "failed": 6, "total_spent_usd": ... } } }

The response also has older fields kept for compatibility (pricing.card_price_usd, pricing.topup_commission_pct, prepaid_pool); do not build on them. The prepaid pool is discontinued: POST /pool/topup returns 410 POOL_DISCONTINUED. Fund your account balance instead.

Payment gateway · create a payment

POST/payments

The payment gateway lets you accept crypto from your own customers. Create a payment, show the returned address and amount to your customer, and receive funds (converted to USD) into your gateway balance, from which you can pay out. Your gateway_fee_pct and a network fee are deducted from each payment; see Gateway balance. The gateway needs a live key: in the sandbox it returns 403 SANDBOX_NOT_AVAILABLE. When a payment is credited, the payment.confirmed webhook is sent.

Body parameters

FieldTypeRequiredDescription
price_amountnumberrequiredAmount to charge, in USD.
pay_currencystringrequiredWhat the customer pays in, e.g. usdttrc20, btc, eth. Or pass a base coin (usdt) plus network.
order_idstringoptionalYour reference for the order (≤128 chars).
order_descriptionstringoptionalHuman-readable description (≤255 chars).
ipn_callback_urlstringoptionalURL to receive status callbacks for this payment.
Request
curl -X POST https://izipay.me/api/v1/payments \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "price_amount": 49.99, "pay_currency": "usdttrc20", "order_id": "order-8842" }'
Response · 201
{ "success": true, "data": { "payment_id": "pay_abc123", "order_id": "order-8842", "status": "waiting", "pay_address": "TXs...address", "pay_amount": 49.99, "pay_currency": "usdttrc20", "network": "trc20", "price_amount": 49.99, "expires_at": "2026-05-22T09:15:00Z", "qr_data": "tron:TXs...?amount=49.99" } }

Payment gateway · list payments

GET/payments

Lists gateway payments, most recent first.

Query parameters

FieldTypeRequiredDescription
limitintegeroptionalMax rows (1 to 200). Default 50.
offsetintegeroptionalRows to skip. Default 0.
statusstringoptionalFilter, e.g. confirmed, waiting.
Response · 200
{ "success": true, "data": { "payments": [ { "payment_id": "pay_abc123", "order_id": "order-8842", "status": "confirmed", "pay_amount": 49.99, "amount_paid": 49.99, "pay_currency": "usdttrc20", "network": "trc20", "price_amount": 49.99, "created_at": "2026-05-22T08:15:00Z", "confirmed_at": "2026-05-22T08:22:00Z" } ], "count": 1, "limit": 50, "offset": 0 } }

Payment gateway · get a payment

GET/payments/{payment_id}

Retrieves the current status of a single gateway payment.

Request
curl https://izipay.me/api/v1/payments/pay_abc123 \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 200
{ "success": true, "data": { "payment_id": "pay_abc123", "order_id": "order-8842", "status": "confirmed", "pay_address": "TXs...address", "pay_amount": 49.99, "amount_paid": 49.99, "pay_currency": "usdttrc20", "network": "trc20", "price_amount": 49.99 } }
i
Statuses: waiting, partially_paid, confirmed, expired, failed, refund_needed.

Payment gateway · balance

GET/gateway/balance

Your gateway balance (customer payments received, net of fees) and lifetime totals. This balance is what you draw from when creating a payout.

Response · 200
{ "success": true, "data": { "balance_usd": 1240.55, "gateway_fee_pct": 1.0, "lifetime": { "total_received_usd": 8600.00, "total_fees_usd": 86.00, "total_paid_out_usd": 7273.45 } } }

Payment gateway · create a payout

POST/payouts

Withdraws funds from your gateway balance to a crypto address you control. The amount is reserved at once, the payout is reviewed and then sent on-chain. A network fee is withheld: the response shows it in network_fee and the amount that will arrive in net_amount. Returns 201.

Body parameters

FieldTypeRequiredDescription
amount_usdnumberrequiredAmount to withdraw from your gateway balance, in USD.
networkstringrequiredNetwork to send on, e.g. trc20, bsc, polygon, eth.
addressstringrequiredDestination wallet address.
currencystringoptionalAsset to send. Default usdt.
Request
curl -X POST https://izipay.me/api/v1/payouts \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "amount_usd": 500, "network": "trc20", "address": "TXs...address" }'
Response · 201
{ "success": true, "data": { "payout_id": "payout_abc123", "status": "pending", "amount_usd": 500.00, "network_fee": ..., "net_amount": ..., "network": "trc20", "currency": "usdt", "to_address": "TXs...address", "balance_usd": 740.55 } }

Payment gateway · list payouts

GET/payouts

Lists your payouts, most recent first. Supports limit (1 to 200, default 50) and offset.

Response · 200
{ "success": true, "data": { "payouts": [ { "payout_id": "payout_abc123", "status": "completed", "amount_usd": 500.00, "network": "trc20", "currency": "usdt", "to_address": "TXs...address", "amount_sent": 500.00, "tx_hash": "a1b2c3...", "created_at": "2026-05-22T08:15:00Z", "processed_at": "2026-05-22T08:20:00Z" } ], "count": 1 } }
i
Payouts are reviewed before they are sent on-chain. status is pending, approved, completed (sent, tx_hash is set) or rejected. Webhooks: payout.pending, payout.completed, payout.failed.

Webhooks

Register an HTTPS endpoint (with POST /webhooks or on the Webhooks page of the cabinet) to receive events as they happen. Each event is a POST with a JSON body, sent once to every active endpoint subscribed to it.

Event types

Subscribe with exact names, a family mask (card.*, topup.*, balance.*, payment.*, payout.*) or * for everything. Unknown names are rejected with 400 BAD_REQUEST.

card.transactionThe main card event. A purchase, authorisation, decline, reversal or refund on a card. See the payload below.
card.paidA card paid with crypto: the payment confirmed, the card is being issued (status: "paid_pending_issue").
card.issuedThe card is issued and ready for top-ups. Read the card details with GET /cards/{card_id}.
card.failedThe card could not be issued. Carries reason, and refunded_usd when the price was returned to your balance.
card.returnedFunds were returned from a card to your account balance (amount_returned, balance_usd).
topup.completedA top-up was credited to the card (topup_id, amount_usd, amount_on_card, status: "credited").
topup.paidA crypto top-up was paid but could not be credited to the card at once (status: "paid_pending_credit"). Check it with GET /topups/{topup_id}.
topup.failedReserved for top-ups that are not credited. You can subscribe to it now; to see the state of any top-up, use GET /topups/{topup_id}.
balance.creditedA crypto deposit was credited to your account balance (amount_usd credited, amount_paid, network_fee, balance_usd).
card.otpA one-time verification code for a card. data.kind is payment_3ds (3-D Secure code for an online purchase, sent automatically) or wallet_provision (Apple Pay / Google Pay activation, after you arm the card). See verification codes and 3-D Secure.
payment.confirmedA payment gateway charge was paid and credited to your gateway balance.
payout.pendingA gateway payout was requested and is waiting for review.
payout.completedA gateway payout was sent on-chain (tx_hash).
payout.failedA gateway payout was rejected (status: "rejected", reason).

Envelope

Every event has the same envelope: id (unique event id, evt_...), type, created (unix seconds) and data. Events in the sandbox carry "sandbox": true inside data.

card.transaction payload
{ "id": "evt_5f0c2a9e41b7d3c8a1e2f6b0", "type": "card.transaction", "created": 1763287860, "data": { "card_id": "card_abc123", "transaction_id": "2611161011000123", "amount": 12.4, "currency": "USD", "status": "pending", "is_final": false, "update": false, "type": "purchase", "group": "purchase", "is_credit": false, "decline_reason": "", "merchant": { "name": "OPENAI", "country": "US", "mcc": "5734" }, "occurred_at": "2026-11-16T10:11:00Z", "occurred_at_issuer_local": "2026-11-16 18:11:00", "balance": 87.6 } }
FieldMeaning
amountAlways positive. Use is_credit for the direction: true means money came back to the card (refund).
statuspending (authorised, funds reserved), success (settled), failed (declined, see decline_reason), reversed (authorisation released).
is_final / updateA purchase usually arrives first as pending; when it settles or is declined you get a second event for the same transaction_id with update: true and the final status.
type / grouppurchase or refund.
occurred_atUTC, ISO 8601.
balanceCard balance read right before the event, or null if it could not be read.
card.issued payload (data)
{ "card_id": "card_abc123", "cardholder_email": "alice@example.com", "client_card_ref": "user_42", "card_number_masked": "474600******1937", "ready_for_topup": true }

Verifying signatures

Every delivery has these headers:

X-Izipay-SignatureHex HMAC-SHA256 of the raw request body, keyed with the signing_secret of the webhook. Verify it before trusting the event, on the raw bytes, before any JSON parsing.
X-Izipay-TimestampUnix time when the event was created (the same as created). It is not part of the signature; you can use it to drop very old events.
X-Izipay-EventEvent type.
X-Izipay-Delivery-IdId of this delivery to this endpoint.
X-Izipay-AttemptAttempt number, from 1.

Deduplicate by the event id. A retry sends the same event with the same id, so store the ids you have processed and skip repeats.

Node.js (Express)
const crypto = require('crypto'); const express = require('express'); const app = express(); // express.raw keeps the exact bytes that were signed. Do not use express.json() on this route. app.post('/webhooks/izipay', express.raw({ type: 'application/json' }), (req, res) => { const received = Buffer.from(String(req.get('X-Izipay-Signature') || ''), 'utf8'); const expected = Buffer.from( crypto.createHmac('sha256', process.env.IZIPAY_WEBHOOK_SECRET).update(req.body).digest('hex'), 'utf8' ); if (received.length !== expected.length || !crypto.timingSafeEqual(received, expected)) { return res.status(401).send('Invalid signature'); } const event = JSON.parse(req.body.toString('utf8')); // Skip the event if event.id was already processed, then handle it. res.sendStatus(200); });
PHP
<?php $raw = file_get_contents('php://input'); $received = $_SERVER['HTTP_X_IZIPAY_SIGNATURE'] ?? ''; $expected = hash_hmac('sha256', $raw, getenv('IZIPAY_WEBHOOK_SECRET')); if (!hash_equals($expected, $received)) { http_response_code(401); exit('Invalid signature'); } $event = json_decode($raw, true); // Skip the event if $event['id'] was already processed, then handle it. http_response_code(200);

Delivery and retries

A delivery succeeds on any 2xx answer within 15 seconds. Redirects are not followed. A failed delivery is tried 5 times in total: at once, then 1 minute, 5 minutes, 30 minutes and 2 hours after the previous failure. After the fifth failure the delivery stops. Answer quickly with 200 and do the heavy work afterwards. You can resend a failed delivery from the cabinet (Webhooks page).

Register a webhook

POST/webhooks

Body: url (required, public https:// address) and events (optional array, default ["*"]). Returns 201 with the signing_secret. The secret is shown only in this response: store it safely. A test key of a live account cannot manage webhooks (403 TEST_KEY_NOT_ALLOWED); use your live key.

Request
curl -X POST https://izipay.me/api/v1/webhooks \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://yoursite.com/hooks/izipay", "events": ["card.transaction", "card.issued", "topup.completed", "card.otp"] }'
Response · 201
{ "success": true, "data": { "webhook_id": 7, "url": "https://yoursite.com/hooks/izipay", "events": ["card.transaction", "card.issued", "topup.completed", "card.otp"], "signing_secret": "...", "message": "..." } }

List webhooks

GET/webhooks

Returns the webhook endpoints registered on your account.

Request
curl https://izipay.me/api/v1/webhooks \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 200
{ "success": true, "data": { "webhooks": [ { "id": 7, "url": "https://yoursite.com/hooks/izipay", "events": ["*"], "is_active": true, "created_at": "2026-11-10 10:00:00" } ] } }

Delete a webhook

DELETE/webhooks/{id}

Disables the webhook. No new events are sent to it, and deliveries still waiting for a retry are cancelled. To receive events again, register the URL again (you get a new signing_secret). Deleting a webhook that is already disabled returns success.

Request
curl -X DELETE https://izipay.me/api/v1/webhooks/7 \ -H "Authorization: Bearer YOUR_API_KEY"
Response · 200
{ "success": true, "data": { "id": 7, "url": "https://yoursite.com/hooks/izipay", "status": "disabled", "message": "..." } }

Error codes

Errors return a JSON body with success: false, a machine-readable error.code and a readable error.message. Some errors add error.details. Build your logic on code, not on the message text.

{ "success": false, "error": { "code": "INSUFFICIENT_BALANCE", "message": "Not enough balance. Top up your account balance first." } }

Request and access

HTTPCodeWhat to do
400BAD_REQUESTA parameter is missing or invalid, or the body is not valid JSON. Fix the request; message says what is wrong.
401UNAUTHORIZEDMissing, invalid or revoked API key, or a bad request signature. Check the key and the signing headers.
403FORBIDDENAccount not active, IP address not allowed, or a key used on the wrong domain. Contact support if unexpected.
403ACCOUNT_RESTRICTEDYour account can withdraw and read, but cannot issue or top up cards. Contact support.
403TEST_KEY_NOT_ALLOWEDA test key of a live account tried to manage webhooks. Use the live key.
404NOT_FOUNDThe card, top-up or webhook does not exist in this mode (test keys see only test data).
404ROUTE_NOT_FOUNDWrong method or path. Check the URL against this reference.
410POOL_DISCONTINUEDThe prepaid pool is discontinued. Fund your account balance instead.
429RATE_LIMITEDToo many requests. Wait the number of seconds in the Retry-After header, then retry.
429DAILY_LIMIT_REACHEDYour daily card issue limit is used up. Retry tomorrow (UTC) or ask support to raise it.

Money and cards

HTTPCodeWhat to do
402INSUFFICIENT_BALANCENot enough account balance. Fund your balance, then retry.
402INSUFFICIENT_CARD_BALANCEA return asks for more than the card has. Use error.details.card_balance or "all".
400CARD_EMPTYThe card has nothing to return.
409CARD_NOT_READYThe card is not issued yet. Wait for card.issued.
409CARD_BUSYAnother operation on this card is running. Retry in a few seconds.
409IN_PROGRESSA request with the same idempotency key is still running. Retry in a few seconds with the same key.
409DUPLICATE_REQUESTThe same balance top-up was made on this card in the last 90 seconds. Check it before sending again.
409IDEMPOTENCY_KEY_REUSEDThe key was used for a transfer between other cards. Use a new key.
409TOPUP_PENDING_REVIEWA top-up on this card is being verified. Do not retry with a new key and do not top up this card until support confirms the result (up to 24 hours).
202RETURN_PENDING_REVIEWA return is being verified. Do not repeat it; check the card and your balance, or contact support.
403CARD_LOCKED_BY_SUPPORTThe card was frozen by our team. Contact support.
403CARDHOLDER_MISMATCHA transfer between cards of different cardholders. Contact support if you need it.
429TOO_MANY_OPEN_TOPUPSToo many unpaid crypto top-ups. Pay one or wait until they expire (24 hours), or top up from your balance.
422TRANSFER_FAILEDThe transfer was not made. Read message and retry later.
502ISSUER_ERRORThe card issuer refused the operation. A balance charge is returned to your balance. Retry in a few minutes.
502RETURN_FAILED, FREEZE_FAILED, CARD_BALANCE_UNAVAILABLENothing was changed. Retry.
502PAYMENT_PROVIDER_ERRORA crypto deposit address could not be created. Retry, or pay from balance.
503CARD_SERVICE_UNAVAILABLE, NETWORK_UNAVAILABLETemporarily unavailable. Retry later, or use another network.
400NOT_SUPPORTEDThe card does not support this operation (for example a wallet code on a card without Apple Pay).
500INTERNAL_ERROR, TEMPORARY_ERRORUnexpected error; nothing was charged when the message says so. Retry with backoff and the same idempotency key.

Sandbox codes are listed in Sandbox. The payment gateway can also return DUPLICATE_PAYOUT (409), too_many_open_payments (429) and network_busy (503).

Rate limits

Each account has a per-minute request limit and a daily card issue limit. Both are shown in GET /balance under limits and can be raised on request.

Request rate
Per account req / min
Daily issuance
Per account cards / day

Over the per-minute limit you get 429 RATE_LIMITED with a Retry-After header (seconds). Over the daily limit you get 429 DAILY_LIMIT_REACHED. Test keys also have a limit of 60 requests per minute and 3,000 per day. Need more headroom? Contact us.

Health check

GET/health

Needs no API key. Use it for monitoring.

curl https://izipay.me/api/v1/health { "success": true, "data": { "status": "ok", "version": "v1", "time": "2026-11-16T10:00:00+00:00" } }
IZIPAY Business API · Request access · izipay.me