File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,14 @@ export interface ICollectConfig {
9494 // Bypass tipping selection if it would have otherwise been shown.
9595 // For more information, see the official Stripe docs: [On Reader Tipping](https://stripe.com/docs/terminal/features/collecting-tips/on-reader)
9696 skip_tipping ?: boolean | null ;
97+ tipping ?: ITippingConfig | null ;
98+ }
99+
100+ // Contains per-transaction configuration information relevant to collecting tips
101+ export interface ITippingConfig {
102+ // Calculate percentage-based tips based on this amount.
103+ // For more information, see the official Stripe docs: [On Reader Tipping](https://stripe.com/docs/terminal/features/collecting-tips/on-reader)
104+ eligible_amount ?: number | null ;
97105}
98106
99107export declare type ConnectOptions = Pick <
You can’t perform that action at this time.
0 commit comments