# validatePaymentRequest static method

Future<List<ValidationErrorMessage>> validatePaymentRequest(

1. PaymentRequest request

)

## Implementation

    static Future<List<ValidationErrorMessage>> validatePaymentRequest(PaymentRequest request) async {
      final validationRequest = PaymentRequestValidationRequest(request);
      final validationResultStr = await _NativeValidationInterface.instance.validatePaymentRequest(jsonEncode(validationRequest));
      return _parseValidationErrorMessages(validationResultStr);
    }