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

get customers by email #32

Closed
genarolaunchlabs opened this issue Dec 1, 2017 · 2 comments
Closed

get customers by email #32

genarolaunchlabs opened this issue Dec 1, 2017 · 2 comments

Comments

@genarolaunchlabs
Copy link

genarolaunchlabs commented Dec 1, 2017

is there a way to get a customer by its email?

@newellista
Copy link

        request = {
          :email => email
        }

        response = dwolla_client.get "customers", request

is how I do it.

@ShreyaThapa
Copy link
Contributor

With the addition of the email query string parameter, you can retrieve a Customer by email in the following manner:

# GET api.dwolla.com/customers?email=foo%40bar.com
$dwolla.get "customers", email: "foo@bar.com"

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

No branches or pull requests

3 participants