Refactoring Braintree query

To differentiate between braintree being down and the service being unavailable.