Server side
🎯 Types
IAccount
🆔 Accounts
GetSocietyAccount
GetAccountByIban
GetPersonalAccountByPlayerId
GetPersonalAccountByPlayerIdentifier
CreateBusinessAccount
💵 Money
GetAccountMoneyByIban
GetSocietyAccountMoney
AddSocietyMoney
RemoveSocietyMoney
Feel free to request an export to suit your needs.
🪵 Misc
AddTransaction
- When adding a withdrawal transaction, the first parameter(toIban) is not required and must be skipped.
- When adding a deposit transaction, the second parameter(fromIban) is unnecessary and must be skipped.
- You can register a custom transaction to match your needs.
IsAccountFrozen
IsAccountTerminated
FreezeAccount
UnfreezeAccount
TerminateAccount
IsCardFrozen
IsCardTerminated
FreezeCard
UnfreezeCard
💳 Loans
GetCreditScore
Get the credit score for a player by their identifier.
GetCreditProfile
Get detailed credit profile for a player including score factors and loan eligibility.
Returns:
CanPlayerFinance
Check if a player can finance (take a loan) for a specific amount.
CreateLoan
Create a loan application with pending status (for manual approval workflows). Use ApproveLoan or RejectLoan to process the application.
ApproveLoan
Approve a pending loan application and disburse funds to the player. Player must be online.
RejectLoan
Reject a pending loan application.
CreateAndApproveLoan
Create and immediately approve a loan, disbursing funds to the player. Player must be online.
Returns on success:
GetLoan
Get a specific loan by ID.
GetPlayerLoans
Get all loans for a player (including paid, defaulted, etc.).
GetActiveLoans
Get only active loans for a player (status: active or overdue).
GetLoanBalance
Get the remaining balance on a loan.
GetLoanPaymentDue
Get the next payment due information for a loan.
Returns:
IsLoanDelinquent
Check if a loan is delinquent (overdue or defaulted).
ApplyLoanPayment
Apply a payment to a loan. Player must own the loan.
PayLoanDue
Pay the current due amount on a loan (convenience wrapper for ApplyLoanPayment).
GetPlayerDebtSummary
Get a comprehensive summary of all player debt.
Returns:
GetLoanHistory
Get payment history for a specific loan.
Returns array of: