The client for interacting with the Donation Alerts API.

Constructors

Accessors

Methods

  • Sends a request to the Donation Alerts API.

    Type Parameters

    • T = unknown

    Parameters

    • user: UserIdResolvable

      The ID of the user making the request.

    • options: DonationAlertsApiCallOptions

      Options for the API call, including method, URL, and other details.

    • rateLimiterOptions: RateLimiterRequestOptions = {}

      Options for fine-tuning rate-limiting behavior.

    Returns Promise<T>

    HttpError If the response status code is outside the 200-299 range.

    UnregisteredUserError If the specified user is not registered in the authentication provider.

    MissingScopeError If the access token lacks the required scope to complete the request.