Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to know whether a user is paid or not?

New post

Comments

3 comments

  • cary

    Hey , 

     

    There is no endpoint in the API and functionality in the SDK to check whether a user is paid or not. However, I would love to learn more about what you are trying to do, maybe we can arrive at another solution.

     

    What do you mean by direct link?

     

    Thanks! 

    0
    Comment actions Permalink
  • Kamran1892

     The functionality is required as the application that we are designing will be used by our clients having either paid or unpaid accounts. So there is a need to set {shared_link: { unshared_at: '0000' } } for paid members and 

    { shared_link: serviceAccountClient.accessLevels.DEFAULT } for unpaid members.
    0
    Comment actions Permalink
  • cbetta

     so to clarify, you want to know if they’ve paid you, or if they have a paid Box account?

     

    We don’t have an API to check if a user is a paid Box user at the moment. To check if a user has paid you, we recommend keeping your own mapping between the user ID (or enterprise ID) and their paid status in your own database.

     

    Does that help?

    0
    Comment actions Permalink

Please sign in to leave a comment.