Private preview
Error handling Private preview
Handle errors that occur during onramp sessions.
For general error handling, see the Stripe error handling guide.
For error codes specific to the crypto onramp, see Crypto onramp error codes.
Web
React Native
Android
iOS
API errors
Transaction blocked errors
Transactions can be blocked to meet compliance or risk requirements. For compliance reasons, Stripe can’t provide additional details about why a specific transaction was blocked. If you believe a transaction was blocked incorrectly, contact Stripe.
| Error code | Description | How to handle |
|---|---|---|
crypto_onramp_transaction_blocked | The transaction was blocked to meet compliance or risk requirements. | Show a generic error message. If you believe the transaction was blocked incorrectly, contact Stripe. |
Note
When testing, use the test values to avoid triggering compliance or risk checks.
Wallet ownership verification errors
The getWalletOwnershipChallenge and submitWalletOwnershipSignature EU Travel Rule wallet ownership methods reject with an error whose code is one of the following:
| code | Description | How to handle |
|---|---|---|
the related setting | The wallet isn’t registered on the authenticated user. | Register the wallet with registerWalletAddress, then request a new challenge. |
the related setting | The network doesn’t support wallet ownership verification. It only supports EVM-compatible networks and Solana. | Don’t retry with this network. |
the related setting | The challenge expired. | Request a new challenge, collect a new signature, then submit again. |
the related setting | The challenge is invalid or was already used. | Request a new challenge, then submit again. |
the related setting | The signature doesn’t prove control of the wallet. | Restart the full challenge and signing flow. Don’t resubmit the same signature. |
These codes are consistent across the web, React Native, Android, and iOS SDKs. Other failures—such as an unauthenticated user or a rate-limited request—aren’t specific to wallet ownership verification and reject with the non-specific the related setting code. Handle them with your general error handling.
