np_payments v0.1.0 ​
One checkout for every payment on the server. Shops, garages, mechanics, hospitals, tolls, fines and player-run businesses call one server export. np_payments opens its sheet on top of their UI, the player picks an account and holds to pay, and the caller gets the result back.
It uses the Nimbus UI look of np_hud, np_phone and np_banking: grey glass, glossy squircle tiles, and colour only where it means something (cash green, bank blue, shared lilac, declined red). It runs on qbx_core, qb-core and es_extended, or standalone. Accounts come from np_banking when it runs, otherwise from Renewed-Banking, qb-banking / qb-management, okokBanking, esx_addonaccount or the framework's own cash and bank. The only hard dependency is oxmysql. No ox_lib.
np_payments holds no money itself. Every balance lives in the framework or the banking resource, and np_payments only moves it.

| Payment states | Split |
|---|---|
![]() |
![]() |
| Tip | Pay later |
![]() |
![]() |
| Player terminal | Customer request from a terminal |
![]() |
![]() |
| PIN pad | Declined |
![]() |
![]() |
| Quick pay: toll | Quick pay: parking with a stepper |
![]() |
![]() |
| Liquid Glass | German |
![]() |
![]() |

The screenshots come from the browser mock (see Development). The UI ships in English and German.
At a glance ​
- One export, one sheet:
exports.np_payments:Request(src, opts)yields until the player paid, cancelled or the request expired. The merchant, amount and payee always come from server code, never from the client. See Charging from your resource. - Every account the player may use, grouped Personal / Shared & business / Faction: cash, checking, savings, shared accounts, business and faction (society) accounts, and bank cards from the inventory. Rows that can't pay stay in the list with the reason ("Over your limit", "Only on duty", "Not allowed here", "Frozen"). See Checkout sheet.
- Hold to pay: the button fills over 0.7 to 1.8 s, longer for bigger amounts. Then processing, accepted (with a
reference like
PX-20481), declined with the real reason, or needs approval. Every outcome shows a toast, and the player can get a receipt item with the full details. - Business and faction rules: a daily limit per member or grade, allowed and blocked categories, on-duty only and view-only members. Over the limit, every online boss gets an Approve / Deny toast. The first decision wins. See Approvals & factions.
- Split between your own accounts or with up to 4 parts including nearby players, who get the same sheet for their part. Tip with presets (0 / 10 / 15 / 20 %). Pay later by invoice, instalments or a QR code a friend pays. See Split, tip & pay later.
- Player terminal: employees on duty charge a player within 3 m from a product grid or a custom amount. The customer always sees the real business name, and the cashier can get a commission. See Player terminal.
- Quick pay pill for tolls, parking, fuel and vending: E pays with the category default, TAB opens the full sheet. Optional stepper (parking time) and auto-pay up to $25. Plus Give cash to a nearby player. See Quick pay & give cash.
- PIN for cards and charges over $100, on banking providers that support PINs. 3 wrong PINs block the card.
- Pay app in np_phone: default method per category, auto-pay, streamer mode, open bills and QR codes, receipts, and boss controls (limits, categories, duty rule, live approval queue, refunds). See Pay app.
- Ledger of every payment, full and partial refunds by reference, and server events for logs.
- Staff tools (optional np_admin): permission nodes instead of ACE, live-editable settings and a Test payment staff action. See Installation → Permissions.
Who uses it ​
These resources send their purchases through np_payments when it runs. Each has Config.Payments = 'auto'
(true = required, false = never):
| Resource | Purchases |
|---|---|
| np_inventory | Shop carts paid in cash or by card |
| np_menu | Tuning shop and clothing store |
| np_character | Barber, clothing store and surgeon fees, rename fees |
| np_tattoos | Parlour basket, laser sessions and cover-ups |
| np_identification | Desk fees, renew / replace and the forger |
np_shops uses it through Config.Integrations.np_payments = 'auto' (false = never):
every shop cart, fuel fill and Vangelico financing opens the checkout. The category follows the shop type (shop,
food, fuel, service), and the money goes to the shop's society, or to np_shops' own business account for
player-owned shops.
np_mechanic uses it too, through Config.Integrations.np_payments = 'auto'
(false = never): tuning checkouts, collections, repair bills and roadside calls open the checkout (category
repair), and the money goes to the workshop's society (payee = { type = 'society', id = <job> }). Repairs for an
absent owner become an invoice; when np_payments:invoicePaid fires, the insurer's share is credited to the workshop.
np_fuel uses it through Config.Integrations.np_payments = 'auto' (false = never):
fill-ups, EV charges, jerry can fills, wholesale loads at the depot, station purchases and company deposits open the
checkout in category fuel (Config.Pay.category). The merchant is the station (np_fuel:<station>, brand and
name). Fuel is prepaid: np_fuel refunds what did not fit into the tank to the account it was paid from.
np_prison uses it through Config.Integrations.np_payments = 'auto' (false = never): the
fine of an accepted charge sheet becomes an invoice (category fine, payee the police society), and bail deposits,
inmate account top-ups, stamps and care packages are charged through Charge (category service, merchant
"San Andreas Courts").
np_vending uses it through Config.Integrations.np_payments = 'auto'
(false = never): card payments at a vending machine open the quick pay pill (category vending, the
player's default bank or card method), and phone tap is a silent Charge(src, 'bank', …). The merchant is the machine
(np_vending:<machine id>); the payee is none, because np_vending pays the operator itself at its hourly card
settlement. Jams and failed purchases are paid back through Refund.
np_golf uses it through Config.UseNpPayments = 'auto' (true = always,
false = never): green fees, cart seats, range buckets and memberships open the checkout sheet with the line items
(merchant Los Santos Golf Club, payee the golfclub society). Stakes for in-group games and spectator bets are held
with Charge (merchant Golf escrow, payee none) and unused stakes are given back with Refund; caddie fees are a
Charge with the caddie as payee.
np_darts charges every stake, board rental, pro shop purchase, board and league or
cup entry through the checkout sheet (Request) and gives held stakes back with Refund. See
np_darts → Stakes, escrow & rental.
np_billiards charges table fees, stakes, side bets and cup entries with
Charge (table fees to the bar's society, stakes and bets with payee none) and gives held money back with Refund.
See np_billiards → Stakes, fees & escrow.
np_metal-scanner charges venue locker fees with a silent Charge (no
payee, refunded with Refund when a deposit fails) and can invoice a fine to the police society after a seizure
(Invoice, category fine, Config.Siblings.payments.seizureFine).
Quick example ​
-- server: a shop till
local result = exports.np_payments:Request(source, {
merchant = { id = 'robs_liquor_paleto', label = "Rob's Liquor", sub = 'Paleto Bay', icon = 'wine-bottle', tint = 'orange' },
amount = 95, tax = 5, category = 'shop',
items = { { label = 'A.M. Beer', qty = 2, price = 6 }, { label = 'Discount', qty = 1, price = -5 } },
payee = { type = 'society', id = 'robsliquor' },
allowSplit = true,
})
if result.ok then
giveItems(source) -- result.ref, result.method, result.amount, result.tip
end











