NiceUrlResponse.cs 682 B

12345678910111213141516171819202122232425
  1. using System.Text.Json.Serialization;
  2. namespace Infrastructure.Kyc.Nice.Dto;
  3. /// <summary>
  4. /// POST /ido/intc/v1.0/auth/url 응답. 가이드 §2-2.
  5. /// </summary>
  6. internal sealed class NiceUrlResponse
  7. {
  8. [JsonPropertyName("result_code")]
  9. public string? ResultCode { get; set; }
  10. [JsonPropertyName("result_message")]
  11. public string? ResultMessage { get; set; }
  12. [JsonPropertyName("request_no")]
  13. public string? RequestNo { get; set; }
  14. /// <summary>표준창 URL (10분 유효).</summary>
  15. [JsonPropertyName("auth_url")]
  16. public string? AuthUrl { get; set; }
  17. [JsonPropertyName("transaction_id")]
  18. public string? TransactionId { get; set; }
  19. }