type alias ModifierRef

Compact modifier reference stored in session metadata: the modifier id and the quantity taken. The webhook re-fetches the modifier by id and re-derives its amount from the current database — provider metadata amounts are never trusted.

Properties

i: number
q: number

Usage

import { type ModifierRef } from "docs/payments.ts";