Kaizen
Browse modulesCheckoutcheckout/serverInterfaces

Interface: RecordManualPaymentInput

Defined in: server/checkout/payment-service.ts:69

Properties

allowOverTender?

optional allowOverTender?: boolean;

Defined in: server/checkout/payment-service.ts:81


amountCents

amountCents: number;

Defined in: server/checkout/payment-service.ts:71


customerId?

optional customerId?: string;

Defined in: server/checkout/payment-service.ts:80

Required in practice for stored-balance methods (balanceLedger.debit ctx).


expiresAt?

optional expiresAt?: Date;

Defined in: server/checkout/payment-service.ts:82


idempotencyKey

idempotencyKey: string;

Defined in: server/checkout/payment-service.ts:78

REQUIRED at the type level (proposal §The PaymentProvider port): the (organizationId, idempotencyKey) unique on payments is the only dedupe handle that stops a timed-out POS retry from minting a second tender. Omitting it is a type error, not a runtime default.


tenderMethod

tenderMethod: 
  | "check"
  | "unknown"
  | "other"
  | "card"
  | "gift_card"
  | "account_balance"
  | "bank_transfer"
  | "cash"
  | "warrant"
  | "wallet"
  | "money_order";

Defined in: server/checkout/payment-service.ts:70

On this page