This guide walks you through listing your available payment methods and testing a fiat withdrawal transfer in Sandbox. The Sandbox uses pre-provisioned mock payment methods and does not connect to any real bank or payment network. Base URL:Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
https://sandbox.cdp.coinbase.com
Prerequisites
Before you begin, you’ll need:CDP CLI
CDP CLI
Install the CDP CLI (requires Node.js 22+):Configure a Sandbox environment using your CDP Secret API Key JSON file from the CDP Portal:
A funded Sandbox account
A funded Sandbox account
See the Custodial Accounts Quickstart for setting up a Sandbox account with funds.Set the account ID:
1. List payment methods
In Sandbox, test payment methods are pre-configured based on your entity’s region. List them to find the IDs you’ll use in transfers:Example response (US entity)
Example response (US entity)
2. Test a successful fiat withdrawal
Transfer from your USD account to the active Fedwire payment method:Example response
Example response
payment.transfer.processing → payment.transfer.completed.
3. Test a failed transfer (error handling)
Transfer to the inactive payment method to test how your integration handles errors:Example error response
Example error response
Sandbox payment method reference
US entities
| Payment rail | Bank | Status | Behavior |
|---|---|---|---|
| Fedwire | JPMorgan Chase Bank NA | active | Transfers succeed |
| Fedwire | Bank of America NA | inactive | Transfers fail |
| Swift | Deutsche Bank | active | Transfers succeed |
EU entities
| Payment rail | Bank | Status | Behavior |
|---|---|---|---|
| SEPA | Deutsche Bank | active | Transfers succeed |
| SEPA | Baden-Württembergische Bank | inactive | Transfers fail |
Move to production
To run this flow against real banks, switch from the Sandbox base URL to the production base URL and use a production API key. Production payment methods are real bank accounts you set up in the Coinbase Prime UI.What to read next
Payment methods overview
Concepts, types, and core operations
Transfers quickstart
Test crypto and email transfers too
Transfers overview
All transfer types, rails, and lifecycle
REST API reference
Full Payment Methods API reference