diff --git a/src/CMSMicroservice.Infrastructure/Services/Payment/TwentyCardPaymentService.cs b/src/CMSMicroservice.Infrastructure/Services/Payment/TwentyCardPaymentService.cs index f086906..f2c45fc 100644 --- a/src/CMSMicroservice.Infrastructure/Services/Payment/TwentyCardPaymentService.cs +++ b/src/CMSMicroservice.Infrastructure/Services/Payment/TwentyCardPaymentService.cs @@ -23,7 +23,7 @@ public class TwentyCardPaymentService : IPaymentGatewayService private static readonly JsonSerializerOptions JsonOptions = new() { - PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower, + PropertyNamingPolicy = JsonNamingPolicy.CamelCase, PropertyNameCaseInsensitive = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull }; @@ -281,7 +281,10 @@ public class TwentyCardPaymentService : IPaymentGatewayService private sealed class TwentyCardRequestData { + [JsonPropertyName("authority")] public string? Authority { get; set; } + + [JsonPropertyName("redirectUrl")] public string? RedirectUrl { get; set; } }