Hi,
I’m currently developing a Payments App that implements an Onsite Credit Card Payments Extension, following Shopify’s official documentation:
https://shopify.dev/docs/apps/build/payments/credit-card/use-the-cli?framework=remix
During deployment (shopify app deploy), I receive validation errors indicating that I need access to restricted Payments scopes — specifically write_payment_sessions and write_payment_gateways.
““Version couldn’t be created.
app-access
Validation errors
• scopes: write_payment_gateways, read_payment_gateways,write_payment_gateways,write_payment_sessions”
Our app requires these scopes to properly create, capture, void, and refund payment sessions according to the Shopify Payments Apps protocol and the use of Payments Apps API.
We already have another app that uses the Redirect Payments Extension and has access to these same scopes, so I’m unsure why this new app can’t use them.
Since we are already a Shopify Payments Partner, my understanding is that our account should have access to these scopes as well.
How could validate or enable these scopes so we can proceed with the deployment and testing of the App with Onsite extension?
Thank you!
Hey @juliantorres.bold 
That error isn’t a CLI/config bug—those payments scopes are restricted and must be allow-listed per app.
Why it happens
-
Your org may be a Payments Partner and your redirect payments app is allow-listed, but the new Onsite CC app needs its own approval.
-
write_payment_sessions and read/write_payment_gateways are granted only to apps created as Payments apps and then explicitly enabled by the Shopify Payments Apps team (Onsite CC has extra compliance gates vs Redirect).
What to do
-
Confirm app type: In Partner Dashboard, the app must be created as Payments app (not Public/Custom). If not, create a new Payments app and move your code/extension there.
-
Declare scopes in config:
# shopify.app.toml
access_scopes = "read_payment_gateways,write_payment_gateways,write_payment_sessions"
-
Request enablement for THIS app id:
-
Contact your Payments Partner Manager or open Partner Support → “Payments apps → Scope allowlisting”.
-
Include: org id, app id, extension type (Onsite credit card), regions, processor, and confirmation of PCI compliance (Onsite requires higher PCI).
-
They’ll flip on the scopes; then shopify app deploy will pass validation.
Notes
-
Onsite CC access is separate from Redirect. Many partners have Redirect access but not Onsite until the additional checks/contracts are completed.
-
After scopes are enabled, use a dev store and the payments test processor they provision for your app to run create/capture/void/refund flows.
If you want, I can share a minimal payments-app skeleton with the scopes set and a quick checklist for the allowlisting request.
You can check out our Shopify Partner profile — we’ve built and shared several free Shopify app solutions to help store owners. Feel free to explore our profile and see how our apps can make your Shopify experience better!