Skip to content

Sale

One payment someone made.

amount: number

Minor units, in currency (what the customer paid).


at: string

ISO 8601.


currency: string


optional customer?: string

The customer’s name as the service has it. Only a first name is shown, never an address.


id: string


optional kind?: SaleKind


optional refunded?: "full" | "partial"


optional url?: string


optional what?: string

What was bought: “Pro license”, “Acme Pro”.