# ATM API

In 
JSM

I can feel the cash flowing though the code.


SelfServ ATM is our best companion ATM for the SelfServ SCO, a must for every shopkeeper.

Located directly in the Integrations folder, the Bank Intergration allows you to interface easily with the ATMs.

# Syntax

workspace["JSM | ATM V3"].Integrations["JSM-BankIntegration"].OnInvoke = function (Request: string, User: player, Amount: number): (bool | number)
	if Request == "withdraw" then
		return true -- returns if the payment should be accepted
	elseif Request == "balance" then
		return math.random(100,1000) -- returns the amount that the user has
	end
end