# Where is location\_id in test reseller account dashboard?

**URL:** <https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [November 17, 2023, 6:06pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312 "2023-11-17T18:06:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![LongJohn](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@LongJohn](https://developer.squareup.com/forums/u/LongJohn)\
**Post date:** [November 17, 2023, 6:06pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/1 "2023-11-17T18:06:11Z")

</div>

We are trying to test with a test reseller account and have created an additional location for that under Account & Settings / Business Information / Locations. We cannot find the location\_id (format XXXXXXXXXXXXX) in the dashboard to use in the API calls where it is required. We can only find the location\_id under the application object in the main developer account dashboard.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 17, 2023, 6:57pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/2 "2023-11-17T18:57:43Z")

</div>

The test reseller `location_id` isn’t exposed in the Developer Dashboard. You’ll need to use the access token that was generated for the account to call [ListLocations](https://developer.squareup.com/reference/square/locations-api) to get the `location_id`. 🙂

---

<div class="post-metadata">

**Author:** ![LongJohn](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@LongJohn](https://developer.squareup.com/forums/u/LongJohn)\
**Post date:** [November 17, 2023, 9:14pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/3 "2023-11-17T21:14:16Z")

</div>

Yes, thank you; I had recently found the ListLocations API. So, can you confirm that in a real-life reseller customer account, that when they go to the Locations section in their Dashboard they will be able to add locations and also see the 13 digit location\_id identifier without us (or them) needing to do an API call?

This brings up another topic: test coverage using the sandbox versus a production account. We really seek a real-life test environment to get a good confidence in our implementation. For example, it would be desirable to have a real payment link page where the tester can enter a bogus PAN like repeating “4242” to make the payment versus seeing a page saying that you are in the sandbox mode and then click here to simulate a payment going through. Also, we need to do a real-life test of the OAuth flow with the code, access token and refresh token. Do most developers set up “real” accounts to do this type of testing and then use prepaid cards to issue the test payments and then the discount rate charge is part of the cost of development?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 17, 2023, 10:10pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/4 "2023-11-17T22:10:04Z")

</div>

Unfortunately, the ability to test production links with sandbox values isn’t available. You can definitely create another account to test OAuth. Please note that any payment that’s processed in production you will need to use a active card. 🙂

---

<div class="post-metadata">

**Author:** ![LongJohn](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@LongJohn](https://developer.squareup.com/forums/u/LongJohn)\
**Post date:** [November 17, 2023, 10:42pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/5 "2023-11-17T22:42:03Z")

</div>

So, can you confirm that in a real-life reseller customer account, that when they go to the Locations section in their Dashboard they will be able to add locations and also see the 13 digit location\_id identifier without us (or them) needing to do an API call?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 17, 2023, 10:54pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/6 "2023-11-17T22:54:03Z")

</div>

If your using OAuth why would you ask the seller to get their `location_id`? Ideally with OAuth you would never have to ask them to get either `location_id` or `merchant_id`. 🙂

---

<div class="post-metadata">

**Author:** ![LongJohn](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@LongJohn](https://developer.squareup.com/forums/u/LongJohn)\
**Post date:** [November 17, 2023, 11:49pm UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/7 "2023-11-17T23:49:14Z")

</div>

Is that a “yes” or a “no”?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 18, 2023, 12:25am UTC](https://developer.squareup.com/forums/t/where-is-location-id-in-test-reseller-account-dashboard/11312/8 "2023-11-18T00:25:03Z")

</div>

The seller will only see the `location_id` in the URL. Its not shown anywhere in the Seller Dashboard. 🙂
