Skip to content

[ACL-305] Adds support for Verified Payouts#380

Merged
dili91 merged 10 commits into
mainfrom
tvp
Oct 24, 2025
Merged

[ACL-305] Adds support for Verified Payouts#380
dili91 merged 10 commits into
mainfrom
tvp

Conversation

@dili91

@dili91 dili91 commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

Adds support for Verified payouts.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There's a bug on the GET /payouts/$id endpoint whereby a timestamp instead of a date is returned.
That is going to be fixed in future, in the meantime I've added this custom deserializer to let library users just deal with dates.

Comment thread src/main/java/com/truelayer/java/entities/ResourceType.java

@dili91 dili91 Oct 23, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not considering this a breaking change, because:

  • library users are not expected to instantiate CreatePayoutResponse objects their own
  • the getter for the id field is left untouched

Comment on lines +153 to +159
URI hp2Uri = tlClient.hppLinkBuilder()
.resourceType(ResourceType.PAYOUT)
.resourceId(payoutId)
.resourceToken(resourceToken)
.returnUri(URI.create(RETURN_URI))
.build();
assertCanBrowseLink(hp2Uri);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

At the minute, we don't have a way to trigger execution in an headless fashion in sandbox, hence this test is doing less that what we do elsewhere on acceptance tests

@dili91 dili91 marked this pull request as ready for review October 23, 2025 10:36
@dili91 dili91 requested review from a team as code owners October 23, 2025 10:36
@dili91 dili91 merged commit 1570649 into main Oct 24, 2025
17 checks passed
@dili91 dili91 deleted the tvp branch October 24, 2025 13:26
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