---
updatedAt: 2026-07-16T09:15:09.000Z
agentTools:
  projectIndex: https://docs.truelayer.com/llms.txt
---

# Mock users

User credentials for testing. Use different credentials to test different responses.

These credentials can be used with the `mock` bank for testing successful transactions and different errors.

[block:parameters]
{
  "data": {
    "h-0": "Username",
    "h-1": "Password",
    "h-2": "Behaviour",
    "0-0": "`\"john\"`  \n`\"john1\"`  \n`\"john2\"`  \n...  \n`\"john100\"`",
    "0-1": "`\"doe\"`  \n`\"doe1\"`  \n`\"doe2\"`  \n...  \n`\"doe100\"`",
    "0-2": "Successful authentication.  \n  \nExample data available via Data API.  \n  \nConnection extend will return `{action_type: \"authentication_needed\"}`.",
    "1-0": "`\"john\"`  \n`\"john1\"`  \n`\"john2\"`  \n...  \n`\"john100\"`",
    "1-1": "`\"iban\"`  \n`\"iban1\"`  \n`\"iban2\"`  \n...  \n`\"iban100\"`",
    "1-2": "Successful authentication.  \n  \nExample data available via Data API. The `iban` field of the accounts payload will be a different valid IBAN for each account.  \n  \nConnection extend will return `{action_type: \"authentication_needed\"}`.",
    "2-0": "`\"john\"`",
    "2-1": "`\"eternal\"`",
    "2-2": "Successful authentication.  \n  \nExample data available via Data API.  \n  \nConnection extend will return `{action_type: \"no_action_needed\"}`.",
    "3-0": "`\"error.account_permanently_locked\"`",
    "3-1": "`\"error\"`",
    "3-2": "Successful authentication.  \n  \nAll calls to Data API will fail with `account_permanently_locked`.",
    "4-0": "`\"error.account_temporarily_locked\"`",
    "4-1": "`\"error\"`",
    "4-2": "Successful authentication.  \n  \nAll calls to Data API will fail with `account_temporarily_locked`.",
    "5-0": "`\"error.internal_error\"`",
    "5-1": "`\"error\"`",
    "5-2": "Successful authentication.  \n  \nAll calls to Data API will fail with `internal_error`.",
    "6-0": "`\"error.provider_error\"`",
    "6-1": "`\"error\"`",
    "6-2": "Successful authentication.  \n  \nAll calls to Data API will fail with `provider_error`.",
    "7-0": "`\"error.user_input_required\"`",
    "7-1": "`\"error\"`",
    "7-2": "Successful authentication.  \n  \nAll calls to Data API will fail with `user_input_required`.",
    "8-0": "`\"error.wrong_credentials\"`",
    "8-1": "`\"error\"`",
    "8-2": "Successful authentication.  \n  \nAll calls to Data API will fail with `wrong_credentials`."
  },
  "cols": 3,
  "rows": 9,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]