Shops > Payment Methods > paymentMethodsCreate
POST:payment_methods.json
Description
Create one or multiple payment methods.
Permission bit: "shop_payment_method.create"
Topic: Payment Methods
Arguments
data: [PaymentMethodCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Stripe payment method token
Example: "tok_123"
Valid when: token is not empty
Result
Preview (typescript)
Loading module