Customers > Customers > storefrontPaymentSourcesCreate
POST:storefront/payment_sources.json
Description
Create customer payment sources (only 1st tier gateways).
Topic: Customers
Arguments
data: [CustomerPaymentSourceCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Stripe.js credit card payment method id
Example: "pm_123456789"
Result
Preview (typescript)
Loading module