Search
experimental.payments.search(PaymentSearchParams**kwargs) -> PaymentSearchResponse
POST/payments/search
Searches payments.
Parameters
payment_flow_id: Optional[str]
Filter by payment flow ID.
Returns
Search
from fragment import Fragment
client = Fragment()
response = client.experimental.payments.search()
print(response.data){
"data": [
{
"id": "pmt_abc123",
"amount": "10000",
"created": "2024-01-01T00:00:00.000Z",
"currency": "USD",
"direction": "payin",
"modified": "2024-01-01T00:00:00.000Z",
"payment_account_id": "pmt_account_abc123",
"payment_flow_id": "pf_xyz789",
"status": "settled",
"transaction_ids": [
"txn_abc123"
],
"external_id": "pmt_ext_123"
}
]
}Returns Examples
{
"data": [
{
"id": "pmt_abc123",
"amount": "10000",
"created": "2024-01-01T00:00:00.000Z",
"currency": "USD",
"direction": "payin",
"modified": "2024-01-01T00:00:00.000Z",
"payment_account_id": "pmt_account_abc123",
"payment_flow_id": "pf_xyz789",
"status": "settled",
"transaction_ids": [
"txn_abc123"
],
"external_id": "pmt_ext_123"
}
]
}