forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

getMyPaymentStatement.ts10 lines, 413 bytesHistoryRawDownload
1import { client, pageQuery, type PageParams } from "../client";
2import type { PaymentStatement } from "./types";
3
4// Statement is not itself a Page envelope: { student, entries: Page, balance_minor }.
5export function getMyPaymentStatement(
6 params?: PageParams,
7 signal?: AbortSignal,
8): Promise<PaymentStatement> {
9 return client<PaymentStatement>(`/payments/statement/me${pageQuery(params)}`, { signal });
10}