How to fetch Credit Card Details from Shopify card vault

Solved
vjdevncn
New Member
1 0 0

Hi App Developer Community,

 

I am using Shopify StoreFront APIs in my app, in which I am using Shopify card vault payment method, I followed this link: https://shopify.dev/tutorials/create-a-checkout-with-storefront-api

And successfully able to make payment by completing checkout using Shopify card vault payment method.

 

So, my question is that, is there any API or any way to fetch the stored credit card details in Shopify card vault for the next time when user again process a new order.

 

Thanks

 

get achieve a point or goal More (Definitions, Synonyms, Translation)

0 Likes
Colin_smith740
New Member
2 1 1

This is an accepted solution.

Maybe the best thing would be to store that info on the device side. I know that sounds risky but you could encrypt it with Apple's Keychain or some way of storing data securely. That way you can let the user choose from their multiple payment methods they may have added. Not from some remote storage.

disputify
Excursionist
12 1 3

no, once it's in the card vault, it can't be retrieved, it's only a POST endpoint: https://shopify.dev/docs/admin-api/rest/reference/sales-channels/payment?api%5Bversion%5D=2020-10#cr...

Disputify fraud and fraudulent refund detection, free plan available: https://apps.shopify.com/disputify