x

Issues getting a list of Payments

When I make a GET call to 

https://connect.squareup.com/v1/locations/{location_id}/payments

I get the following error message:

{
    "type": "unauthorized",
    "message": "Provided merchant_id and merchant_id in authorization do not match up"
}

My issue is the same as this thread. I've checked that I am passing the correct access token in the Authorization header and the location_id does belong to this merchant.

Other notes:
When I make a GET call to

https://connect.squareup.com/v2/locations/{location_id}/transactions

using the same Authorization header, it works.

543 Views
Message 1 of 2
Report
1 REPLY 1
Admin

@AntaresColl This error is usually caused by incorrect information being passed, but if you've double checked that you're using the correct location id go ahead and contact our API Support team directly so they can take a closer look. 

️ Helen
Seller Community Manager

Did you find help in the Seller Community? Mark a Best Answer to help others.
499 Views
Message 2 of 2
Report