# Debit Method The Debit method decreases the credit. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    Debit(amount, reason)
Parameters
amount | Currency value that specifies the amount.
reason | String that specifies the reason.
Return Value None. Remarks Use the CurrencyFormatter object for currency functionality. Examples The following example decreases the credit.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.Debit(5, "service fee");
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top