moonpay-virtual-account
Set up a virtual account for fiat on-ramp and off-ramp. Covers KYC, wallet registration, bank accounts, onramp (fiat to stablecoin), and offramp (stablecoin to fiat).
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- moonpay-virtual-account
- tags
- [ "fiat" ]
- description
- Set up a virtual account for fiat on-ramp and off-ramp. Covers KYC, wallet registration, bank accounts, onramp (fiat to stablecoin), and offramp (stablecoin to fiat).
02 资源文件 2
- 参考文档metadata.json360 B
- 参考文档verification.json1.0 KB
03 SKILL.md 正文
Virtual account (fiat on-ramp & off-ramp)
Goal
Set up and use a MoonPay virtual account to convert between fiat (USD/EUR) and stablecoins (USDC/USDT/EURC) on Solana, Ethereum, Polygon, Base, or Arbitrum.
Setup flow
1. Create account and start KYC
mp virtual-account create
This creates the account and starts KYC verification automatically. It returns a URL to complete identity verification.
2. Check account status
mp virtual-account retrieve
The status field shows where you are. The nextStep field tells you what to do next.
3. KYC verification
# Check KYC status or get the verification link again
mp virtual-account kyc continue
# Restart KYC if something went wrong
mp virtual-account kyc restart
4. Accept required agreements
# List agreements that need to be accepted — shows name and URL for each
mp virtual-account agreement list
Important: Before accepting any agreement, show the user the agreement name and URL from the list output and ask them to open and review it. Only proceed once the user explicitly confirms they have read and agree to the terms.
# Accept an agreement (only after user confirms they have reviewed the URL)
mp virtual-account agreement accept --contentId <content-id>
# View previously accepted agreements
mp virtual-account agreement list --status accepted
5. Register a wallet
mp virtual-account wallet register --wallet main --chain solana
This creates the verification message, signs it locally, and registers — all in one command. Supported chains: solana, ethereum, polygon, base, arbitrum.
# List registered wallets
mp virtual-account wallet list
Onramp (fiat to stablecoin)
# Create an onramp — returns deposit account (bank IBAN or account number)
mp virtual-account onramp create \
--name "My Onramp" \
--fiat USD \
--stablecoin USDC \
--wallet <registered-wallet-address> \
--chain solana
# Get onramp details (includes deposit account, fees, legal disclaimer)
mp virtual-account onramp retrieve --onrampId <id>
# List onramps
mp virtual-account onramp list
# Update an onramp (change wallet, chain, or stablecoin)
mp virtual-account onramp update --onrampId <id> --chain ethereum
# Cancel an onramp
mp virtual-account onramp cancel --onrampId <id>
# Create an open banking payment
mp virtual-account onramp payment create \
--onrampId <id> \
--amount 100 \
--fiat USD
# Check payment status
mp virtual-account onramp payment retrieve \
--onrampId <id> \
--paymentId <payment-id>
Offramp (stablecoin to fiat)
Register a bank account first
# Register a USD bank account (ACH)
mp virtual-account bank-account register \
--currency USD \
--type ACH \
--accountNumber <number> \
--routingNumber <number> \
--providerName "Chase" \
--providerCountry US \
--givenName John \
--familyName Doe \
--email john@example.com \
--phoneNumber +14155551234 \
--address.street "123 Main St" \
--address.city "New York" \
--address.state NY \
--address.country US \
--address.postalCode 10001
# List registered bank accounts
mp virtual-account bank-account list
# Delete a bank account
mp virtual-account bank-account delete --bankAccountId <id>
Create and use an offramp
# Create an offramp
mp virtual-account offramp create \
--name "My Offramp" \
--bankAccountId <bank-account-id> \
--stablecoin USDC \
--chain solana
# List offramps
mp virtual-account offramp list
# Get offramp details
mp virtual-account offramp retrieve --offrampId <id>
# Update an offramp (change fiat currency / bank account)
mp virtual-account offramp update --offrampId <id> --fiat EUR
# Cancel an offramp
mp virtual-account offramp cancel --offrampId <id>
# Send stablecoin to an approved offramp (signs and broadcasts locally)
mp virtual-account offramp initiate \
--wallet main \
--offrampId <id> \
--amount 100
Other commands
# List transactions
mp virtual-account transaction list
Related skills
- moonpay-auth — Login and wallet setup (required before virtual account)
- moonpay-check-wallet — Check stablecoin balances
- moonpay-swap-tokens — Swap or bridge stablecoins after onramp
04 同仓库更多 Skills
zkrouter
Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.
zk
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
zk-omni-messaging
Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.
zerion-wallet-data
Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
youtube-clipper
YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video
yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.