@Override
    public PaymentStatusResponse checkPaymentStatus(PaymentStatusRequest request) throws InternalApiException {
        ApiCommandProducer producer = new InitPayMkStatusProducer(request, credentials);
        ApiCommand command = producer.getCommand();
        try {
            final ApiResponse apiResponse = apiClient.executeCommand(command);
            final String xml = apiResponse.getBody();
            return PaymentStatusResponse.fromXml(xml);
        } catch (IOException e) {
            throw new InternalApiException(e);
        }
    }