# Credit Method The Credit method increases the amount of available credit. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").Credit(cur, bool)
Parameters
cur | Currency value that specifies the amount to add.
bool | Boolean value that specifies if the amount should be booked directly into the main account of the SiteCash object.
Return Value None. Remarks Use the CurrencyFormatter object for currency functionality. Examples The following example increases the credit of the script device account.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").Credit(5, false);
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top