import type * as Voltaria from "../../../../index.js";
/**
 * @example
 *     {
 *         url: "https://example.com/webhooks",
 *         description: "Loan update event",
 *         event_type: "loan.updated",
 *         secret: "whsec_f3o9p8h7g6j5k4l3m2n1o0p9i8u7y6t5",
 *         retry: false,
 *         status: "active"
 *     }
 */
export interface WebhookCreatePayload {
    /** The URL to send webhooks to */
    url: string;
    /** Optional description of this webhook endpoint */
    description?: string | null;
    /** Event type to subscribe toPossible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated */
    event_type: Voltaria.WebhookEventTypeEnum;
    /** Secret for signing webhook payloads */
    secret: string;
    /** Whether to retry failed webhooks */
    retry?: boolean;
    /** Status of the webhook subscription. Defaults to 'active'.Possible values: active, paused, disabled */
    status?: Voltaria.WebhookStatusEnum | null;
}
