forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

getPaymentStatementByUserId.ts13 lines, 390 bytesHistoryRawDownload
1import { client, pageQuery, type PageParams } from "../client";
2import type { PaymentStatement } from "./types";
3
4export function getPaymentStatementByUserId(
5 userId: string,
6 params?: PageParams,
7 signal?: AbortSignal,
8): Promise<PaymentStatement> {
9 return client<PaymentStatement>(
10 `/payments/statement/${encodeURIComponent(userId)}${pageQuery(params)}`,
11 { signal },
12 );
13}