@paysafe/paysafe-wallet-saas-web
    Preparing search index...

    Class TrustedEntitiesService

    Service class for managing trusted entities related operations.

    Hierarchy

    • ApiService
      • TrustedEntitiesService
    Index

    Methods

    • Deletes a trusted entity credential.

      Parameters

      Returns Promise<void>

      A promise that resolves when the trusted entity credential is successfully deleted.

      If the HTTP request fails.

      // Example usage:
      trustedEntitiesService.deleteTrustedEntityCredential(request)
      .then(() => {
      console.log(`Trusted entity credential deleted successfully.`);
      })
      .catch((error) => {
      console.error(`Error deleting trusted entity credential.`);
      });
    • Function

      Retrieves the singleton instance of the TrustedEntitiesService class.

      Returns TrustedEntitiesService

      The singleton instance of the TrustedEntitiesService class.

      // Usage:
      const trustedEntitiesService = TrustedEntitiesService.getInstance();