hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client } from "../client"; |
| 2 | import type { PaymentLine, RecordPaymentBody } from "./types"; |
| 3 | |
| 4 | // Record a payment against a charge line. |
| 5 | export function postPaymentCredit(body: RecordPaymentBody): Promise<PaymentLine> { |
| 6 | return client<PaymentLine>("/payments/credits", { method: "POST", body }); |
| 7 | } |