The possibility is very remote, almost impossible. The only possible scenario is playing Demolition or Escape and someone from the enemy or his your team, record the time of you his shots. I know a case (2012) that was so and gave ban, but it is one of thousands of cases. GM usually do not pay much attention to this because it is very difficult to justify and prove.
Yes. It is already known that macros can get you ban. It is included in the third-party programs section. So yeah you just got a perm ban for telling them you in deed BYPASSED and used a MACRO lol. Curious question: was it on your main ?
Think about this: Why AVA won't start if macro is ran without a bypass? That's because you can't start a macro without bypassing its security system, which is Xingcode in this case. That concludes that, to use macro, you need to breach their security which obv is illigal. It is extremely unlikely you get banned as that would need a video, but I think someone just got you on tape xD. Gj on macro-ing next time.
If you didn't spend AP, you're not a customer, you're a player. They care about customers because they support the game, players they couldn't care less about. That's why I'm not banned yet, I'm a huge customer of theirs and they want to keep me around.