UNPKG

privacy.com

Version:

Wrapper for the Privacy.com API using Axios and TypeScript

22 lines (21 loc) 740 B
import { PostEndpoint } from "../"; import { Response } from "../.."; /** * Voids an existing, uncleared (aka pending) authorization. * @remarks Previous pending authorization is voided */ export declare class SimulateVoidRequest extends PostEndpoint { path: string; params: SimulateVoidParams; constructor(params: SimulateVoidParams); } /** * Parameters for {@link SimulateVoidRequest} */ export declare type SimulateVoidParams = { /** The transaction token returned from the /v1/simulate/authorize response */ token: string; /** Amount (in cents) to void. Typically this will match the original authorization, but may be less */ amount: number; }; export declare type SimulateVoidResponse = Response<{}>;