Added currency option in config, closes #2.
Refactored _format_payment_details function.