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, RecordReversalBody } from "./types"; |
| 3 | |
| 4 | // Undo a charge or refund line for its exact amount. |
| 5 | export function postPaymentReversal(body: RecordReversalBody): Promise<PaymentLine> { |
| 6 | return client<PaymentLine>("/payments/reversals", { method: "POST", body }); |
| 7 | } |