mercadopago
Version:
Mercadopago SDK for Node.js
16 lines (15 loc) • 581 B
TypeScript
/**
* Implementation of the "search preferences" operation.
*
* Sends a GET to `/checkout/preferences/search` with optional query
* parameters and returns a paginated list of matching preferences.
*
* @module clients/preference/search
*/
import type { PreferenceSearchClient, PreferenceSearchResponse } from './types';
/**
* Search Checkout Pro preferences using optional filters.
*
* @returns A paginated result containing matching preference summaries.
*/
export default function search({ options, config }: PreferenceSearchClient): Promise<PreferenceSearchResponse>;