class BaseAccountInformationService extends AbstractService implements AccountInformationService {

    @Override
    public Response<StartScaprocessResponse> startConsentAuthorisation(String consentId,
                                                                       RequestHeaders requestHeaders,
                                                                       RequestParams requestParams) {
        requireValid(validateStartConsentAuthorisation(consentId, requestHeaders, requestParams));

        String uri = StringUri.fromElements(getConsentBaseUri(), consentId, AUTHORISATIONS);
        uri = buildUri(uri, requestParams);
        Map<String, String> headersMap = populatePostHeaders(requestHeaders.toMap());

        Response<StartScaprocessResponse> response = httpClient.post(uri)
                                                         .headers(headersMap)
                                                         .emptyBody(true)
                                                         .send(jsonResponseHandler(StartScaprocessResponse.class),
                                                               interceptors);

        Optional.ofNullable(response.getBody())
            .ifPresent(body -> body.setLinks(linksRewriter.rewrite(body.getLinks())));

        return response;
    }

    public  BaseAccountInformationService(Aspsp aspsp, HttpClient httpClient);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         Interceptor requestBuilderInterceptor);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         LinksRewriter linksRewriter);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         Interceptor requestBuilderInterceptor,
                                         LinksRewriter linksRewriter);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         List<Interceptor> interceptors,
                                         LinksRewriter linksRewriter);

}