Skip to main content

PaymentGatewayInitializeSession Object

Event sent when user wants to initialize the payment gateway.

type PaymentGatewayInitializeSession implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
sourceObject: OrderOrCheckout!
data: JSON
amount: PositiveDecimal
}

Fields

issuedAt ● DateTime

Time of the event.

version ● String

Saleor version that triggered the event.

issuingPrincipal ● IssuingPrincipal

The user or application that triggered the event.

recipient ● App

The application receiving the webhook.

sourceObject ● OrderOrCheckout!

Checkout or order

data ● JSON

Payment gateway data in JSON format, received from storefront.

amount ● PositiveDecimal

Amount requested for initializing the payment gateway.

Interfaces

Event