We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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, 'sortyBy': 'createdOn', }
listPayments(params)
params = { 'createdAfter': start_str, 'createdBefore': end_str, 'limit': 100, 'sortyBy': 'createdOn', }
Though in v1.6.1., the sdk raises HyperwalletException('Invalid filter').
HyperwalletException('Invalid filter')
Looking at api.py ln 2127:
api.py
if params and not set(list(params)).issubset(Payment.filters_array): raise HyperwalletException('Invalid filter')
and Payments class filters_array = {'clientPaymentId', 'releaseOn'} in models.py ln 523.
Payments
filters_array = {'clientPaymentId', 'releaseOn'}
models.py
Are the other query params/filters removed permanently for listPayments or is there another way to filter using createdAfter & createdBefore?
createdAfter
createdBefore
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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, 'sortyBy': 'createdOn', }
Though in v1.6.1., the sdk raises
HyperwalletException('Invalid filter')
.Looking at
api.py
ln 2127:and
Payments
classfilters_array = {'clientPaymentId', 'releaseOn'}
inmodels.py
ln 523.Are the other query params/filters removed permanently for listPayments or is there another way to filter using
createdAfter
&createdBefore
?The text was updated successfully, but these errors were encountered: