import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; import { Actions } from "./actions.js"; import { Captures } from "./captures.js"; import { Events } from "./events.js"; import { Gr4vyRefunds } from "./gr4vyrefunds.js"; import { RefundSettlements } from "./refundsettlements.js"; import { Settlements } from "./settlements.js"; export declare class Transactions extends ClientSDK { private _refunds?; get refunds(): Gr4vyRefunds; private _actions?; get actions(): Actions; private _events?; get events(): Events; private _settlements?; get settlements(): Settlements; private _refundSettlements?; get refundSettlements(): RefundSettlements; private _captures?; get captures(): Captures; /** * List transactions * * @remarks * Returns a paginated list of transactions for the merchant account, sorted by most recently updated. You can filter, sort, and search transactions using query parameters. */ list(request?: operations.ListTransactionsRequest | undefined, options?: RequestOptions): Promise>; /** * Create transaction * * @remarks * Create a new transaction using a supported payment method. If additional buyer authorization is required, an approval URL will be returned. Duplicated gift card numbers are not supported. */ create(transactionCreate: components.TransactionCreate, merchantAccountId?: string | null | undefined, idempotencyKey?: string | null | undefined, xForwardedFor?: string | undefined, options?: RequestOptions): Promise; /** * Get transaction * * @remarks * Retrieve the details of a transaction by its unique identifier. */ get(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise; /** * Manually update a transaction * * @remarks * Manually updates a transaction. */ update(transactionUpdate: components.TransactionUpdate, transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise; /** * Capture transaction * * @remarks * Captures a previously authorized transaction. You can capture the full or a partial amount, as long as it does not exceed the authorized amount (unless over-capture is enabled). */ capture(request: operations.CaptureTransactionRequest, options?: RequestOptions): Promise; /** * Void transaction * * @remarks * Voids a previously authorized transaction. If the transaction was not yet successfully authorized, or was already captured, the void will not be processed. This operation releases the hold on the buyer's funds. Captured transactions can be refunded instead. */ void(transactionId: string, prefer?: Array | null | undefined, merchantAccountId?: string | null | undefined, idempotencyKey?: string | null | undefined, options?: RequestOptions): Promise; /** * Cancel transaction * * @remarks * Cancels a pending transaction. If the transaction was successfully authorized, or was already captured, the cancel will not be processed. */ cancel(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise; /** * Sync transaction * * @remarks * Synchronizes the status of a transaction with the underlying payment service provider. This is useful for transactions in a pending state to check if they've been completed or failed. Only available for some payment service providers. */ sync(transactionId: string, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise; /** * Increment transaction authorization * * @remarks * Increment the transaction authorization amount of a given transaction_id. */ incrementAuthorization(transactionAuthorizationIncrementCreate: components.TransactionAuthorizationIncrementCreate, transactionId: string, merchantAccountId?: string | null | undefined, idempotencyKey?: string | null | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=transactions.d.ts.map