Skip to content
New issue

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

Changed Banxa to use API #54

Merged
merged 2 commits into from
Aug 19, 2020
Merged

Changed Banxa to use API #54

merged 2 commits into from
Aug 19, 2020

Conversation

iain-bitcoin
Copy link
Contributor

Update to Banxa to use their API instead of CSV files. The banxaToken should be set to the production private key that you should have received from us on account creation. If you do not have this then speak to Jan to get this again.

I needed to add one additional module for sleep as if you are regenerating a lot of the data, then there is a chance you could hit the throttle limit so this will allow it to sleep for a period before trying again. If this does fail then it will store the date and the data it got up to and start from that point on the next run

Finally I actually push the date back by a week when it starts since some of our payments can be delayed by a few days due to over weekend processing of bank transfers hence a pending order could still go to complete after 4 days.

I will send the new banRaw.json file back to you over slack

@paullinator paullinator merged commit 06b587f into EdgeApp:master Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants