About customerPaymentMethodCreditCardCreate Admin API via Card Vault

Solved
camelmasa
Explorer
77 9 26

Hi,

Is it okay to run the customerPaymentMethodCreditCardCreate Admin API via Card Vault?
Ref: https://shopify.dev/api/admin-rest/2021-10/resources/payment# [post] https://elb.deposit.shopifycs.com/sessions
Ref: https://shopify.dev/api/admin-graphql/2021-10/mutations/customerPaymentMethodCreditCardCreate

I'm worried because there isn't much information about this.

If there is no problem, it is a recognition that it is possible to migrate from other payment services.
How is it?
Of course, it conforms to PCI DSS.

Thanks,

Accepted Solution (1)

Accepted Solutions
L_J_K
Shopify Staff
363 54 65

This is an accepted solution.

Hey @camelmasa 

Yes, it would be fine to run customerPaymentMethodCreditCardCreate. You'd call customerPaymentMethodCreditCardCreate after you'd stored the card in the vault with the Post to https://elb.deposit.shopifycs.com/sessions

Vaulting the card with that Post returns you a Session ID,  you'd then Session ID use as an input for the customerPaymentMethodCreditCardCreate mutation.

There is a guide to Migrating Existing Subscription contracts here. Let me know if that helps at all or if you need more information - thanks!

 

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

Replies 2 (2)
L_J_K
Shopify Staff
363 54 65

This is an accepted solution.

Hey @camelmasa 

Yes, it would be fine to run customerPaymentMethodCreditCardCreate. You'd call customerPaymentMethodCreditCardCreate after you'd stored the card in the vault with the Post to https://elb.deposit.shopifycs.com/sessions

Vaulting the card with that Post returns you a Session ID,  you'd then Session ID use as an input for the customerPaymentMethodCreditCardCreate mutation.

There is a guide to Migrating Existing Subscription contracts here. Let me know if that helps at all or if you need more information - thanks!

 

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

camelmasa
Explorer
77 9 26

Thank you! @L_J_K  We understood that perfectly.

 

BTW, What are the differences between Credit Card on Shopify Payment and Migrated Credit Card on Stripe? (Ref: https://shopify.dev/apps/subscriptions/migrate/contracts#configure-your-payment-gateway-to-work-with...) ?
For instance, Shopify's fraud protection architecture, rate of authorization failures, etc.