Payments > Gateways > gatewaysCreate
Commerce APIPaymentsGatewaysgatewaysCreate
gatewaysCreate
POST:gateways.json

Description

Create one or multiple gateways.

Permission bit: "gateways.create"

Topic: Gateways

Arguments

data: [GatewayCreate!]!

Main argument for mutations.


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


type: GatewayType!

Gateway type


visibility: GatewayVisibility

Gateway visibility mode


Result

[Gateway!]

Preview (typescript)

Loading module