remove dependency of braintree-api