ynab-bank-importer
ynab-bank-importer copied to clipboard
Testing SaltEdge API to get access to hundreds of PSD2 banks
Currently working on integrating SaltEdge API - I'm using this for the German bank "DKB" and it seems to work for all accounts (including credit cards):
Configuration:
- dumper: :saltedge
iban: DEXXXXXXXXXXXXXXXXXXX
ynab_id: ...
saltedge_app_id: ...
saltedge_secret: ...
saltedge_connection_id: ...
saltedge_transaction_count: ...
saltedge_account_id: ...
SALTEDGE API
- Register for API access.
- Contact them to request test access
- Create the initial bank connection within the SaltEdge Web Interface
Refresh the Data
- Before you can import the transactions to YNAB, you need to make sure to sync the transactions from your bank accounts with Salt Edge.
- This can be done via the web interface or via the following CURL request (you will get a special link to login to your bank account and enter a valid TAN):
export APP_ID=...
export SECRET=...
export CONNECTION_ID=...
curl --silent -H "Accept: application/json" \
-H "Content-type: application/json" \
-H "App-id: $APP_ID" \
-H "Secret: $SECRET" \
-X POST \
-d "{ \
\"data\": { \
\"connection_id\": \"$CONNECTION_ID\", \
\"consent\": { \
\"period_days\": 90, \
\"scopes\": [ \
\"account_details\", \
\"transactions_details\" \
] \
} \
} \
}" \
https://www.saltedge.com/api/v5/connect_sessions/reconnect | jq .
USE IT AT YOUR OWN RISK! IT IS YOUR DECISION IF YOU TRUST SALTEDGE!