Which APIs are used with "Shopify card vault"?

bovojon
Shopify Partner
24 0 1

Which set of APIs are used with the shopify-card-vault?

 

It explains the steps in this link below but does not explain which APIs to call:

 

https://shopify.dev/docs/apps/channels/checkout-api/complete-payment#shopify-card-vault

 

Please, can someone advise 

Replies 5 (5)

Liam
Shopify Staff
2731 302 783

The Checkout API of Shopify's REST Admin API is used in conjunction with the Shopify card vault. The Checkout API is used to create a checkout object, pass the payment session ID to Shopify, and complete the payment process.

 

The specific API calls used in the process described in your link are not explicitly stated, however, based on the process described, it's likely you'll need to use endpoints to create a checkout, update a checkout with a payment session ID, and complete a checkout.

 

Hope this helps,

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

bovojon
Shopify Partner
24 0 1

Thank you very much, @Liam 🙏🏻

 

For step #4 (passing credit card info to Shopify's card server attached in screenshot), which APIs could I use to safely pass credit card info to Shopify?Screenshot 2023-08-29 at 4.15.20 pm.png

 

https://shopify.dev/docs/apps/channels/checkout-api/complete-payment#shopify-card-vault

afrazkhan
Tourist
6 0 0

Hey! @bovojon any luck? I am also stuck, unable to get my head straight with the card vault and the whole session creation process. Have you cracked it? if so please share the flow and APIs/ndpoints involved. thanks

bovojon
Shopify Partner
24 0 1

Hi @afrazkhan, unfortunately I've looked high and low to no avail. I asked in multiple Support channels but still cannot find an answer. I wish there was a Shopify alternative that lots of businesses used, to be honest

phdev_amiguel
Shopify Partner
4 0 0

HI  @bovojon ,

 

We need to implement something like this. any update?

 

Thank You,