make braintree and invalid response error interface types to make type-switching easier. otherwise we would have to distinguish between structs and struct pointers.