Skip to main content
This quickstart walks through the full Portfolio Wallet lifecycle: reviewing yield sources, creating a wallet, funding it, and initiating a withdrawal.

Prerequisites

Create your API key at portal.groundtech.co, then export it below.
See API Conventions for authentication, pagination, rate limits, and error handling.

1. Review the yield source catalog

Fetch the sandbox yield source catalog and choose sources for your wallet’s allocation. Use sources returned for your organization, and adjust the example below so each allocation group totals 100%.

2. Create a Portfolio Wallet

Choose the allocation strategy you’d like for your wallet:
The create response returns immediately with status: "creating" and an empty depositAddresses object while initial setup runs. A prepared wallet can return with status: "idle" and ready addresses. Save the wallet ID as WALLET_ID and poll GET /v2/wallets/{id} for your intended network’s deposit address. An idle status does not mean every address is ready. Wait for your intended network’s address to appear in depositAddresses; you can use it while other addresses are being prepared.

3. Deposit a stablecoin

Send a supported stablecoin to the returned address for your chosen network. First check address readiness; in sandbox, use that network’s supported test asset. You can get Sepolia USDC from the Circle faucet or bridge testnet ETH via the Sepolia faucet. For Sepolia USDT, use the mock USDT faucet.

4. Check balance and yield

5. Preview a withdrawal

The estimate is calculated when you request the preview. Date values above are illustrative; use the response you receive when presenting withdrawal timing.

6. Initiate a withdrawal

7. Track the withdrawal

Poll the withdrawal or subscribe to webhooks:
The withdrawal moves through processing and then a terminal status such as completed, partially_completed, failed, or cancelled. If approval is required, a payout leg and its external payout step enter pending_customer_approval; complete the approval in Ground Portal or through the approval integration enabled for your organization. See Transaction Approvals.

Next steps