Documentation Index
Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
Use this file to discover all available pages before exploring further.
Card withdrawal is only available for issuers using the master wallet funding structure. The funds are settled on-chain directly to your issuer master wallet.
How it works
A card withdrawal moves USDC from a customer’s card account (their on-chain Safe) back to your issuer master wallet in a single API call:- You call
POST /api/card-issuer/withdraw-from-cardwith a customer identifier and amount - Yativo fetches EIP-712 typed data from the card network, signs it server-side using the card’s EOA, and submits the transaction
- A delay relay holds the transaction for ~3 minutes — the card is temporarily frozen during this window
- Once the delay elapses the transfer executes on-chain and your master wallet is credited
- Two webhooks fire:
card.withdrawal.settled(customer-scoped) andmaster_wallet.withdrawal(issuer-scoped)
API
Identifies the customer’s card. Accepts any of:
yativo_card_id— e.g.yativo_card_customer_...external_id— the ID you assigned during onboardingcustomer_id— the Yativo internal customer ObjectIdemail— only valid when the customer has exactly one card; returns422if ambiguous
Amount to withdraw in display units (e.g.
1, 25.50). Must be positive and not exceed the card’s available balance.Timing
| Stage | Time |
|---|---|
| API response (withdrawal accepted) | Immediate |
| Card frozen (delay relay active) | Immediately after submission |
| On-chain settlement | ~3 minutes after submission |
| Card unfrozen | After settlement confirms |
| Webhooks delivered | After settlement confirms |
Webhooks
Subscribe to these events to track withdrawal lifecycle:card.withdrawal.settled
Fires when the withdrawal confirms on-chain. Scoped to the customer’s card account.
master_wallet.withdrawal
Fires at the same time as card.withdrawal.settled. Scoped to your issuer master wallet — confirms your wallet has been credited.
card.withdrawal.failed
Fires if the on-chain transaction is rejected.
customer.balance.updated
Fires when the card balance changes — including after a withdrawal settles.
Notes
- Card is frozen during processing. From submission until on-chain confirmation (~3 min), the card cannot be used for purchases.
- Settlement is on-chain and irreversible. Once submitted the transaction cannot be cancelled. Verify the amount and customer before calling the endpoint.
- Master wallet receives USDC on Gnosis Chain. The credited token matches the customer’s card denomination. For USD cards this is USDC (
0x2a22f9c3b484c3629090FeED35F17Ff8F88f76F0). amount_minoris in cents (1 USD = 100 minor units), regardless of the on-chain token decimals.
Fund a Customer Card
Move funds from your master wallet to a customer card.
Transactions
View card spending and transaction history.

