Properly format your data when calling the Sila API using the following regex snippets.

New to RegEX? Learn all about it at RegExr

handle

^[-a-zA-Z0-9_\.]+$

min length 3, max 100 (not including .silamoney.com)

phone

^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$

birthdates must be YYYY-MM-DD; if entity type is individual, person must be 18+

SSN

^(?!123([ -]?)45([ -]?)6789)(?!\b(\d)\3+\b)(?!000|666|900|999)[0-9]{3}([ -]?)(?!00)[0-9]{2}\4(?!0000)[0-9]{4}$

EIN

^\d{2}-?\d{7}$

Ethereum Address

^0x[a-fA-F0-9]{40}$
Did this answer your question?