Different brokers have different definitions of
scalping. They have different minimum times and/or minimum pip values. Most brokers who prohibit scalping define it as trades lasting from a few seconds to a few minutes, but some stretch this as long as 15 minutes.
ALWAYS read all the agreements before opening an account with a broker. If you break clearly defined brokerage rules, then don't run off screaming "Scam" later. If the broker doesn't define the rules clearly, demand a clear and binding explanation. If they won't provide one, don't risk opening an account with them.
Don't wait until you've traded for months and months profitably and only then try to withdraw. Pull some money out every now and then. If the broker decides to pull your plug, at least you will have gotten something for your efforts.