import { Api } from "..";
const api = Api();
export class VoidService {
    async postVoid(paymentId, accountId, authToken) {
        const endpoint = `payments/${paymentId}/void`;
        const headers = { 'Sub-Account': accountId };
        return api.post({ endpoint, headers, authToken });
    }
}
