Access protected scopes in development store

Access protected scopes in development store

windmillcode
Shopify Partner
18 0 1

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
2873 312 818

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 1

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

Liam
Shopify Staff
2873 312 818

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 1

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