Python Dwollav2 funding source from account


(Michael Arulgnanendran) #1

Can you show an example of code for Python dwollav2 - getting the funding source URL from the account URL? The guide skips that step. The sample shows how to get the name and skips the step, moving directly to using the funding source URL for the transfer. And the API documentation shows for only Dwollaswagger.

account_url = ‘https://api.dwolla.com/accounts/4bb512e4-ad4d-4f7e-bfd0-a232007f21a1

Using dwollav2 - https://github.com/Dwolla/dwolla-v2-python (Recommended)

funding_sources = account_token.get(’%s/funding-sources’ % account_url)
funding_sources.body[’_embedded’][‘funding-sources’][0][‘name’] # => ‘ABC Bank Checking’

How can we get the funding source URL?


(Michael Arulgnanendran) #2

resolved. thank you