Skip to main content
In this quickstart, you will open an EUR virtual account in the Staging environment. You will:
  • Open a virtual account for a user
  • Read the bank details the user sends transfers to
Deposits cannot be simulated in staging yet. Contact Crossmint to run a test deposit through the provider’s sandbox.
Virtual Accounts are gated in both staging and production. Contact Crossmint to get access.

Prerequisites

  • Verified user: a staging user who has passed onramp KYC. See User Onboarding and KYC.
  • Registered wallet: the user’s wallet on Solana, linked to the user with ownership verified through the Link Wallet API. The user’s own Crossmint wallet needs no linking.
  • API Key: a staging server API key with the virtual-accounts.create and virtual-accounts.read scopes. In staging, all scopes are included by default.

Integration Steps

1

Open the Account

Send the user, the currency, and the wallet and token that deposits go to.
The account returns 201 with the bank details in depositInstructions. In production, the user sends a bank transfer to that IBAN:
Response
Save the virtualAccountId. When the call answers 403 payments:virtual-account.not-eligible, the user still has to pass KYC. See When the User Is Not Eligible. When status is pending, see Wait for the Bank Details.

Learn More

How Virtual Accounts Work

The flow of an account and of each deposit

Open a Virtual Account

Eligibility, terms of service, pending accounts, and errors