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

ArgumentDescriptionType
saleIdID!

Type

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

FieldDescriptionType
paymentThe POS payment attached to the sale.PosPayment!
saleThe `Sale` the payment is attached to.Sale