import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class Wallets extends ClientSDK { /** * Get Customer Wallets * * @remarks * Use when resolving wallets by external customer id or lookup key (e.g. from your app's user id). Supports optional real-time balance and expand. */ getCustomerWallets(request?: models.GetCustomerWalletsRequest | undefined, options?: RequestOptions): Promise>; /** * Get wallets by customer ID * * @remarks * Use when showing a customer's wallets (e.g. balance overview by currency or in a billing portal). Supports optional expand for balance breakdown. */ getWalletsByCustomerId(id: string, options?: RequestOptions): Promise>; /** * Create a new wallet * * @remarks * Use when giving a customer a prepaid or credit balance (e.g. prepaid plans or promotional credits). */ createWallet(request: models.CreateWalletRequest, options?: RequestOptions): Promise; /** * Query wallets * * @remarks * Use when listing or searching wallets (e.g. admin view or reporting). Returns a paginated list; supports filtering by customer and status. */ queryWallet(request: models.WalletFilter, options?: RequestOptions): Promise; /** * Query wallet transactions * * @remarks * Use when searching or reporting on wallet transactions (e.g. cross-wallet history or reconciliation). Returns a paginated list; supports filtering by wallet, customer, type, date range. */ queryWalletTransaction(request: models.WalletTransactionFilter, options?: RequestOptions): Promise; /** * Get wallet * * @remarks * Use when you need to load a single wallet (e.g. for a balance or settings view). */ getWallet(id: string, options?: RequestOptions): Promise; /** * Update a wallet * * @remarks * Use when changing wallet settings (e.g. enabling or updating auto top-up thresholds). */ updateWallet(id: string, body: models.UpdateWalletRequest, options?: RequestOptions): Promise; /** * Get wallet balance * * @remarks * Use when displaying or checking current wallet balance (e.g. before charging or in a portal). Supports optional expand for credits breakdown and from_cache. */ getWalletBalance(id: string, expand?: string | undefined, options?: RequestOptions): Promise; /** * Terminate a wallet * * @remarks * Use when closing a customer wallet (e.g. churn or migration). Closes the wallet and applies remaining balance per policy (refund or forfeit). */ terminateWallet(id: string, options?: RequestOptions): Promise; /** * Top up wallet * * @remarks * Use when adding funds to a wallet (e.g. top-up, refund, or manual credit). Supports optional idempotency via reference. */ topUpWallet(id: string, body: models.TopUpWalletRequest, options?: RequestOptions): Promise; /** * Get wallet transactions * * @remarks * Use when showing transaction history for a wallet (e.g. credit/debit log or audit). Returns a paginated list; supports limit, offset, and filters. */ getWalletTransactions(request: models.GetWalletTransactionsRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=wallets.d.ts.map