Optionalamount?: { source: { amount: BigNumber } } | { target: { amount: BigNumber } }OptionaldeviceIpAddress?: stringOptionaldeviceLocation?: { lat: number; long: number; source: "ip" }OptionalidempotencyKey?: stringCaller-supplied idempotency key (from the API Idempotency-Key
header). Threaded into productQuoteService.quote() (dedupes the
pinned engine quote) and depositQuoteService.create() (dedupes the
deposit quote). Optional — internal callers don't supply one.
Optionalmetadata?: Record<string, any>OptionalregionCode?: stringOptionaltargetCurrency?: "MOVEUSD"Syncs our state after Green Dot returns response code 111111111 (OldestBarcodeCancelled), which guarantees they already cancelled exactly one barcode on our behalf, but never says which. Rather than guess (the old logic assumed "oldest CREATED" and never checked), this asks Green Dot for every barcode it has touched for the entity and matches by barcode number against whichever of our own still-open barcodes reads back CANCELLED.
If a concurrent caller already handled the same cancellation (the quote
is no longer CREATED), it drops out of openByBarcodeNumber and this is
a no-op.
The process default, beside the instance
createthat mints a quote.