Eventjet GraphQL API documentation

posPaymentStatusForSale

Reads the current state of the POS payment attached to a sale.

Poll this field until the payment reaches a terminal state: PosPaymentStatus.SUCCEEDED, PosPaymentStatus.FAILED, PosPaymentStatus.CANCELED, or PosPaymentStatus.TERMINAL_TIMEOUT.

Resolves to null if the sale has no associated POS payment yet.

Arguments

Deprecated fields are hidden.
ArgumentDescriptionType
saleId
ID!

Type

This field resolves to PosPaymentStatusForSalePayload, which has the following fields:

Deprecated fields are hidden.
FieldDescriptionType
paymentThe POS payment attached to the sale.PosPayment!
saleThe `Sale` the payment is attached to.Sale