Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
8 changes: 6 additions & 2 deletions src/TrueLayer/MerchantAccounts/Model/GetTransactions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public sealed record PendingPayout(
/// <inheritdoc cref="BaseTransactionPayout"/>
/// <param name="ExecutedAt">The date and time the transaction was executed</param>
/// <param name="ReturnedBy">Unique ID for the external payment that returned this payout</param>
/// <param name="SchemeId">The id of the scheme used to execute the payout</param>
[JsonDiscriminator(Discriminator)]
public sealed record ExecutedPayout(
string Id,
Expand All @@ -145,7 +146,8 @@ public sealed record ExecutedPayout(
PayoutBeneficiaryUnion Beneficiary,
string ContextCode,
string PayoutId,
string ReturnedBy)
string ReturnedBy,
string? SchemeId)
: BaseTransactionPayout(
Id,
Currency,
Expand All @@ -171,6 +173,7 @@ public sealed record ExecutedPayout(
/// <param name="RefundId">Unique ID for the refund</param>
/// <param name="PaymentId">Unique ID for the payment</param>
/// <param name="ReturnedBy">Unique ID for the external payment that returned this payout</param>
/// <param name="SchemeId">The id of the scheme used to execute the payout</param>
[JsonDiscriminator(Discriminator)]
public sealed record Refund(
string Id,
Expand All @@ -183,7 +186,8 @@ public sealed record Refund(
string ContextCode,
string RefundId,
string PaymentId,
string ReturnedBy)
string ReturnedBy,
string? SchemeId)
: BaseTransaction(
Id,
Currency,
Expand Down
Loading