This method retrieves a posted single disbursement transaction by TransactionReferenceNumber. Use it after create, review, or approve. For payload explanations for both request and response, click here
using OneKhusa.SDK;
using OneKhusa.SDK.Models.Transactions.SingleDisbursements.Shared;

//code omitted for brevity

OneKhusaResponse<GetPayoutResponse> response = await client
    .Transactions
    .SingleDisbursements
    .GetPayoutAsync(new GetPayoutRequest
    {
        MerchantAccountNumber = 12345678,
        TransactionReferenceNumber = "260219YXF882"
    });

if (response is { IsSuccess: true, Data: not null })
{
    Console.WriteLine($"""
        MerchantAccountNumber: {response.Data.MerchantAccountNumber};
        MerchantAccountName: {response.Data.MerchantAccountName};
        BeneficiaryAccountNumber: {response.Data.BeneficiaryAccountNumber};
        BeneficiaryName: {response.Data.BeneficiaryName};
        TransactionAmount: {response.Data.TransactionAmount};
        TransactionFee: {response.Data.TransactionFee};
        CurrencyCode: {response.Data.CurrencyCode};
        TransactionReferenceNumber: {response.Data.TransactionReferenceNumber};
        SourceReferenceNumber: {response.Data.SourceReferenceNumber};
        TransactionDescription: {response.Data.TransactionDescription};
        TransactionDate: {response.Data.TransactionDate};
        TransactionStatusCode: {response.Data.TransactionStatusCode};
        TransactionStatusName: {response.Data.TransactionStatusName};
        TransactionType: {response.Data.TransactionType};
        ResponseCode: {response.Data.ResponseCode};
        ResponseMessage: {response.Data.ResponseMessage}
        """);
    return;
}
//it means an error has occurred: RFC7807 compliant error object
Console.WriteLine($"""
        Type: {response.Error?.Type};
        Title: {response.Error?.Title};
        Detail: {response.Error?.Detail};
        ErrorCode: {response.Error?.ErrorCode};
        Status: {response.Error?.Status};
        Instance: {response.Error?.Instance};
        Errors: {string.Join(";", response.Error?.Errors ?? [])}
""");
Console.ReadLine();
Note: Organisation transfers do not have a dedicated get-transaction method. Use SingleDisbursements.GetPayoutAsync with the create response’s TransactionReferenceNumber. History rows expose display TransactionType text (for example Transfer Between Organisations for inter).