## Search `experimental.payments.search(PaymentSearchParams**kwargs) -> PaymentSearchResponse` **post** `/payments/search` Searches payments. ### Parameters - `page_info: Optional[PageInfo]` Pagination parameters. - `after: Optional[str]` Pagination cursor. - `limit: Optional[float]` Maximum number of results. - `payment_flow_id: Optional[str]` Filter by payment flow ID. ### Returns - `class PaymentSearchResponse: …` List of payments. - `data: List[Payment]` - `id: str` FRAGMENT generated unique ID. - `amount: str` Amount in smallest currency unit. - `created: str` Timestamp when the payment was created. - `currency: str` Currency code. - `direction: str` Direction of the payment. - `modified: str` Timestamp when the payment was last modified. - `payment_account_id: str` Payment account ID. - `payment_flow_id: str` Payment flow ID. - `status: str` Status of the payment. - `transaction_ids: List[str]` Associated transaction IDs. - `external_id: Optional[str]` User-provided unique ID when the payment was created with one. ### Example ```python from fragment import Fragment client = Fragment() response = client.experimental.payments.search() print(response.data) ```