Skip to content

Commit 2179726

Browse files
federico1525claude
andauthored
[ACL-252] Add Payouts scheme_id field from GetTransactions (#253)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8a6656d commit 2179726

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [1.25.0] - 2025-10-14
7+
### Added
8+
- Added `SchemeId` field to `ExecutedPayout` and `Refund` transaction types in Merchant Account transactions endpoint response
9+
610
## [1.24.0] - 2025-01-24
711
### Added
812
- Enhanced RefundUnion to include all refund statuses: `RefundExecuted` and `RefundFailed` in addition to existing `RefundPending` and `RefundAuthorized`

src/TrueLayer/MerchantAccounts/Model/GetTransactions.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public sealed record PendingPayout(
134134
/// <inheritdoc cref="BaseTransactionPayout"/>
135135
/// <param name="ExecutedAt">The date and time the transaction was executed</param>
136136
/// <param name="ReturnedBy">Unique ID for the external payment that returned this payout</param>
137+
/// <param name="SchemeId">The id of the scheme used to execute the payout</param>
137138
[JsonDiscriminator(Discriminator)]
138139
public sealed record ExecutedPayout(
139140
string Id,
@@ -145,7 +146,8 @@ public sealed record ExecutedPayout(
145146
PayoutBeneficiaryUnion Beneficiary,
146147
string ContextCode,
147148
string PayoutId,
148-
string ReturnedBy)
149+
string ReturnedBy,
150+
string? SchemeId)
149151
: BaseTransactionPayout(
150152
Id,
151153
Currency,
@@ -171,6 +173,7 @@ public sealed record ExecutedPayout(
171173
/// <param name="RefundId">Unique ID for the refund</param>
172174
/// <param name="PaymentId">Unique ID for the payment</param>
173175
/// <param name="ReturnedBy">Unique ID for the external payment that returned this payout</param>
176+
/// <param name="SchemeId">The id of the scheme used to execute the payout</param>
174177
[JsonDiscriminator(Discriminator)]
175178
public sealed record Refund(
176179
string Id,
@@ -183,7 +186,8 @@ public sealed record Refund(
183186
string ContextCode,
184187
string RefundId,
185188
string PaymentId,
186-
string ReturnedBy)
189+
string ReturnedBy,
190+
string? SchemeId)
187191
: BaseTransaction(
188192
Id,
189193
Currency,

0 commit comments

Comments
 (0)