Reviewed Flutter implementation · 2026-10-27
ProxyHoppaRequestCommand.cs
backend/src/NeoBanking.Application/UseCases/Hoppa/ProxyHoppaRequestCommand.cs
Immutable source snapshot based on revision de78e63ed65c. Original line numbers are retained. This is implementation evidence; check the public API catalogue before adapting it.
The mobile /api/v1/mobile routes belong to the example backend. Company credentials stay on that backend. Some sections outside the documented product scope may be omitted.
Lines 1–25
using System.Net.Http; namespace NeoBanking.Application.UseCases.Hoppa; public sealed class ProxyHoppaRequestCommand<TRequest>{ public HttpMethod Method { get; init; } = HttpMethod.Get; public string UpstreamPath { get; init; } = string.Empty; public IReadOnlyDictionary<string, string?> Query { get; init; } = new Dictionary<string, string?>(); public TRequest? Request { get; init; } public string? IdempotencyKey { get; init; } /// <summary>Server-derived authenticated admin identity; never copied from client input.</summary> public string? TrustedReferralActorId { get; init; } /// <summary>Server-only opt-out for sensitive analysis; never populated from a mobile DTO.</summary> public bool SuppressPayloadLogging { get; init; } public string FailureCode { get; init; } = "hoppa.request_failed"; public string FailureMessage { get; init; } = "Hoppa request failed.";}