I am using transaction api https://shopify.dev/api/admin-rest/2022-07/resources/transactions. This api required shopify_payment_payouts scope. I am providing it in .env file but I’m getting this error how can I resolve it?
Hey @hasnainmalik - that is strange, from the screenshot you provided, it does look like you’ve formatted the scope properly in your env file. Can you try requesting the shopify_payments scope on the shop through your app and see if you’re able to make the API call that way? This scope is valid for the transactions API endpoint too. If this works - we would recommend continuing to use the shopify_payments scope, but I will do some more troubleshooting to see why the other scope is returning that OAuth error as well.
Hope to hear from you soon - if neither scope works, I’ll look into this further with my team, just let us know.
Al | Shopify Developer Support
Yes, I resolve it. In private app I defined scope then uninstall the app after I installed it. It working fine.
