Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Testing SaltEdge API to get access to hundreds of PSD2 banks #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f2cx
Copy link

@f2cx f2cx commented Oct 16, 2019

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

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!

Copy link

@chrispazz chrispazz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants