I am using trello attachments API to attach files to Trello card. There are limitations on file sizes.
There is a 10 MB file upload limit per attachment. However, Business Class and Trello Gold members have a 250 MB file upload limit per attachment.
I need to do below validations, before attaching file to Trello card.
1.If account type is general, check file size is <=10 MB.
2.If account type is not general, check file size is <=250MB.
To perform these validations, I need to get the account details of trello user. I'd appreciate any suggestions.