Test the Guest checkout debit card flow in our sandbox!

Instructions

On the payment method page, you can use the following values when filling out the form (do not use real phone numbers or card numbers):

FieldInput value
Phone numberAny valid US 10-digit phone number e.g. (212) 123-1234. Note: you will not receive a text message if you use a real phone number.
EmailAny valid email string e.g. john.doe@gmail.com
Name on cardAny first and last name e.g. John Doe
Card number4242 4242 4242 4242 to simulate a successful transaction. Any other 16-digit card number to simulate a declined transaction.
Expiry dateAny valid expiry date e.g. 12/31
CVCAny 3-digit CVC e.g. 123
Billing addressAny valid US address (you can start typing for suggestions). e.g. 123 Market Street, San Francisco, CA 94105

After completing the payment method page, you will see the phone verification page. You can input any 6-digit code here (e.g. 000000).

Creating sandbox URLs

You can test different Onramp configurations by modifying the query parameters in the sandbox URL. Session tokens are also supported.

Example URLs

https://pay-sandbox.coinbase.com/?appId=1492f9ed-46d5-4f85-b547-c888a9981625&addresses={"0x128835048d008e5b65d42e89bbb867e82910b31f":["ethereum","base"]}&defaultNetwork=base&defaultAsset=USDC&presetFiatAmount=5

Sandbox URL parameters:

ParameterRequiredTypeDescription
appIdYesStringThe Project ID found on the project Dashboard
addressesYesRecord<Address>An object whose keys are addresses and values are arrays of networks each address supports. (e.g. addresses={"0x1":["base"]}) Note: no tokens will be sent to the set addresses in sandbox.
sessionTokenNoStringToken generated by the Onramp Session Token API. Only required if Require secure initialization is true. If this is set, appId and addresses parameters are not required.
assetsNoString[]List of assets that will be available for the user to buy/send. e.g. [“ETH”, “USDC”] or UUIDs retrieved from the Buy Options API. This optional parameter acts as a filter on the addresses parameter. If it is included then only the assets in this list that are available on one of the supported blockchains in the Addresses list will be available to the user. See the See the Buy Options API for the full list of assets.
defaultNetworkNoStringDefault network that should be selected when multiple networks are present
defaultAssetNoStringDefault asset that should be selected when multiple assets are present
presetCryptoAmountNoNumberPreset crypto amount value
presetFiatAmountNoNumberPreset fiat amount value (for USD only in sandbox). Ignored if presetCryptoAmount is also set.