Server Exports
REMEMBER ABOUT CLIENT SIDE AND SERVER SIDE IN CHOOSING EXPORT!
Generate Unique IBAN
Use following export to generate unique IBAN number
Return:
newIBAN:
string
Generate Unique Card Number
Use following export to generate unique Card Number
Return:
cardNumber:
string
Update Credit Score
Use following export to update credit score for player
identifier:
string
Existing player identifier
score:
number
Score to add or remove
Create History
Use following export to create transaction history for account
iban:
string
Iban account to add transaction
type:
string
Type of transaction, can be income / outcome
amount:
number
Amount to display in history
title:
string
Title of transaction
from:
string
Name of transaction sender
to:
string
Name of transaction receiver
Return:
transactions:
table
All account transactions
Get Player Accounts
Use following export to get player accounts
Return:
accounts:
table
id:
number
name:
string
owner:
string
iban:
string
balance:
number
role:
owner / user
type:
personal / society / shared
credit_score:
number
logs:
table
transactions:
table
invoices:
table
users:
table
cards:
table
Last updated