Skip to main content

Payment

A payment taken against an order.

type Payment {
id: ID!
type: String
scheme: String
amount: Int
changeDue: Int
paidAt: DateTime
}

Fields​

Payment.id ● ID! non-null scalar​

Payment.type ● String scalar​

How it was paid, as named on the till: CASH, CARD, or the name of the card provider.

Payment.scheme ● String scalar​

The card scheme, such as VISA, where the till recorded one.

Payment.amount ● Int scalar​

What was handed over or charged. For cash this can be more than was owed: see changeDue. Negative when money went back to the customer.

Payment.changeDue ● Int scalar​

Change given back out of amount.

Member Of​

Order object