POST:customers/payment_sources.json
POST:customers/payment_sources.json
Description
Create customer payment sources (only 1st tier gateways).
Permission bit: "customer_payment_sources.create"
Topic: Customers
Query Parameters
Unique customer identifier. See also: Unique Identifiers
Example: ?customer_id=cu_EQzGqWoY
Unique shop identifier. See also: Unique Identifiers
Example: ?shop_id=sh_EQzGqWoY
Request Body
Array of CustomerPaymentSourceCreate
[ { "payment_method": "pm_123456789" } ]
Response Body
Array of CustomerPaymentSource
Response Body Type
Loading module