List Payments
Changed onList all payments with pagination, filtering, and sorting options.
Payments can be filtered by invoice IDs, statuses, date ranges, or search terms.
Request
- Base URLhttps://stream-app-service.streampay.sa
- Auth
- HTTP bearer
- or API key in header x-api-key
Query parameters
Filter by invoice IDs. Default is None.
Filter by payment statuses. Default is None.
Search term to filter payments. Default is None.
Filter payments from this date. Default is None.
Filter payments up to this date. Default is None.
Page number, defaults to 1.
Size of a page, defaults to 10. Maximum is 100.
Field to sort by, e.g., 'amount', 'scheduled_on'
Sorting direction ('asc' or 'desc')
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status
- info
- warning
added the new
BNPLenum value to the//response property for the response status - warning
added the new
PARTIALLY_REFUNDEDenum value to the//response property for the response status - warning
added the new
SPLIT_REMAINDERenum value to the//response property for the response status - info
added the enum value
PARTIALLY_REFUNDEDto the propertyitems/of thequeryrequest parameterstatuses - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning