bunq / postman Goto Github PK
View Code? Open in Web Editor NEWPostman collection and environments
Postman collection and environments
After creating a company sandbox user and following the README (create installation, add the device and add a session), the other API requests fails.. for example listing monetary accounts.
I understand why (company users uses different nodes on the User model and stuff like that).
Would be nice if you guys update the Postman collection to work for Company users as well.
Because session_token is needed for GET - List monetary accounts
that doesn't work. For now, manually editing the environment works.
I created an API key in the bunq app and copied the value from "Reveal API key" to the bunq Production environment in the api_key field.
I can run the "Create Installation" request and get a response with an ID, Token and ServerPublicKey. Then when I run the "Add the device" request I get an error response with error_description "The request signature is invalid."
Of course I don't want to share my API key here. But that's the only thing that I have to fill in, right? So what do I do now?
Hi, I've got a problem after starting a session: Response has Id, Token and UserPerson. We are setting user_id and session_token in environment variables. | AssertionError: Target cannot be null or undefined.
Tinker requests money by default so the user is already initialised with some funds.
Let's add a money request to postman collection so that users created this way are also ready for action. Also, that'll serve as a good example of a POST API call.
I can run the "get events" request and then I get a number of events. The last entry in the response is the Pagination. It looks like this (I edited the real values):
"Pagination": {
"future_url": "/v1/user/12345/event?newer_id=6789012345",
"newer_url": null,
"older_url": "/v1/user/12345/event?older_id=4567890123"
}
When I modify the get request url to
{{host}}/v1/user/{{user_id}}/event?newer_id=6789012345
the request wwill return an error:
{
"Error": [
{
"error_description": "The request signature is invalid.",
"error_description_translated": "The request signature is invalid."
}
]
}
Anything added to the url gives the same error. So if I change the original request to
{{host}}/v1/user/{{user_id}}/event?count=200
the same error occurs.
So how am I supposed to get more events?
I'm trying to use the API and did setup Postman to find out why my code isn't working. Unfortunately in Postman I get the same error.
When I do a request to this endpoint {{host}}/v1/user/{{user_id}}/monetary-account/{{monetary_account_id}}/payment/{{payment_id}}/note-attachment
with a recent payment (in the Bunq app the payment has an attachment) I get an error:
The provided object does note support notes.
When I get the payment there is no issue. But somehow the attachments are not working correctly. Is there anything I can do to get the attachments from the API?
It only seems to work for payments that happen between my own Bunq monetary accounts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.