@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
53 lines • 1.62 kB
TypeScript
import type { payout_methods } from '../models/payout_methods.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class PayoutMethodsService {
/**
* List payout methods
* Payout methods - manage beneficiary payout details
* @returns any Successful response with paginated data
* @throws ApiError
*/
static listPayoutMethods({ limit, offset, sort, }: {
/**
* Maximum number of items to return (1-100)
*/
limit?: number;
/**
* Number of items to skip for pagination
*/
offset?: number;
/**
* Sort order. Format: `field:direction` (e.g., `created_at:desc`)
*/
sort?: string;
}): CancelablePromise<{
data?: Array<payout_methods>;
pagination?: {
/**
* Number of items per page
*/
limit?: number;
/**
* Number of items skipped
*/
offset?: number;
/**
* Total number of items available
*/
total?: number;
};
}>;
/**
* Retrieve payout method
* Retrieve a specific payout method by its unique identifier.
* @returns payout_methods Payout_method retrieved successfully
* @throws ApiError
*/
static retrievePayoutMethod({ payoutMethodId, }: {
/**
* Unique identifier for the payout method
*/
payoutMethodId: string;
}): CancelablePromise<payout_methods>;
}
//# sourceMappingURL=PayoutMethodsService.d.ts.map