Testbank
Testbank
Atlar provides a Testbank that can be used to simulate a real bank.
The Atlar Testbank uses fake BICs that start with ATLR
, such as ATLRSESSXXX
or ATLRGB2LXXX
.
You can create transactions on the underlying Atlar Testbank accounts, and these transactions are reflected in Atlar once they are fetched—either through the Refresh button in the Dashboard or via the hourly cronjobs triggered by Atlar.
To create a transaction in the Testbank, run a request to the Testbank API (use negative amount values for expenses).
curl -X POST 'https://api.atlar.com/v1/testbank/transactions' \
-u 'ACCESS_KEY:SECRET' \
-H 'X-Testbank-Authorization: Basic dXNlcjM6cGFzczM=' \
-H 'Content-Type: application/json' \
-d '{
"accountId": "ACCOUNT_ID",
"date": "yyyy-mm-dd",
"valueDate": "yyyy-mm-dd",
"amount": {
"currency": "EUR",
"value": 1500
},
"remittanceInformation": {
"type": "UNSTRUCTURED",
"value": "Gift of €15"
}
}'
Users
There are a few pre-configured users in the Testbank. Use these credentials to log in or to authorize API requests.
Username | Password | Authorization header | Financial data |
---|---|---|---|
user1 | pass1 | Basic dXNlcjE6cGFzczE= | Three Swedish SEK accounts, two Danish DKK accounts, and a few transactions |
user2 | pass2 | Basic dXNlcjI6cGFzczI= | Three German EUR accounts and a few transactions |
user3 | pass3 | Basic dXNlcjM6cGFzczM= | One empty Swedish SEK account |
user4 | pass4 | Basic dXNlcjQ6cGFzczQ= | One British GBP account, one British USD account, and a few transactions |
Special Counterparties and Identifiers
The Testbank allows you to simulate different behaviors using special account identifiers.
Initiating a payment to or collecting from one of these accounts will trigger specific events.
Identifier Type | Identifier Number | Description |
---|---|---|
IBAN | DE40500105176499974616 | Direct debit collections and credit transfers from this account will be returned. |
Updated about 22 hours ago