Does listPayments work with token generated from Oauth?

Hi there when I try to show payments with listPayment using the token I get back from Oauth I get the following:

The `Authorization` http header of your request was incorrect or expired. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is a valid access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see .

I’m requesting these scopes:

Given it says “PAYMENTS_READ” I assume it’s possible to do this but I’m unable able to pull payments using the api except from my own developer account.

Any direction on this error?

:wave: That error happens when the header of the request is malformed. Have you tried to list payment with a simple CURL request to validate that the token is working?

curl \
  -H 'Square-Version: 2022-02-16' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'