Skip to content

Checkout sheet ​

The sheet opens when a resource calls Request (or a cashier sends a terminal request). It sits on top of the caller's UI (Config.ZIndex), takes NUI focus and hides the np_hud zones underneath. When it closes, focus goes back to the caller's NUI.

Checkout sheet

Layout ​

Part Shows
Header Merchant tile, name and sub line (location, owner), ESC Cancel
Total card The amount, item count and tax. I expands the line items
Method list Every account the player may use, grouped Personal, Shared & business and Faction
Other ways to pay Invoice, instalments, QR code. Only when the caller allows pay later (L opens it)
Hold button Hold to pay $25 with a fill
Footer The selected account's balance after the payment, and the key hints

Line items are display only. They may include negative prices (discount lines) and don't have to add up to the amount. The amount is what gets charged.

Methods ​

Kind Comes from Row shows
Cash Framework cash (np_inventory keeps its money item in sync) Wallet balance
Personal / savings Framework bank, or np_banking accounts (its checking account is the framework bank) Account number, balance
Shared Shared accounts where the player may spend (np_banking) Who else sees the purchase
Business The job's society account (Config.Businesses, terminal businesses) Daily limit bar: $160 left today
Faction The job's society account (Config.Factions) Limit bar, category and duty rules
Card Bank card items in the inventory (Config.Cards.items, np_banking cards) Last 4 digits, holder, PIN badge

The caller can narrow the list with opts.methods (for example { 'cash' } for a forger). Kinds switched off in Config.Accounts never show.

Rows that can't pay ​

Rows the player can't use stay in the list, greyed out, with the reason. Players learn the rules from the sheet.

Code Text When
funds Not enough money Balance below the amount
limit Over your limit Over the member's daily limit and approvals are off
category Not allowed here The account doesn't allow this category, or blocks it
offduty Only on duty The account is on-duty only and the player is off duty
frozen Frozen The account or card is frozen (np_banking)
role No permission View-only member, or a limit of 0
not_allowed Not allowed here Any other refusal

A business or faction row over the limit, where approvals are on, stays usable and shows needs approval. The hold button then reads Hold to request approval. See Approvals & factions.

Which row is selected ​

The first usable row out of:

  1. opts.preferred from the caller ('cash', 'bank' or a method id),
  2. the player's default for this category (set in the Pay app),
  3. the last method the player used,
  4. the personal bank account,
  5. cash.

Hold to pay ​

Hold E, the left mouse button, or Space / Enter on the focused button. The fill takes 0.7 s for small amounts and grows to 1.8 s at $5,000 (Config.Hold). Releasing early cancels. The pay intent is sent once, when the fill is complete. The client only sends { id, method }; the server checks ownership, expiry, amount, access, limits, categories and balance again before it charges.

States ​

Payment states

The card swaps its content in place:

State Shows
Processing Spinner, "Contacting Maze Bank"
Accepted Green check, "$25 paid to Rob's Liquor", reference PX-20481. Closes after 1.6 s (Config.CloseDelay)
Declined Red tile with the real reason. Other account (or BACKSPACE / ENTER) goes back to the list
Needs approval Timer while the bosses decide
Waiting for others Timer while the other players of a split pay their part

Declined

Decline reasons besides the row codes above: denied (a boss said no), no_approver, pin_blocked, timeout, split_failed, split_busy, split_sum, split_target, too_far, invalid, payee (the merchant account is not available) and failed.

PIN ​

PIN pad

Cards always ask for the PIN. Bank accounts ask above $100 (Config.Pin.over). Both only on banking providers that support PINs (np_banking). The provider checks the PIN. After 3 wrong PINs (Config.Pin.tries) the card is blocked and the payment declines with pin_blocked. Cancelling the PIN pad goes back to the hold button.

After the payment ​

  • Toasts for every outcome: np_hud when it runs, else an np_phone notification, else a chat line. The tile takes the method's colour (cash green, bank blue, shared lilac, business and faction in their own tint).
  • Shared accounts: the other members get "Lena paid $86 at Rob's Liquor" (Config.Notify.sharedMembers).
  • Receipt item: on by default for Request (opts.receipt = false turns it off), when Config.Receipt.enabled and the inventory bridge supports items. Its metadata holds reference, merchant, amount, tip, total, method, category, date (UTC) and the line items.
  • Ledger row in np_payments_payments, and the server event np_payments:paid.

Keys ​

Key Action
E (hold) Pay
↑ ↓ Choose a method
TAB Open the split
I Show the line items
L Other ways to pay
ESC Cancel (ignored while processing)
BACKSPACE / ENTER On declined: back to the list

The mouse works everywhere too.

Liquid Glass and German ​

Config.Material = 'liquid' Config.Locale = 'de'
Liquid Glass German