Charging Users with Company

Hello!

I’m about to submit my app to the App Store for review, but I have one last thing I need to figure out before I give it a shot.

I’d like for it to be used by companies who will pay per user per month. This would make it so everyone can download it from the app store, but only be able to use it if their company is paying for them to use it. Here’s what I’m thinking:

When the user logs in, they will enter three credentials:

  1. Company-specific code or ID
  2. Pre-determined Username
  3. Pre-determined Password

If the company ID is correct but there’s no user associated with the username or password, they won’t be able to use the app.

Would this cause any issues getting approved for the app store?
What are some other things I may be missing?

Thanks for any and all help!