Making API calls on behalf of bunq Users
#Function assuming you have your full installation set up
def get_monetary_accounts():
session_token = "fc857727d7c2bff375a0e8cde6e657cec2a5b45d1de489ac3ca20eb033016ad2"
end_user_id = "2580769"
user_api_key_id = "2608880"
response = requests.get(
f"https://public-api.sandbox.bunq.com/v1/user/{user_api_key_id}/monetary-account",
headers={
"User-Agent": "text",
"X-Bunq-Client-Authentication": session_token,
"Content-Type": "application/json"},
)
return response.json()Last updated
Was this helpful?