This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Source: https://developer.qnbfinansbank.com | |
| # Currently in beta phase so we DO NOT use id and secret instead we use a "code" from one of the accounts. | |
| # Go to: https://developer.qnbfinansbank.com/discovery/GettingStarted/UseTestPlatform | |
| ## Follow steps until step 5. The code you get is your token | |
| url = "https://sandbox-api.qnbfinansbank.com/v0/accounts" | |
| my_token = "MY_VERY_LONG_TOKEN" | |
| resval <- httr::GET(url, httr::add_headers(Authorization = paste("Bearer", the_token, sep = " "))) |