POST:organizations/payment_methods.json
Commerce APIPOST:organizations/payment_methods.json

POST:organizations/payment_methods.json

organizationsPaymentMethodsModify

Description

Modify one or multiple payment methods.

Topic: Payment Methods

Query Parameters

ids: Comma-separated array of String, required

List of payment method ids. See also: Unique Identifiers

Example: ?ids=pm_EQzGqWoY,pm_EQzGqWoY


organization_id: String, required

Unique organization identifier. See also: Unique Identifiers

Example: ?organization_id=og_EQzGqWoY

Request Body

Array of PaymentMethodModify

[
  {
    "address_city": "",
    "address_country": "",
    "address_line1": "",
    "address_line2": "",
    "address_state": "",
    "address_zip": "",
    "exp_month": 2,
    "exp_year": 2019,
    "name": ""
  }
]

Response Body

Array of PaymentMethod

Response Body Type

Loading module