Complex sentence: In Mexico, however, pesos are legal tender, not US dollars, as by Mexican law, the creditor must accept Mexican pesos but may refuse US dollars or gold.
Split into simpler sentences: In Mexico, however, pesos are legal tender, and US dollars are not. So, by Mexican law, the creditor must accept pesos as payment, whereas the creditor can refuse US dollars or gold.