PaymentGatewayInitializeSession
Event sent when user wants to initialize the payment gateway.
Added in Saleor 3.13This API is currently in Feature Preview and can be subject to changes at later point.
type PaymentGatewayInitializeSession implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
sourceObject: OrderOrCheckout!
data: JSON
amount: PositiveDecimal
}
Fields
PaymentGatewayInitializeSession.issuedAt
● DateTime
scalar miscellaneous
Time of the event.
PaymentGatewayInitializeSession.version
● String
scalar miscellaneous
Saleor version that triggered the event.
PaymentGatewayInitializeSession.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
PaymentGatewayInitializeSession.recipient
● App
object apps
The application receiving the webhook.
PaymentGatewayInitializeSession.sourceObject
● OrderOrCheckout!
non-null union miscellaneous
Checkout or order
PaymentGatewayInitializeSession.data
● JSON
scalar miscellaneous
Payment gateway data in JSON format, received from storefront.
PaymentGatewayInitializeSession.amount
● PositiveDecimal
scalar miscellaneous
Amount requested for initializing the payment gateway.