RetrieveLocation version is 2021-05-13 the docs state it’s an old version how do i change
If you want to change the API version you’re calling you’ll need to change it in the app you created in the Developer Dashboard by doing the following:
Openon the app your using
- Make sure you’re on the environment you want to update. For example Sandbox or Production
- Scroll to the bottom of the page and select the API version you’d like to target.
Interesting the api version in that location says version 2022-05-12 but the log for location retrieve says 2021-05-13.
Are you using our SDKs? If so what version are you using. If so the SDK is setting the
Square-Version in the header of the request which is overriding what’s set in the application.
WebPaymentsSdkUrl = “https://sandbox.web.squarecdn.com/v1/square.js”
That’s the path to the JS library for the Web Payments SDK. In the above screenshot it says your using our Dot NET SDK. That’s what’s setting the Square version.