Customers > Customers > customersPaymentSourcesCreate
POST:customers/payment_sources.json
Description
Create customer payment sources (only 1st tier gateways).
Permission bit: "customer_payment_sources.create"
Topic: Customers
Arguments
Unique customer identifier. See also: Unique Identifiers
Example: "cu_EQzGqWoY"
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