Customers > Customers > storefrontPaymentSourcesCreate
Storefront APICustomersCustomersstorefrontPaymentSourcesCreate

storefrontPaymentSourcesCreate

POST:storefront/payment_sources.json

Description

Create customer payment sources (only 1st tier gateways).

Topic: Customers

Arguments

data: [CustomerPaymentSourceCreate!]!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"

Data Argument Fields

payment_method: String!

Stripe.js credit card payment method id

Example: "pm_123456789"

Result

[CustomerPaymentSource!]

Preview

Loading module