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 = ‘

Using dwollav2 - (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