POST:storefront/payment_sources.json
Storefront APIPOST:storefront/payment_sources.json

POST:storefront/payment_sources.json

Description

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

Topic: Customers

Query Parameters

shop_id: String, required

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