Enums in .Net API

Are Square Enums exposed in .NET API? Asking because coding them as literal strings can lead to hard to find runtime bugs e.g. I was testing for Invoice Status == “CANCELLED” because I’d spell-checked and corrected for Australian/British English rather than the correct American English spelling “CANCELED”. Using defined Enum values in code would detect this type of mistake at compile time.

Yes, our Objects and Enums are documented in our API Reference. :slightly_smiling_face: