How to set type currency from API?

Hi everyone,

I want to know how to set or update the type currency of a currency field, I mean, I have an external database and once per day I send all the new information from this database to sugarcrm through the API, but there are some prices that I want to put in MXN and I don't know how to do it.

Hope you can help me.