We are building a subscription app. Client is asking if we can convert existing subscriptions over to the Shopify platform. I see an API to do to manually create a subscription:
https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/subscriptionContractCreate
It requires a payment method id for auto charge to be performed. The existing platform is from a payment gateway Shopify does not support. Would need to detokenize from the old platform. How to tokenize with Shopify though?
I see a way to manually create a payment method:
https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/customerPaymentMethodCreditCardCreate
This page mentions something about a CardSink product I can’t find any documentation for:
“The Cardserver session ID. Obtained by storing card data with Shopify’s Cardsink. Exchanging raw card data for a session ID must be done in a PCI complaint environment.”
We don’t need the capability going forward to interact with the payments API directly. Just the subscriptions API. All future secure payment interaction will be from the Shopify platform. Is there some way to do a one time tokenization of card data without building a payments application? Is there an existing Payments app out there that could help us out here if not?