OptionalamountFormat?: "fixed" | "trimmed"How the major-unit amount string is written in the hash and URL. Both always use the same string. "fixed" → "250.00", "trimmed" → "250" (Kashier's demo style).
Payment API key: signs the hosted-page hash and verifies redirect / webhook signatures.
Optionalcurrencies?: string[]Merchant id, e.g. MID-123-456.
Optionalmode?: "test" | "live"OptionalsecretKey?: stringSecret key: server API calls (refunds, order lookup, sessions).
Optionalurls?: { api?: string; checkout?: string; fep?: string }
Create the Kashier adapter:
new Sarraf({ providers: { kashier: kashier({...}) } }).