Module Values.GetVerificationResponseSource

Retrieves the current status and details of a verification process for a partner account. This operation allows partners to check the progress and results of business or registrant verification processes.

Sourcetype nonrec t = {
  1. verificationType : VerificationType.t option;
    (*

    The type of verification that was requested and processed.

    *)
  2. verificationStatus : VerificationStatus.t option;
    (*

    The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired.

    *)
  3. verificationStatusReason : VerificationStatusReason.t option;
    (*

    Additional information explaining the current verification status, particularly useful when the status indicates a failure or requires additional action.

    *)
  4. verificationResponseDetails : VerificationResponseDetails.t option;
    (*

    Detailed response information specific to the type of verification performed, including any verification-specific data or results.

    *)
  5. startedAt : DateTime.t option;
    (*

    The timestamp when the verification process was initiated.

    *)
  6. completedAt : DateTime.t option;
    (*

    The timestamp when the verification process was completed. This field is null if the verification is still in progress.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?verificationType:??? -> ?verificationStatus:??? -> ?verificationStatusReason:??? -> ?verificationResponseDetails:??? -> ?startedAt:??? -> ?completedAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of VerificationStatusReason.t | `Structure of (string * [> `Structure of (string * [> `String of CompletionUrl.t | `Structure of (string * [> `String of LegalName.t ]) list | `Timestamp of DateTime.t ]) list ]) list | `Timestamp of DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t