Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: About customerPaymentMethodCreditCardCreate Admin API via Card Vault

Solved

About customerPaymentMethodCreditCardCreate Admin API via Card Vault

camelmasa
Shopify Partner
83 10 27

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)

Luke_K
Shopify Staff
402 66 103

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!

 

| 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 3 (3)

Luke_K
Shopify Staff
402 66 103

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!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
camelmasa
Shopify Partner
83 10 27

Thank you! @Luke_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.

fredyakira
Visitor
1 0 1

Please can  you provide us the endpoint with sample body request? I cannot see in the documentation!