Skip to content

Conversation

@federico1525
Copy link
Contributor

No description provided.

federico1525 and others added 2 commits July 10, 2025 11:47
This commit adds support for the scheme_id field in merchant account
/transactions endpoint responses for Payouts and Refunds.
The scheme_id field provides information about the payment scheme used
for executing payouts and refunds.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add missing ACL-290 entry for version 17.3.0 (sub_merchants support)
- Update ACL-253 entry to version 17.4.0 (scheme_id support)
- Update gradle.properties version to 17.4.0

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@federico1525 federico1525 requested review from a team as code owners July 11, 2025 12:19
@federico1525 federico1525 requested review from Copilot and dili91 July 11, 2025 12:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds support for the scheme_id field on payout and refund transactions by updating fixtures, entities, tests, and versioning.

  • Extend Payout and Refund classes with a new schemeId field and getter
  • Update JSON test fixtures and constructor calls in TransactionTests
  • Bump version to 17.4.0 and document the change in CHANGELOG.md

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/test/resources/__files/merchant_accounts/200.get_transactions.json Add "scheme_id" entries alongside existing transaction IDs
src/test/java/com/truelayer/java/merchantaccounts/entities/transactions/TransactionTests.java Insert null for the new schemeId parameter in test constructors
src/main/java/com/truelayer/java/merchantaccounts/entities/transactions/Refund.java Import SchemeId, add schemeId field and getSchemeId getter
src/main/java/com/truelayer/java/merchantaccounts/entities/transactions/Payout.java Import SchemeId, add schemeId field and getSchemeId getter
gradle.properties Bump project version from 17.3.0 to 17.4.0
CHANGELOG.md Document new scheme_id support in version 17.4.0
Comments suppressed due to low confidence (1)

src/main/java/com/truelayer/java/merchantaccounts/entities/transactions/Payout.java:66

  • Consider adding a unit test to verify that schemeId is correctly serialized/deserialized and accessible via getSchemeId().
    public Optional<SchemeId> getSchemeId() {

@federico1525 federico1525 merged commit dde4910 into main Aug 7, 2025
17 checks passed
@federico1525 federico1525 deleted the feature/ACL-253-add-scheme-id-to-transactions branch August 7, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants