Working on integrating braintree with the API