sandboxScenario field, you set a name field to a magic value and the application is driven to the matching status.
Magic values
SetlastName (for individuals) or businessName (for businesses) to a magic value when making requests to the submit KYC endpoint to drive the application to a particular status:
Note: Any other value results in the standard sandbox behavior, where KYC is typically auto-approved. Some compliance checks, such as PEP screening, can still block approval in sandbox regardless of the name used.
Coverage
KYC magic values coverAPPROVED, PENDING, REJECTED, and the RFI_PENDING lifecycle. RFI only auto-resolves to ACTIVE.
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
- Offramp magic values - Force an offramp outcome at create time
- Onramp magic values - Force an onramp outcome from the deposit that creates it
- Sandbox - Environment setup and how sandbox differs from production
- KYC requirements - What each application needs to submit
- KYC events - Webhook events emitted as an application changes status