juspay/hyperswitch
GitHub で見る[FEATURE] return list of all the attempts in PayoutsResponse
Open
#6,168 opened on 2024年10月1日
C-featureS-awaiting-triagegood first issuehacktoberfest
Repository metrics
- Stars
- (42,690 stars)
- PR merge metrics
- (平均マージ 6d 22h) (30d で 213 merged PRs)
説明
Feature Description
Currently, a given payout resource can have multiple attempts attached to it if the payout was retried with multiple connectors.
These n number of attempts are linked to the payouts resource should be sent back in the response when fetching a payout and in the webhooks response.
Possible Implementation
- Add a DB query for fetching all the attempts for a given
payout_id - Consume this query while forming API / webhooks response
- Both API and webhook response uses
response_handlerfunction incore/payouts.rsfor forming this response - API response for list APIs uses a transformer, look at both API handlers for list and filter APIs
- Both API and webhook response uses
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