# Get Bank account number details

**URL:** <https://discuss.dwolla.com/t/get-bank-account-number-details/8605>\
**Category:** API Support\
**Created:** [December 9, 2022, 6:33am UTC](https://discuss.dwolla.com/t/get-bank-account-number-details/8605 "2022-12-09T06:33:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurav](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@Saurav](https://discuss.dwolla.com/u/Saurav)\
**Post date:** [December 9, 2022, 6:33am UTC](https://discuss.dwolla.com/t/get-bank-account-number-details/8605/1 "2022-12-09T06:33:43Z")

</div>

Hey @spencer , I am trying to fetch bank account number in my sandbox application by following this documentation. [https://developers.dwolla.com/api-reference/funding-sources/retrieve-a-van-account-and-routing-number](https://developers.dwolla.com/api-reference/funding-sources/retrieve-a-van-account-and-routing-number) . But i am getting this error “The supplied credentials are not authorized for this resource.” Can you please help.  
P.S. : There is a need in my application to show last 4 digitis of customer’s bank account number and that is how I ended up on this page. Please provide a proper guidence and correct me if i am wrong or misinterpreting something.  
Thank you.

---

<div class="post-metadata">

**Author:** ![spencer](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/spencer/32/2143_2.png) [@spencer](https://discuss.dwolla.com/u/spencer)\
**Post date:** [December 9, 2022, 2:35pm UTC](https://discuss.dwolla.com/t/get-bank-account-number-details/8605/2 "2022-12-09T14:35:12Z")

</div>

Hi @Saurav , The endpoint you are referencing is for viewing the routing details for a Virtual Account Number (VAN). Are you looking to utilize our VANs feature? If so, this requires a set of approvals to go through in order to enable.

It sounds like you’re looking to just retrieve the account details for a normal bank account. Would your app be able to capture the last 4 prior to passing that information to Dwolla and append it to the `name` field when creating a funding source for a user? We’ve seen other clients of ours do something similar to what I’ve described and it has worked well for them.

---

<div class="post-metadata">

**Author:** ![Saurav](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@Saurav](https://discuss.dwolla.com/u/Saurav)\
**Post date:** [December 27, 2022, 9:17am UTC](https://discuss.dwolla.com/t/get-bank-account-number-details/8605/3 "2022-12-27T09:17:41Z")

</div>

Hey @spencer , Thanks for the last advice , it worked, but now I want to fetch the account number and routing number of a bank funding source which is added using plaid integration in our application. So can you tell me how can I do that?

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [December 27, 2022, 8:04pm UTC](https://discuss.dwolla.com/t/get-bank-account-number-details/8605/4 "2022-12-27T20:04:50Z")

</div>

Hi @Saurav – this is possible to accomplish using Plaid’s API. You can call their `/auth/get` endpoint to retrieve the [Account and Routing numbers](https://plaid.com/docs/api/products/auth/#auth-get-response-numbers-ach-account) of the bank account. Once retrieved, you can save the last 4 of the account number in your Database and display it in your app.

Hope that helps! Let us know if you have any questions!

---

<div class="post-metadata">

**Author:** ![Saurav](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@Saurav](https://discuss.dwolla.com/u/Saurav)\
**Post date:** [December 28, 2022, 4:43am UTC](https://discuss.dwolla.com/t/get-bank-account-number-details/8605/5 "2022-12-28T04:43:55Z")

</div>

It works @shreya. Thank you for your help
