Oddbean new post about | logout
 1. Add a new active keyset with unit ‘usd’
2. Convert amount in mint quote request to sats based on current exchange rate, then create invoice for that sat amount. 
3. Convert sat from invoice to usd in melt quote request and return usd amount needed to pay the invoice. 

Happy to help if you want to get on a call