CRYPTO_RETURNED. No follow-up API call is needed.
Magic values
You can force an offramp outcome by providing a magic value on thesandboxScenario field when making requests to the create an offramp endpoint. The following table outlines the magic values and their effects:
All three resolve to
CRYPTO_RETURNED 3 minutes after reaching the status they force. The offramp reports an intermediate FIAT_RETURNED on the way, matching the production progression, so expect webhooks for both statuses. Testnet crypto is delivered on chain to the sender’s wallet as part of the return, and CRYPTO_RETURNED is reached once that delivery confirms.
Example request
Coverage
Offramp magic values are wired into USD offramps and global network offramps, and all three resolve toCRYPTO_RETURNED. Values that are not listed above either fall through to the standard sandbox behavior or return an error.
Getting help
- 📧 Email: support@hifi.com
- 💬 Slack: Message us in our shared Slack channel
Related resources
- Magic values overview - What magic values are and where they apply
- Onramp magic values - Force an onramp outcome from the deposit that creates it
- Submit KYC magic values - Drive a KYC application to a particular status
- Sandbox - Environment setup and how sandbox differs from production
- Offramps - Full offramp status progression, including returns
- Offramp events - Webhook events emitted during failures and returns