akua-sdk
Version:
TypeScript SDK for Akua Acquiring Processor
19 lines (18 loc) • 444 B
TypeScript
import { EventType } from '../enums';
import { WebhookStatus } from './common';
export interface CreateWebhookResponse {
id: string;
description: string;
url: string;
events: EventType[];
rate_limit: number;
status: WebhookStatus;
created_at: string;
updated_at: string;
}
export interface GetWebhooksResponse {
data: CreateWebhookResponse[];
}
export interface GetWebhookSecretResponse {
key: string;
}