private static PaymentResponse read(String xml) throws InternalApiException {
        try {
            Persister persister = new Persister();
            return persister.read(PaymentResponse.class, xml);
        } catch (Exception e) {
            throw new InternalApiException(e);
        }
    }