CashGateway

Archetype-D-simplest: a record-only gateway for cash collected outside the app entirely (courier COD, in-person handoff). Unlike mobile-money, there is no provider to even ping — pay() does nothing but record intent and return Pending; the order is only ever resolved when a human (merchant/cashier) confirms the cash was received, via the backend's /mock/cash/{orderId}/settle reconciliation route. No SDK, no WebView, no network call from this gateway at all.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val id: GatewayId
Link copied to clipboard
open override val meta: GatewayMeta

Functions

Link copied to clipboard
open suspend override fun pay(host: PaymentHost, prepared: PreparedPayment): PaymentResult
Link copied to clipboard
open suspend override fun prepare(created: CreatedOrder): PreparedPayment