strike-axios
Version:
20 lines (19 loc) • 514 B
TypeScript
import type { Amount, FiatCurrency } from "./common";
export type CreatePayoutRequest = {
paymentMethodId: string;
originatorId?: string;
amount: string;
reference?: string;
};
export type Payout = {
id: string;
state: "NEW" | "INITIATED" | "COMPLETED" | "FAILED" | "REVERSED";
created: Date;
paymentMethodId: string;
originatorId?: string;
amount: Amount<FiatCurrency>;
fee?: Amount<FiatCurrency>;
reference?: string;
initiated?: Date;
completed?: Date;
};