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.
- SCA_SMS: It will trigger the SCA flow, using the SCA_SMS challenge.
- SCA_QR_ACCEPT: It will trigger the SCA flow, using the SCA_QR_ACCEPT challenge.
- SCA_APP: It will trigger the SCA flow, using the SCA_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_UPDATABLE_QR: It will trigger the SCA flow, using the SCA_UPDATABLE_QR challenge.
- 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_TYPE_NOT_ALLOWED: It will return an SCA_TYPE_NOT_ALLOWED error and the credentials won't be created.
- USER_INTERACTION_NEEDED: It will return an USER_INTERACTION_NEEDED error and the credentials won't be created.
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.