Overview
3DS Scenarios are configuration templates that define how 3D Secure authentication should behave for transactions. Use scenarios to:- Test specific authentication flows and outcomes
- Configure consistent challenge behaviors across payment tests
- Simulate different 3DS authentication scenarios
3DS Scenarios are only available for the hosted 3DS flow. For other integration methods, refer to the 3DS testing guide to use test cards from the underlying 3DS providers.
Registering a scenario
Register a new 3DS scenario by making a request to the create scenario endpoint:Simulating a card that isn’t enrolled
To simulate a card that isn’t enrolled for 3-D Secure, set the outcomeversion to null. Gr4vy treats the matching transaction like a real card that isn’t enrolled. The transaction continues without 3-D Secure, unless a Flow rule forces 3-D Secure, in which case it’s declined. The authentication object is still required, but its value isn’t used.