When providing data to a GET request (most likely to filter a list request) this data can not be sent as the request body, but instead has to be appended to the path as a query string.
var paymill = require("paymill-node")("privateKey")
paymill.transactions.list({client: "clientId"}, function (err, result) {
// …
});
Currently, when issueing such a request, all transactions are returned due to the client parameter being ignored. When providing the client parameter via the query string I retrieve only the transactions belonging to that client.
When providing data to a GET request (most likely to filter a list request) this data can not be sent as the request body, but instead has to be appended to the path as a query string.
Currently, when issueing such a request, all transactions are returned due to the client parameter being ignored. When providing the client parameter via the query string I retrieve only the transactions belonging to that client.