I am still new to Drupal and am looking for a module that does the following: convert a decimal amount of US Dollars to an equivalent amount of Bitcoin.

Is there such a module that can handle this or would I have to code this from scratch?

More info:

 1. Accepts a decimal based argument in USD
 2. Submitting the form sends a request to a 3rd party API to convert the dollar amount to BitCoin
 3. Module should create a means to store any API connection details required to communicate with your API key in the database
 4. Module should pull this value from the database when making a request to the API