Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Access protected scopes in development store

windmillcode
Shopify Partner
3 0 0

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
Shopify Staff
2677 288 734

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
3 0 0

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

Liam
Shopify Staff
2677 288 734

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
3 0 0

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