It is not important where the money comes from so long it is not illegal, although for getting the non-o you need 3 a 6 months Recent bank statements showing sufficient funds (typically at least $1,000 USD for individuals ), better ask your embassy the required details because it is everywhere other financial requirements (Thai law ask only for
*****
BTH or equal for 3 months, but embassies ask a lot times more)