# AutoPro API

In 
JSM

I can feel the cash flowing though the code.


AutoPro is our most advanced automatic door system designed for convenience and efficiency, providing seamless access control for any environment. Each AutoPro instance has a singular API BindableFunction.

Located directly in the root folder after game startup, the API allows you to interface easily with the doors.

# 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