TestBank
TestBank is a fictional financial entity we implement to illustrate Flanks' capabilities and to facilitate the integration with our API, simulating connections and their behavior.
When creating a new credential in TestBank, you can use some special words both in the password field or in the SCA value to trigger specific reactions.
Special Passwords
In the link login screen, if one of these values is used in the password field, a specific interaction will be triggered.
- DATA_ERROR_PRODUCT_ACCOUNT: The login will work and the credentials will be created, but a data error will appear in the accounts field.
- INVALID_CREDENTIALS: It will return an INVALID_CREDENTIALS error and the credentials won't be created.
- INTERNAL_ERROR: It will return an INTERNAL_ERROR and the credentials won't be created.
- SCA_APP: It will trigger the SCA flow, using the SCA_APP challenge.
- SCA_APP_CODE: It will trigger the SCA flow, using the SCA_APP_CODE challenge.
- SCA_CALL: It will trigger the SCA flow, using the SCA_CALL challenge.
- SCA_CARD_READER: It will trigger the SCA flow, using the SCA_CARD_READER challenge.
- SCA_CODE: It will trigger the SCA flow, using the SCA_CODE challenge.
- SCA_CODE_DEVICE: It will trigger the SCA flow, using the SCA_CODE_DEVICE challenge.
- SCA_CODE_FROM_APP: It will trigger the SCA flow, using the SCA_CODE_FROM_APP challenge.
- SCA_COORDINATE: It will trigger the SCA flow, using the SCA_COORDINATE challenge.
- SCA_COORDINATE_CARD: It will trigger the SCA flow, using the SCA_COORDINATE_CARD challenge.
- SCA_CRYPTOCALCULATOR": It will trigger the SCA flow, using the SCA_CRYPTOCALCULATOR" challenge.
- SCA_DIGIPASS": It will trigger the SCA flow, using the SCA_DIGIPASS" challenge.
- SCA_EMAIL": It will trigger the SCA flow, using the SCA_EMAIL" challenge.
- SCA_EXTERNAL_WAIT": It will trigger the SCA flow, using the SCA_EXTERNAL_WAIT" challenge.
- SCA_GOOGLE_AUTHENTICATOR": It will trigger the SCA flow, using the SCA_GOOGLE_AUTHENTICATOR" challenge.
- SCA_MISCELLANEOUS": It will trigger the SCA flow, using the SCA_MISCELLANEOUS" challenge.
- SCA_QR_ACCEPT: It will trigger the SCA flow, using the SCA_QR_ACCEPT challenge.
- SCA_QR_CODE_OR_OK: It will trigger the SCA flow, using the SCA_QR_CODE_OR_OK challenge.
- SCA_QR_INPUT: It will trigger the SCA flow, using the SCA_QR_INPUT challenge.
- SCA_SECURE_KEY: It will trigger the SCA flow, using the SCA_SECURE_KEY challenge.
- SCA_SECURITY_QUESTION: It will trigger the SCA flow, using the SCA_SECURITY_QUESTION challenge.
- SCA_SMS: It will trigger the SCA flow, using the SCA_SMS challenge.
- SCA_SYNCHRONOUS_APP: It will trigger the SCA flow, using the SCA_SYNCHRONOUS_APP challenge.
- SCA_TYPE_NOT_ALLOWED: It will return an SCA_TYPE_NOT_ALLOWED error and the credentials won't be created.
- SCA_UPDATABLE_QR: It will trigger the SCA flow, using the SCA_UPDATABLE_QR challenge.
Special SCA values
When the link prompts for an SCA value, if one of these values is used (when applicable, they will not work in something like a SCA_APP scenario), a specific interaction will be triggered:
- INVALID_SCA: It will return an INVALID_SCA error and the credentials won't be created.
- INTERNAL_ERROR: It will return an INTERNAL_ERROR error antd the credentials won't be created.
- USER_INTERACTION_NEEDED: It will return an USER_INTERACTION_NEEDED error and the credentials won't be created.