forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

postPaymentReversal.ts7 lines, 322 bytesHistoryRawDownload
1import { client } from "../client";
2import type { PaymentLine, RecordReversalBody } from "./types";
3
4// Undo a charge or refund line for its exact amount.
5export function postPaymentReversal(body: RecordReversalBody): Promise<PaymentLine> {
6 return client<PaymentLine>("/payments/reversals", { method: "POST", body });
7}