You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be more conflicts, but these are the ones I found.
If we are using pre (Transfer/Payout) API version, we get KeyError because payout_schedule is not there (it's called transfer_schedule instead)
Otherwise, if we are using the newest API version, we get the key error on le["personal_id_number_provided"] because this is now not returned by the API in response.
Steps to Reproduce
Try to create a custom account using out-of-box library.
What were you expecting to happen?
To create an account
What actually happened?
Key errors as explained above. Let me know if you wish me to submit a PR
The text was updated successfully, but these errors were encountered:
georgy95
changed the title
Conflict of APIs
KeyErrors while creating an account: Conflicting fields in the API response body and actions/accounts.py
Jun 23, 2018
Issue Summary
In
actions/accounts.py
it's impossible tocreate
the account from stripe data.In particular, the following pieces are conflicting:
It could be more conflicts, but these are the ones I found.
If we are using pre (Transfer/Payout) API version, we get
KeyError
becausepayout_schedule
is not there (it's calledtransfer_schedule
instead)Otherwise, if we are using the newest API version, we get the key error on
le["personal_id_number_provided"]
because this is now not returned by the API in response.Steps to Reproduce
Try to create a custom account using out-of-box library.
What were you expecting to happen?
To create an account
What actually happened?
Key errors as explained above. Let me know if you wish me to submit a PR
The text was updated successfully, but these errors were encountered: