POST:gateways.json
Commerce APIPOST:gateways.json

POST:gateways.json

Description

Modify one or multiple gateways.

Permission bit: "gateways.modify"

Topic: Gateways

Query Parameters

ids: Comma-separated array of String, required

List of gateway ids. See also: Unique Identifiers

Example: ?ids=gw_EQzGqWoY,gw_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of GatewayModify

[
  {
    "currencies": [
      {
        "code": "",
        "max": 5,
        "min": 5
      }
    ],
    "enabled": true,
    "manual": {
      "description": "TODO",
      "details": "TODO",
      "name": "Bank Deposit",
      "only_zero_orders": false
    },
    "paypal": {
      "auto_capture": false,
      "cards": {
        "amex": true,
        "discover": true,
        "elo": true,
        "hiper": true,
        "jcb": true,
        "mastercard": true,
        "visa": true
      },
      "funding": {
        "card": true,
        "credit": true,
        "sepa": true
      },
      "merchant_id": "",
      "send_authorized_order_notifications": false
    },
    "stripe": {
      "auto_capture": false,
      "card_tokenization": false,
      "cards": {
        "amex": true,
        "diners": true,
        "discover": true,
        "jcb": true,
        "mastercard": true,
        "unionpay": true,
        "visa": true
      },
      "code": "",
      "moto": false,
      "payment_methods": {
        "alipay": true,
        "bancontact": true,
        "eps": true,
        "ideal": true,
        "multibanco": true,
        "p24": true,
        "wechat": true
      },
      "send_authorized_order_notifications": false
    },
    "test": {
      "auto_capture": false,
      "name": "Test Gateway",
      "send_authorized_order_notifications": false
    },
    "test_mode": false,
    "visibility": "hide"
  }
]

Response Body

Array of Gateway

Response Body Type

Loading module