Title: Library missing query params/filters for listPayments endpoint · Issue #45 · hyperwallet/python-sdk · GitHub
Open Graph Title: Library missing query params/filters for listPayments endpoint · Issue #45 · hyperwallet/python-sdk
X Title: Library missing query params/filters for listPayments endpoint · Issue #45 · hyperwallet/python-sdk
Description: Up until v1.5.1, used to use query params as per the REST api docs for listPayments(params) https://docs.hyperwallet.com/content/api/v3/resources/payments/list params = { 'createdAfter': start_str, 'createdBefore': end_str, 'limit': 100,...
Open Graph Description: Up until v1.5.1, used to use query params as per the REST api docs for listPayments(params) https://docs.hyperwallet.com/content/api/v3/resources/payments/list params = { 'createdAfter': start_str,...
X Description: Up until v1.5.1, used to use query params as per the REST api docs for listPayments(params) https://docs.hyperwallet.com/content/api/v3/resources/payments/list params = { 'createdAfter': st...
Opengraph URL: https://github.com/hyperwallet/python-sdk/issues/45
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Library missing query params/filters for listPayments endpoint","articleBody":"Up until v1.5.1, used to use query params as per the REST api docs for `listPayments(params)`\r\nhttps://docs.hyperwallet.com/content/api/v3/resources/payments/list\r\n`\r\nparams = {\r\n 'createdAfter': start_str,\r\n 'createdBefore': end_str,\r\n 'limit': 100, \r\n 'sortyBy': 'createdOn', \r\n}\r\n`\r\n\r\nThough in v1.6.1., the sdk raises `HyperwalletException('Invalid filter')`. \r\n\r\nLooking at `api.py` ln 2127:\r\n``` \r\n if params and not set(list(params)).issubset(Payment.filters_array):\r\n raise HyperwalletException('Invalid filter')\r\n```\r\nand `Payments` class `filters_array = {'clientPaymentId', 'releaseOn'}` in `models.py` ln 523.\r\n\r\nAre the other query params/filters removed permanently for listPayments or is there another way to filter using `createdAfter` \u0026 `createdBefore`?\r\n","author":{"url":"https://github.com/ashenoy95","@type":"Person","name":"ashenoy95"},"datePublished":"2021-02-25T22:11:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/45/python-sdk/issues/45"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:717f53a4-e1dd-7b40-84b1-b12ba58d0c44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCE0:14B12A:18D8D66:2056091:6976C7AE |
| html-safe-nonce | f974508a5685594c60d3861604b0dde16ebd164a0eb5dfcf3d97317ce16c2b4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0UwOjE0QjEyQToxOEQ4RDY2OjIwNTYwOTE6Njk3NkM3QUUiLCJ2aXNpdG9yX2lkIjoiNTA1ODE2MjE0NzA4NzI3MTg1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 75a4fc8fa55b60502e2379046eb382fbc187c6bc363989e2291d6cc3f9371628 |
| hovercard-subject-tag | issue:816850278 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperwallet/python-sdk/45/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8216b42b871a7d773bcc4258887c478e1d075c2c934d7454dcdb2ac5a91c5789/hyperwallet/python-sdk/issues/45 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8216b42b871a7d773bcc4258887c478e1d075c2c934d7454dcdb2ac5a91c5789/hyperwallet/python-sdk/issues/45 |
| og:image:alt | Up until v1.5.1, used to use query params as per the REST api docs for listPayments(params) https://docs.hyperwallet.com/content/api/v3/resources/payments/list params = { 'createdAfter': start_str,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ashenoy95 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperwallet/python-sdk git https://github.com/hyperwallet/python-sdk.git |
| octolytics-dimension-user_id | 14006685 |
| octolytics-dimension-user_login | hyperwallet |
| octolytics-dimension-repository_id | 65580134 |
| octolytics-dimension-repository_nwo | hyperwallet/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65580134 |
| octolytics-dimension-repository_network_root_nwo | hyperwallet/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width