diff --git a/CHANGELOG.md b/CHANGELOG.md index bf1d1dd9..712ddbe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [1.25.0] - 2025-10-14 +### Added +- Added `SchemeId` field to `ExecutedPayout` and `Refund` transaction types in Merchant Account transactions endpoint response + ## [1.24.0] - 2025-01-24 ### Added - Enhanced RefundUnion to include all refund statuses: `RefundExecuted` and `RefundFailed` in addition to existing `RefundPending` and `RefundAuthorized` diff --git a/src/TrueLayer/MerchantAccounts/Model/GetTransactions.cs b/src/TrueLayer/MerchantAccounts/Model/GetTransactions.cs index 43525350..94d529bd 100644 --- a/src/TrueLayer/MerchantAccounts/Model/GetTransactions.cs +++ b/src/TrueLayer/MerchantAccounts/Model/GetTransactions.cs @@ -134,6 +134,7 @@ public sealed record PendingPayout( /// /// The date and time the transaction was executed /// Unique ID for the external payment that returned this payout + /// The id of the scheme used to execute the payout [JsonDiscriminator(Discriminator)] public sealed record ExecutedPayout( string Id, @@ -145,7 +146,8 @@ public sealed record ExecutedPayout( PayoutBeneficiaryUnion Beneficiary, string ContextCode, string PayoutId, - string ReturnedBy) + string ReturnedBy, + string? SchemeId) : BaseTransactionPayout( Id, Currency, @@ -171,6 +173,7 @@ public sealed record ExecutedPayout( /// Unique ID for the refund /// Unique ID for the payment /// Unique ID for the external payment that returned this payout + /// The id of the scheme used to execute the payout [JsonDiscriminator(Discriminator)] public sealed record Refund( string Id, @@ -183,7 +186,8 @@ public sealed record Refund( string ContextCode, string RefundId, string PaymentId, - string ReturnedBy) + string ReturnedBy, + string? SchemeId) : BaseTransaction( Id, Currency,