Package dev.evercatch

Class EvercatchClient

java.lang.Object
dev.evercatch.EvercatchClient

public class EvercatchClient extends Object
Evercatch API client for Java.

Example usage:


 EvercatchClient client = new EvercatchClient("ec_live_abc123");

 // Create a destination
 Destination dest = client.createDestination(
     CreateDestinationRequest.builder()
         .name("Production")
         .url("https://myapp.com/webhooks")
         .providers(List.of("stripe", "sendgrid"))
         .build()
 );

 // List recent events
 List<Event> events = client.listEvents(
     ListEventsRequest.builder()
         .provider("stripe")
         .limit(50)
         .build()
 );
 
  • Constructor Details

    • EvercatchClient

      public EvercatchClient(String apiKey)
      Creates a client using the default API base URL.
      Parameters:
      apiKey - your Evercatch API key (starts with ec_live_ or ec_test_)
    • EvercatchClient

      public EvercatchClient(String apiKey, String baseUrl)
      Creates a client with a custom base URL (useful for self-hosted instances or testing).
      Parameters:
      apiKey - your Evercatch API key
      baseUrl - custom API base URL
  • Method Details