Customers > Customers > customersPaymentSourcesModify
POST:customers/payment_sources.json
Description
Modify customer payment sources (only 1st tier gateways).
Permission bit: "customer_payment_sources.modify"
Topic: Customers
Arguments
Unique customer identifier. See also: Unique Identifiers
Example: "cu_EQzGqWoY"
data: [CustomerPaymentSourceModify!]!
Main argument for mutations.
List of customer payment source ids. See also: Unique Identifiers
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Billing city
Billing address country code
Billing address line 1
Billing address line 2
Billing address state code
Billing zip or postal code
Credit card expiration month
Example: 2
Credit card expiration year
Example: 2019
Name of the card holder
Result
Preview (typescript)
Loading module