Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Access protected scopes in development store

Access protected scopes in development store

windmillcode
Shopify Partner
18 0 3

Greetings how can I access , write_customer_payment_methods and read_customer_payment_methods scopes especially in developer mode. I have used this resource https://community.shopify.com/c/subscriptions-apis/how-to-enable-write-customer-payment-methods-scop... but it is long been outdated

Replies 4 (4)

Liam
Community Manager
3108 344 911

Hi Windmillcode,

 

Which APIs specifically are you looking to use? For Subscription related resources like sellingPlanGroupCreate you'd need to be using the  write_products access scope as well as any of write_own_subscription_contracts, write_purchase_options access scopes. 

 

There's more info on getting started creating subscription apps on our dev docs here

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

windmillcode
Shopify Partner
18 0 3

I am looking access the paymentMethod fields on the customer and customers graphql query endpoint  and customerPaymentMethodCreditCardCreate and customerPaymentMethodCreditCardUpdate endpoints

Liam
Community Manager
3108 344 911

Is this to create an app that would provide customized payment processing services for merchants? ie: create a custom payment method?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

windmillcode
Shopify Partner
18 0 3

No if you would go to windmillcode.com, and idk if you have access to our store but were using shopify 3rd party api to power the application, our api is interacting with your graphql api to create the experience you see