Moved callback URL from protected property to public method inside API class. Method accepts argument for whether or not to URL encode the callback URL.