-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
C-featureCategory: Feature request or enhancementCategory: Feature request or enhancementS-awaiting-triageStatus: New issues that have not been assessed yetStatus: New issues that have not been assessed yet
Description
Feature Description
In my use-case, I need to view payments sorted based on their most recent updates rather than their creation time.
Currently, the payments list API only supports sorting by created_at, which makes it difficult to identify payments that were recently modified due to status changes, refunds, captures, or other updates.
Adding support for sorting by modified_at would improve visibility into recently updated payments and make debugging/support workflows much easier.
Possible Implementation
- Extend the
SortOnenum to include aModifiedvariant. - Update the payment list query logic to support sorting by the
modified_atfield. - Ensure both ascending and descending ordering is supported (
SortBy::AscandSortBy::Desc). - Keep existing
created_atsorting behavior unchanged as the default.
Have you spent some time checking if this feature request has been raised before?
- I checked and didn't find a similar issue
Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit a PR?
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-featureCategory: Feature request or enhancementCategory: Feature request or enhancementS-awaiting-triageStatus: New issues that have not been assessed yetStatus: New issues that have not been assessed yet