Payments > Gateways > gatewaysModify
Commerce APIPaymentsGatewaysgatewaysModify
gatewaysModify
POST:gateways.json

Description

Modify one or multiple gateways.

Permission bit: "gateways.modify"

Topic: Gateways

Arguments

data: [GatewayModify!]!

Main argument for mutations.


ids: [String!]!

List of gateway ids. See also: Unique Identifiers

Example: ["gw_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

currencies: [GatewayCurrencyCreate!]

A list of currencies enabled for this gateway


enabled: Boolean

Whether this gateway is enabled or not

Example: true


manual: GatewayManualCreate


paypal: GatewayPaypalCreate


stripe: GatewayStripeCreate


test: GatewayTestCreate


test_mode: Boolean

Whether gateway test mode is enabled

Example: false


visibility: GatewayVisibility

Gateway visibility mode


Result

[Gateway!]

Preview (typescript)

Loading module