Docs
Dashboard

PaymentGateway

Interface

Shared fields implemented by payment gateway types.

#

Fields


canCapture
Boolean!

Defines if the payment gateway supports capturing payments.

canRefund
Boolean!

Defines if the payment gateway supports refunding payments.

channelIdsDeprecated
[ID!]!

The channel IDs associated with the payment gateway.

Deprecated: Channels are no longer used. This field will be removed in version 5.0.
id
ID!

The unique identifier of the payment gateway.

name
String!

Gets the name of the payment gateway.

predicate
String

The predicate that defines when the payment gateway is available for a cart.

Thor predicates are boolean expressions. Cart discounts and shipping rules evaluate against cart context; product discounts evaluate against price and product context. Cart predicate language and product predicate language.
#

Implementations


ManualPaymentGateway
ManualPaymentGateway

Fields returned for manual payment gateway.

StripeConnectPaymentGateway
StripeConnectPaymentGateway

Fields returned for stripe connect payment gateway.

StripePaymentGateway
StripePaymentGateway

Fusion lookup resolver for retrieving a cart discount by its ID.