strike-axios
Version:
18 lines (17 loc) • 459 B
TypeScript
import type { Amount, AnyCurrency } from "./common";
export type IssueInvoiceRequest = {
correlationId?: string;
description?: string;
amount: Amount<AnyCurrency>;
};
export type Invoice = {
invoiceId: string;
amount: Amount<AnyCurrency>;
state: "UNPAID" | "PENDING" | "PAID" | "CANCELLED";
created: Date;
correlationId?: string;
description?: string;
issuerId: string;
receiverId: string;
payerId?: string;
};