Exports
Server Exports
GetUserCards
-- player: number - player source
-- return: table - a table containing user cards ids
exports.JustBanks:GetUserCards(player)GetCardId
-- player: string - card_number
-- return: number - card id
exports.JustBanks:GetCardId(card_number)GetCard
-- card: number - card id
-- return: table - card info
exports.JustBanks:GetCard(card)
-- Example return
local response = {
id = 1,
holder = 1, -- holder id
type = "basic", -- card type (basic, pro, ultimate)
card_number = "5530359442202495",
pin = "1111",
balance = 1000,
is_main = true, -- is this main card ?
is_suspended = false,
is_locked = false
}AddMoney
RemoveMoney
SetMoney
AddInvoice
PayInvoice
GetInvoices
GetUnpaidInvoices
IsSocietyExist
CreateSocietyAccount
GetSocietyMoney
AddSocietyMoney
RemoveSocietyMoney
RemoveSocietyMoney
Last updated