First part of braintree plan retreival