Skip to main content

TypeAlias.PrepaidReturnResponse

type PrepaidReturnResponse = {
credits: {
amountEur: string;
chargebeeInvoiceId: string | null;
consumedEur: string;
expiresAt: string;
grantedAt: string;
id: string;
kind: "welcome" | "pack";
packId: string | null;
pricePaidEur: string | null;
remainingEur: string;
status: "active" | "expired" | "exhausted";
}[];
status: "pending" | "credited";
};

Type Declaration​

NameType
credits{ amountEur: string; chargebeeInvoiceId: string
status"pending"