Bastiaan Right on!
I setup a new environment in Postman and used the access_token
as an API-key. Setting up a new API context was easy and the session request returned an object
with UserApiKey
and granted_by_user
-> UserPerson
.
When I try to request money:
{{host}}/v1/user/{{user_id}}/monetary-account/{{monetary_account_id}}/request-inquiry
The response says:
{ "Error": [ {"error_description": "Route not found.", "error_description_translated": "Route not found."} ]}
But since I saw this example of a successful request URL using OAuth:
https://api.bunq.com/user/{userApiKey's userId}/monetary-account/{grantedByUser's monetary-accountId}/payment
I stored UserApiKey
-> id
in the environment as the user_id
. A monetary_account_id
isn't listed under granted_by_user
. So I figured I'd use {{host}}/v1/user/{{user_id}}/monetary-account
to retrieve a monetary_account_id
. That however results in:
{ "Error": [ {"error_description": "Insufficient authentication.", "error_description_translated": "Insufficient authentication."} ]}
Am I overlooking something again?