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
| Argument | Description | Type |
|---|---|---|
| saleId | ID! |
Type
This field resolves to PosPaymentStatusForSalePayload, which has the following fields:
| Field | Description | Type |
|---|---|---|
payment | The POS payment attached to the sale. | PosPayment! |
sale | The `Sale` the payment is attached to. | Sale |