Sana Card × xPay

Your agent gets
a Visa card.

xPay integrates with Sana to give your AI agent a real Visa Signature card — funded by USDC, spendable anywhere Visa is accepted. One API key is all it takes.

Sana Card — Visa Signature
How it works

Up and running in 3 steps.

01
Install xPay

One package — wallet, x402 payments, and Sana card in a single CLI.

npm install -g @xona-labs/xpay
02
Link your Sana key

Generate your key at sana.bot/gateway/app/api-keys then link it to your xPay profile.

xpay sana link sana_live_...
03
Your agent gets card tools

Restart your MCP client — sana_* tools appear alongside xpay_* with no extra config.

// MCP tools registered automatically: // sana_card sana_card_balance // sana_card_deposit sana_card_transactions
Architecture

Two wallets, one agent.

xPay handles on-chain USDC for x402 service payments. Sana is the card layer for fiat spending. The agent bridges them automatically when the card balance is low.

xPay wallet
USDC on-chain
xpay_transfer
top up card
Sana card
Visa Signature
Spend anywhere
Visa accepted
CLI

Test from your terminal.

Every Sana tool is available as a CLI command — no agent loop needed to verify the integration works.

xpay sana cardCard status, type, last 4, expiry
xpay sana card-balanceAvailable spending power
xpay sana card-deposit 10Top up card with $10 USDC
xpay sana card-transactionsCard spending history
xpay sana portfolioSana wallet net worth + holdings
xpay sana price SOLLive token price
xpay sana swap SOL USDC 0.5Swap tokens in Sana wallet
xpay sana notificationsRecent wallet activity
MCP Tools

8 tools for your agent.

Registered automatically when a Sana key is linked. No code change needed in your agent config.

sana_cardCard metadata — type, status, last 4, expiry
sana_card_balanceAvailable credit / spending power
sana_card_depositTop up the card with USDC
sana_card_transactionsPaginated card spending history
sana_portfolioNet worth + token holdings with 24h changes
sana_priceLive USD price for any token
sana_swapSwap tokens inside Sana wallet
sana_notificationsRecent Sana wallet activity feed

Ready to give your agent a card?

Get your Sana API key, install xPay, and your agent will have a Visa Signature card in under 5 minutes.

xpay sana link sana_live_... && xpay sana card-balance