diff --git a/Marqeta.Core.Sdk/MarqetaClient.g.cs b/Marqeta.Core.Sdk/MarqetaClient.g.cs index b7a6fac1..2f0196a4 100644 --- a/Marqeta.Core.Sdk/MarqetaClient.g.cs +++ b/Marqeta.Core.Sdk/MarqetaClient.g.cs @@ -273,19 +273,30 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific account holder group object + /// Lists account holder groups /// - /// Account holder group token + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AccountholdergroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AccountholdergroupsGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups?"); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -319,7 +330,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -333,12 +344,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Auto reload not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -366,22 +371,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates an account holder group object + /// Creates an account holder group object /// - /// Account holder group update object - /// Success + /// Account holder group object + /// Created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AccountholdergroupsPutAsync(Account_holder_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AccountholdergroupsPostAsync(Account_holder_group_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups"); var client_ = _httpClient; var disposeClient_ = false; @@ -393,7 +394,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -417,7 +418,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -433,6 +434,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -460,30 +467,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists account holder groups + /// Returns a specific account holder group object /// - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. + /// Account holder group token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AccountholdergroupsGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AccountholdergroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups?"); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -517,7 +513,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -531,6 +527,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Auto reload not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -558,18 +560,22 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an account holder group object + /// Updates an account holder group object /// - /// Account holder group object - /// Created + /// Account holder group update object + /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AccountholdergroupsPostAsync(Account_holder_group_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AccountholdergroupsPutAsync(Account_holder_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountholdergroups/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -581,7 +587,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -605,7 +611,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -621,12 +627,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -654,45 +654,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all global auth control exceptions for the program + /// Returns a specific auth control exemptmids /// - /// Card product token. Use "null" to get auth controls that are not associated with any card product. - /// User token. Use "null" to get auth controls that are not associated with any user. - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. + /// Auth control token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AuthcontrolsGetAsync(string card_product = null, string user = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AuthcontrolsExemptmidsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols?"); - if (card_product != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("card_product") + "=").Append(System.Uri.EscapeDataString(ConvertToString(card_product, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (user != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("user") + "=").Append(System.Uri.EscapeDataString(ConvertToString(user, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols/exemptmids/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -726,7 +700,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -740,6 +714,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Auth control exception MIDs not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -767,18 +747,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an auth control exception + /// Updates the status an auth control exemptmids /// - /// Auth control object - /// Created + /// Auth control token + /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AuthcontrolsPostAsync(Auth_control_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AuthcontrolsExemptmidsPutAsync(string token, Auth_control_exempt_mids_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (body == null) - throw new System.ArgumentNullException("body"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols/exemptmids/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -790,8 +771,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + request_.Method = new System.Net.Http.HttpMethod("PUT"); PrepareRequest(client_, request_, urlBuilder_); @@ -814,14 +794,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 204) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; + return; } else if (status_ == 400) @@ -830,12 +805,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -1072,19 +1041,45 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific auth control exemptmids + /// Lists all global auth control exceptions for the program /// - /// Auth control token + /// Card product token. Use "null" to get auth controls that are not associated with any card product. + /// User token. Use "null" to get auth controls that are not associated with any user. + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AuthcontrolsExemptmidsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AuthcontrolsGetAsync(string card_product = null, string user = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols/exemptmids/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols?"); + if (card_product != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("card_product") + "=").Append(System.Uri.EscapeDataString(ConvertToString(card_product, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (user != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("user") + "=").Append(System.Uri.EscapeDataString(ConvertToString(user, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -1118,7 +1113,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -1132,12 +1127,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Auth control exception MIDs not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -1165,19 +1154,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates the status an auth control exemptmids + /// Creates an auth control exception /// - /// Auth control token - /// Success - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AuthcontrolsExemptmidsPutAsync(string token, Auth_control_exempt_mids_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + /// Auth control object + /// Created + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task AuthcontrolsPostAsync(Auth_control_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (body == null) + throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols/exemptmids/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/authcontrols"); var client_ = _httpClient; var disposeClient_ = false; @@ -1189,7 +1177,8 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -1212,9 +1201,14 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 204) + if (status_ == 201) { - return; + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; } else if (status_ == 400) @@ -1223,6 +1217,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -1444,24 +1444,49 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific auto reload object + /// Lists all auto reloads for the program /// - /// Auto reload token + /// Card product token + /// User token + /// Business token + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AutoreloadsGetAsync(string token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AutoreloadsGetAsync(string card_product = null, string user_token = null, string business_token = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads/{token}?"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads?"); + if (card_product != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("card_product") + "=").Append(System.Uri.EscapeDataString(ConvertToString(card_product, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (user_token != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("user_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (business_token != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("business_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } urlBuilder_.Length--; var client_ = _httpClient; @@ -1496,7 +1521,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -1510,12 +1535,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Auto reload not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -1543,22 +1562,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific auto reload object + /// Creates an auto reload object /// /// Auto reload object - /// Success + /// Created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AutoreloadsPutAsync(Auto_reload_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AutoreloadsPostAsync(Auto_reload_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads"); var client_ = _httpClient; var disposeClient_ = false; @@ -1570,7 +1585,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -1594,7 +1609,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -1610,6 +1625,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -1637,49 +1658,24 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all auto reloads for the program + /// Returns a specific auto reload object /// - /// Card product token - /// User token - /// Business token - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. + /// Auto reload token /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AutoreloadsGetAsync(string card_product = null, string user_token = null, string business_token = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AutoreloadsGetAsync(string token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads?"); - if (card_product != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("card_product") + "=").Append(System.Uri.EscapeDataString(ConvertToString(card_product, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (user_token != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("user_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (business_token != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("business_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads/{token}?"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } urlBuilder_.Length--; var client_ = _httpClient; @@ -1714,7 +1710,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -1728,6 +1724,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Auto reload not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -1755,18 +1757,22 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an auto reload object + /// Updates a specific auto reload object /// /// Auto reload object - /// Created + /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AutoreloadsPostAsync(Auto_reload_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AutoreloadsPutAsync(Auto_reload_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/autoreloads/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -1778,7 +1784,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -1802,7 +1808,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -1818,12 +1824,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -5651,38 +5651,28 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists cards by the last 4 digits + /// Returns a specific card /// - /// Last four digits of card number - /// Number of cards to retrieve - /// Start index + /// Card token /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Sort order + /// Object to expand /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CardsGetAsync(string last_four, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CardsGetAsync(string token, string fields = null, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (last_four == null) - throw new System.ArgumentNullException("last_four"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards?"); - urlBuilder_.Append(System.Uri.EscapeDataString("last_four") + "=").Append(System.Uri.EscapeDataString(ConvertToString(last_four, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards/{token}?"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (sort_by != null) + if (expand != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("expand") + "=").Append(System.Uri.EscapeDataString(ConvertToString(expand, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -5718,7 +5708,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -5729,7 +5719,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Bad request", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + } + else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Card not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -5759,25 +5755,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a card + /// Updates a specific card /// - /// Show CVV - /// Show PAN + /// Card token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CardsPostAsync(Card_request body = null, bool? show_cvv_number = null, bool? show_pan = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CardsPutAsync(string token, Card_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards?"); - if (show_cvv_number != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("show_cvv_number") + "=").Append(System.Uri.EscapeDataString(ConvertToString(show_cvv_number, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (show_pan != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("show_pan") + "=").Append(System.Uri.EscapeDataString(ConvertToString(show_pan, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -5789,7 +5779,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -5813,7 +5803,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -5829,12 +5819,6 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -5862,28 +5846,38 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific card + /// Lists cards by the last 4 digits /// - /// Card token + /// Last four digits of card number + /// Number of cards to retrieve + /// Start index /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Object to expand + /// Sort order /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CardsGetAsync(string token, string fields = null, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CardsGetAsync(string last_four, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (last_four == null) + throw new System.ArgumentNullException("last_four"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards/{token}?"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards?"); + urlBuilder_.Append(System.Uri.EscapeDataString("last_four") + "=").Append(System.Uri.EscapeDataString(ConvertToString(last_four, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (expand != null) + if (sort_by != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("expand") + "=").Append(System.Uri.EscapeDataString(ConvertToString(expand, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -5919,7 +5913,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -5930,13 +5924,7 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); - } - else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Card not found", status_, responseText_, headers_, null); + throw new ApiException("Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -5966,19 +5954,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific card + /// Creates a card /// - /// Card token + /// Show CVV + /// Show PAN /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CardsPutAsync(string token, Card_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CardsPostAsync(Card_request body = null, bool? show_cvv_number = null, bool? show_pan = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/cards?"); + if (show_cvv_number != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("show_cvv_number") + "=").Append(System.Uri.EscapeDataString(ConvertToString(show_cvv_number, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (show_pan != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("show_pan") + "=").Append(System.Uri.EscapeDataString(ConvertToString(show_pan, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -5990,7 +5984,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -6014,7 +6008,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -6030,6 +6024,12 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -6165,18 +6165,17 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific chargeback transition + /// Returns a specific chargeback /// - /// Chargeback transition token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ChargebacksTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ChargebacksGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/chargebacks/transitions/{token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/chargebacks/{token}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -6211,7 +6210,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -6219,16 +6218,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 400) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); - } - else if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Transition not found", status_, responseText_, headers_, null); + throw new ApiException("Chargeback not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -6258,11 +6251,11 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific chargeback + /// Updates chargeback data /// /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ChargebacksGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ChargebacksPutAsync(string token, ChargebackUpdateRequest body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); @@ -6277,7 +6270,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -6311,12 +6308,18 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 404) + if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); throw new ApiException("Chargeback not found", status_, responseText_, headers_, null); } else + if (status_ == 422) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Unable to update chargeback", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -6344,17 +6347,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates chargeback data + /// Returns a specific chargeback transition /// + /// Chargeback transition token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ChargebacksPutAsync(string token, ChargebackUpdateRequest body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ChargebacksTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/chargebacks/{token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/chargebacks/transitions/{token}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -6363,11 +6367,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -6393,7 +6393,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -6404,13 +6404,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Chargeback not found", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else - if (status_ == 422) + if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Unable to update chargeback", status_, responseText_, headers_, null); + throw new ApiException("Transition not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -7231,19 +7231,30 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific commando mode transition + /// Lists all commando mode control sets /// - /// Commando mode transition token + /// Number of commando modes to retrieve + /// Start index + /// Sort order /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CommandomodesTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CommandomodesGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/commandomodes/transitions/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/commandomodes?"); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -7277,7 +7288,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -7288,13 +7299,7 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); - } - else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Transition not found", status_, responseText_, headers_, null); + throw new ApiException("Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -7324,35 +7329,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all commando mode transitions related to a commando mode control set + /// Returns a specific commando mode transition /// - /// Commando mode token - /// Number of transitions to retrieve - /// Start index - /// Sort order + /// Commando mode transition token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CommandomodesTransitionsGetAsync(string commandomode_token, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CommandomodesTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (commandomode_token == null) - throw new System.ArgumentNullException("commandomode_token"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/commandomodes/{commandomode_token}/transitions?"); - urlBuilder_.Replace("{commandomode_token}", System.Uri.EscapeDataString(ConvertToString(commandomode_token, System.Globalization.CultureInfo.InvariantCulture))); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/commandomodes/transitions/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -7386,7 +7375,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -7397,7 +7386,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Bad request", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + } + else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Transition not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -7427,17 +7422,22 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all commando mode control sets + /// Lists all commando mode transitions related to a commando mode control set /// - /// Number of commando modes to retrieve + /// Commando mode token + /// Number of transitions to retrieve /// Start index /// Sort order /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CommandomodesGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CommandomodesTransitionsGetAsync(string commandomode_token, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (commandomode_token == null) + throw new System.ArgumentNullException("commandomode_token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/commandomodes?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/commandomodes/{commandomode_token}/transitions?"); + urlBuilder_.Replace("{commandomode_token}", System.Uri.EscapeDataString(ConvertToString(commandomode_token, System.Globalization.CultureInfo.InvariantCulture))); if (count != null) { urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -7484,7 +7484,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -8907,19 +8907,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get direct deposit account transition. + /// Get User for Plain Text Account Number /// - /// Get specific direct deposit account transition + /// Get user associated with direct deposit account number /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DepositaccountsTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DepositaccountsAccountUserAsync(string account_number, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (account_number == null) + throw new System.ArgumentNullException("account_number"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/transitions/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/account/{account_number}/user"); + urlBuilder_.Replace("{account_number}", System.Uri.EscapeDataString(ConvertToString(account_number, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -8953,7 +8953,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -8994,39 +8994,49 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update CDD answers for Direct Deposit Account + /// List all specific direct deposit accounts. /// - /// Update CDD answers + /// Get specific direct deposit account + /// Number of users to retrieve + /// Start index + /// Sort order + /// Direct deposit account status /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DepositaccountsCddPutAsync(CustomerDueDiligenceUpdateRequest body, string token, string cddtoken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DepositaccountsUserAsync(string token, int? count = null, int? start_index = null, string sort_by = null, State? state = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); - if (cddtoken == null) - throw new System.ArgumentNullException("cddtoken"); - - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/{token}/cdd/{cddtoken}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/user/{token}?"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); - urlBuilder_.Replace("{cddtoken}", System.Uri.EscapeDataString(ConvertToString(cddtoken, System.Globalization.CultureInfo.InvariantCulture))); - - var client_ = _httpClient; - var disposeClient_ = false; - try + if (count != null) { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (state != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("state") + "=").Append(System.Uri.EscapeDataString(ConvertToString(state, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; + + var client_ = _httpClient; + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -9051,7 +9061,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -9092,35 +9102,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get direct deposit account transition list for card holder. + /// Get direct deposit account transition. /// - /// Get direct deposit account transition list for user - /// Number of users to retrieve - /// Start index - /// Sort order + /// Get specific direct deposit account transition /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DepositaccountsTransitionsGetAsync(string user_token, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DepositaccountsTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (user_token == null) - throw new System.ArgumentNullException("user_token"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/{user_token}/transitions?"); - urlBuilder_.Replace("{user_token}", System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/transitions/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -9197,17 +9191,33 @@ public string BaseUrl /// /// Get direct deposit account transition list for card holder. /// - /// Get CDD info for a specific DDA token + /// Get direct deposit account transition list for user + /// Number of users to retrieve + /// Start index + /// Sort order /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DepositaccountsCddGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DepositaccountsTransitionsGetAsync(string user_token, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (user_token == null) + throw new System.ArgumentNullException("user_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/{token}/cdd"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/{user_token}/transitions?"); + urlBuilder_.Replace("{user_token}", System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -9241,7 +9251,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -9282,19 +9292,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get User for Plain Text Account Number + /// Get direct deposit account transition list for card holder. /// - /// Get user associated with direct deposit account number + /// Get CDD info for a specific DDA token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DepositaccountsAccountUserAsync(string account_number, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DepositaccountsCddGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (account_number == null) - throw new System.ArgumentNullException("account_number"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/account/{account_number}/user"); - urlBuilder_.Replace("{account_number}", System.Uri.EscapeDataString(ConvertToString(account_number, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/{token}/cdd"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -9328,7 +9338,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -9369,40 +9379,26 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// List all specific direct deposit accounts. + /// Update CDD answers for Direct Deposit Account /// - /// Get specific direct deposit account - /// Number of users to retrieve - /// Start index - /// Sort order - /// Direct deposit account status + /// Update CDD answers /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DepositaccountsUserAsync(string token, int? count = null, int? start_index = null, string sort_by = null, State? state = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DepositaccountsCddPutAsync(CustomerDueDiligenceUpdateRequest body, string token, string cddtoken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); + if (cddtoken == null) + throw new System.ArgumentNullException("cddtoken"); + + if (body == null) + throw new System.ArgumentNullException("body"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/user/{token}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/depositaccounts/{token}/cdd/{cddtoken}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (state != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("state") + "=").Append(System.Uri.EscapeDataString(ConvertToString(state, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Replace("{cddtoken}", System.Uri.EscapeDataString(ConvertToString(cddtoken, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -9410,7 +9406,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -9436,7 +9436,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -9567,19 +9567,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns an account and routing number which can be used for direct deposit + /// Returns a direct deposit entry /// /// Success /// A server side error occurred. - [System.Obsolete] - public virtual async System.Threading.Tasks.Task DirectdepositsAccountsGetAsync(string user_or_business_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DirectdepositsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (user_or_business_token == null) - throw new System.ArgumentNullException("user_or_business_token"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/directdeposits/accounts/{user_or_business_token}"); - urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/directdeposits/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -9613,7 +9612,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -9621,16 +9620,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 400) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Cardholder not found", status_, responseText_, headers_, null); - } - else if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Account not found", status_, responseText_, headers_, null); + throw new ApiException("Direct deposit entry not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -9660,21 +9653,16 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific direct deposit account + /// Returns an account and routing number which can be used for direct deposit /// - /// User or business token - /// Deposit account update request /// Success /// A server side error occurred. [System.Obsolete] - public virtual async System.Threading.Tasks.Task DirectdepositsAccountsPutAsync(string user_or_business_token, DepositAccountUpdateRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DirectdepositsAccountsGetAsync(string user_or_business_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (user_or_business_token == null) throw new System.ArgumentNullException("user_or_business_token"); - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/directdeposits/accounts/{user_or_business_token}"); urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); @@ -9685,11 +9673,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -9726,7 +9710,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + throw new ApiException("Cardholder not found", status_, responseText_, headers_, null); + } + else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Account not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -9756,18 +9746,24 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a direct deposit entry + /// Updates a specific direct deposit account /// + /// User or business token + /// Deposit account update request /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DirectdepositsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + [System.Obsolete] + public virtual async System.Threading.Tasks.Task DirectdepositsAccountsPutAsync(string user_or_business_token, DepositAccountUpdateRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (user_or_business_token == null) + throw new System.ArgumentNullException("user_or_business_token"); + + if (body == null) + throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/directdeposits/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/directdeposits/accounts/{user_or_business_token}"); + urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -9775,7 +9771,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -9801,7 +9801,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -9809,10 +9809,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 404) + if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Direct deposit entry not found", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -11007,19 +11007,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Retrieves a linked funding source balance from a partner + /// Registers a payment card funding source /// - /// Funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAchPartnerBalanceAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesPaymentcardPostAsync(Token_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (funding_source_token == null) - throw new System.ArgumentNullException("funding_source_token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/partner/{funding_source_token}/balance"); - urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/paymentcard"); var client_ = _httpClient; var disposeClient_ = false; @@ -11027,7 +11022,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -11053,7 +11052,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11067,10 +11066,10 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) + if (status_ == 409) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Not found", status_, responseText_, headers_, null); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -11100,18 +11099,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a user ACH account + /// Returns a specific payment card /// - /// Funding account token + /// Funding token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAchGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesPaymentcardGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (funding_source_token == null) throw new System.ArgumentNullException("funding_source_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/{funding_source_token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/paymentcard/{funding_source_token}"); urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -11146,7 +11145,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11193,17 +11192,22 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Verifies a bank account as a funding source + /// Updates a specific payment card /// + /// Funding account token + /// Payment card /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAchPutAsync(string funding_source_token, Ach_verification_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesPaymentcardPutAsync(string funding_source_token, Token_update_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (funding_source_token == null) throw new System.ArgumentNullException("funding_source_token"); + if (body == null) + throw new System.ArgumentNullException("body"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/{funding_source_token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/paymentcard/{funding_source_token}"); urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -11242,7 +11246,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11283,19 +11287,30 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns the dollar amounts used to verify the ACH account + /// Lists all funding sources for a user /// - /// Funding account token + /// User token + /// Type, such as a payment card or ACH + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAchVerificationamountsAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesUserAsync(string user_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (funding_source_token == null) - throw new System.ArgumentNullException("funding_source_token"); + if (user_token == null) + throw new System.ArgumentNullException("user_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/{funding_source_token}/verificationamounts"); - urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/user/{user_token}?"); + urlBuilder_.Replace("{user_token}", System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))); + if (type != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("type") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -11329,7 +11344,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11343,6 +11358,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("No funding accounts found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -11370,20 +11391,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all addresses for a user + /// Lists all funding sources for a business /// - /// User token + /// Business token + /// Type, such as a payment card or ACH /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAddressesUserAsync(string user_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesBusinessAsync(string business_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (user_token == null) - throw new System.ArgumentNullException("user_token"); + if (business_token == null) + throw new System.ArgumentNullException("business_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/user/{user_token}?"); - urlBuilder_.Replace("{user_token}", System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/business/{business_token}?"); + urlBuilder_.Replace("{business_token}", System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))); + if (type != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("type") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -11422,7 +11448,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11439,7 +11465,7 @@ public string BaseUrl if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Not found", status_, responseText_, headers_, null); + throw new ApiException("No funding accounts found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -11469,25 +11495,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all addresses for a business + /// Configures a default funding source /// - /// Business token - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Funding account /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAddressesBusinessAsync(string business_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesDefaultAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (business_token == null) - throw new System.ArgumentNullException("business_token"); + if (funding_source_token == null) + throw new System.ArgumentNullException("funding_source_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/business/{business_token}?"); - urlBuilder_.Replace("{business_token}", System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/{funding_source_token}/default"); + urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -11495,7 +11515,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -11521,7 +11542,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11535,12 +11556,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -11568,19 +11583,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a user address for a funding source + /// Registers an ACH funding source /// - /// Funding source address token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAddressesGetAsync(string funding_source_address_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAchPostAsync(Ach_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (funding_source_address_token == null) - throw new System.ArgumentNullException("funding_source_address_token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/{funding_source_address_token}"); - urlBuilder_.Replace("{funding_source_address_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_address_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach"); var client_ = _httpClient; var disposeClient_ = false; @@ -11588,7 +11598,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -11614,7 +11628,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11628,10 +11642,10 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) + if (status_ == 409) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Not found", status_, responseText_, headers_, null); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -11661,19 +11675,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates the account holder address for a funding source + /// Registers an ACH funding source through a partner /// - /// Funding source address token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAddressesPutAsync(string funding_source_address_token, Card_holder_address_update_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAchPartnerAsync(Ach_partner_request_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (funding_source_address_token == null) - throw new System.ArgumentNullException("funding_source_address_token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/{funding_source_address_token}"); - urlBuilder_.Replace("{funding_source_address_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_address_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/partner"); var client_ = _httpClient; var disposeClient_ = false; @@ -11685,7 +11694,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -11711,7 +11720,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11725,6 +11734,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -11752,18 +11767,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific program funding source + /// Returns a gateway program funding source /// - /// Program funding source token + /// Gateway program funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesProgramGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/program/{token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway/{token}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -11798,7 +11813,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11809,7 +11824,7 @@ public string BaseUrl if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Program funding source not found", status_, responseText_, headers_, null); + throw new ApiException("Gateway program funding source not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -11839,18 +11854,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific program funding source + /// Updates a specific gateway program funding source /// - /// Program funding source token + /// Gateway program funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesProgramPutAsync(string token, Program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayPutAsync(string token, Gateway_program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/program/{token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway/{token}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -11889,7 +11904,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -11930,14 +11945,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a gateway program funding source + /// Updates a specific gateway program funding source Custom headers /// + /// Gateway program funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayPostAsync(Gateway_program_funding_source_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayCustomheadersAsync(string token, Gateway_program_custom_header_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway/customheaders/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -11949,7 +11969,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -11973,7 +11993,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11989,12 +12009,6 @@ public string BaseUrl throw new ApiException("Invalid fields detected", status_, responseText_, headers_, null); } else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Request already processed with a different payload", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -12022,14 +12036,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Registers a payment card funding source + /// Creates a gateway program funding source /// /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesPaymentcardPostAsync(Token_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayPostAsync(Gateway_program_funding_source_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/paymentcard"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway"); var client_ = _httpClient; var disposeClient_ = false; @@ -12065,9 +12079,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12078,13 +12092,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Bad request", status_, responseText_, headers_, null); + throw new ApiException("Invalid fields detected", status_, responseText_, headers_, null); } else if (status_ == 409) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + throw new ApiException("Request already processed with a different payload", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -12114,18 +12128,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific payment card + /// Retrieves a linked funding source balance from a partner /// - /// Funding token + /// Funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesPaymentcardGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAchPartnerBalanceAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (funding_source_token == null) throw new System.ArgumentNullException("funding_source_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/paymentcard/{funding_source_token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/partner/{funding_source_token}/balance"); urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -12160,7 +12174,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12207,22 +12221,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific payment card + /// Returns a user ACH account /// /// Funding account token - /// Payment card /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesPaymentcardPutAsync(string funding_source_token, Token_update_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAchGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (funding_source_token == null) throw new System.ArgumentNullException("funding_source_token"); - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/paymentcard/{funding_source_token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/{funding_source_token}"); urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -12231,11 +12241,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12261,7 +12267,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12275,6 +12281,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -12302,38 +12314,30 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all funding sources for a user + /// Verifies a bank account as a funding source /// - /// User token - /// Type, such as a payment card or ACH - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesUserAsync(string user_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAchPutAsync(string funding_source_token, Ach_verification_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (user_token == null) - throw new System.ArgumentNullException("user_token"); + if (funding_source_token == null) + throw new System.ArgumentNullException("funding_source_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/user/{user_token}?"); - urlBuilder_.Replace("{user_token}", System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))); - if (type != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("type") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = _httpClient; - var disposeClient_ = false; - try + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/{funding_source_token}"); + urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); + + var client_ = _httpClient; + var disposeClient_ = false; + try { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12359,7 +12363,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12373,12 +12377,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("No funding accounts found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -12406,30 +12404,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all funding sources for a business + /// Returns the dollar amounts used to verify the ACH account /// - /// Business token - /// Type, such as a payment card or ACH - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Funding account token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesBusinessAsync(string business_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAchVerificationamountsAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (business_token == null) - throw new System.ArgumentNullException("business_token"); + if (funding_source_token == null) + throw new System.ArgumentNullException("funding_source_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/business/{business_token}?"); - urlBuilder_.Replace("{business_token}", System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))); - if (type != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("type") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/{funding_source_token}/verificationamounts"); + urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -12463,7 +12450,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12477,12 +12464,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("No funding accounts found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -12510,19 +12491,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Configures a default funding source + /// Lists all addresses for a user /// - /// Funding account + /// User token + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesDefaultAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAddressesUserAsync(string user_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (funding_source_token == null) - throw new System.ArgumentNullException("funding_source_token"); + if (user_token == null) + throw new System.ArgumentNullException("user_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/{funding_source_token}/default"); - urlBuilder_.Replace("{funding_source_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/user/{user_token}?"); + urlBuilder_.Replace("{user_token}", System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -12530,8 +12517,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12557,7 +12543,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12571,6 +12557,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -12598,14 +12590,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Registers an ACH funding source + /// Lists all addresses for a business /// + /// Business token + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAchPostAsync(Ach_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAddressesBusinessAsync(string business_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (business_token == null) + throw new System.ArgumentNullException("business_token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/business/{business_token}?"); + urlBuilder_.Replace("{business_token}", System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -12613,11 +12616,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12643,7 +12642,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12657,10 +12656,10 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) + if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + throw new ApiException("Not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -12690,14 +12689,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Registers an ACH funding source through a partner + /// Returns a user address for a funding source /// + /// Funding source address token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesAchPartnerAsync(Ach_partner_request_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAddressesGetAsync(string funding_source_address_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (funding_source_address_token == null) + throw new System.ArgumentNullException("funding_source_address_token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/ach/partner"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/{funding_source_address_token}"); + urlBuilder_.Replace("{funding_source_address_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_address_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -12705,11 +12709,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12735,7 +12735,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12749,10 +12749,10 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) + if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + throw new ApiException("Not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -12782,19 +12782,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a gateway program funding source + /// Updates the account holder address for a funding source /// - /// Gateway program funding source token + /// Funding source address token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesAddressesPutAsync(string funding_source_address_token, Card_holder_address_update_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (funding_source_address_token == null) + throw new System.ArgumentNullException("funding_source_address_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/addresses/{funding_source_address_token}"); + urlBuilder_.Replace("{funding_source_address_token}", System.Uri.EscapeDataString(ConvertToString(funding_source_address_token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -12802,7 +12802,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12826,9 +12830,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12836,10 +12840,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 404) + if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Gateway program funding source not found", status_, responseText_, headers_, null); + throw new ApiException("Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -12869,18 +12873,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific gateway program funding source + /// Returns a specific program funding source /// - /// Gateway program funding source token + /// Program funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayPutAsync(string token, Gateway_program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesProgramGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway/{token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/program/{token}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -12889,11 +12893,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -12917,9 +12917,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -12927,10 +12927,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 400) + if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Invalid fields detected", status_, responseText_, headers_, null); + throw new ApiException("Program funding source not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -12960,18 +12960,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific gateway program funding source Custom headers + /// Updates a specific program funding source /// - /// Gateway program funding source token + /// Program funding source token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task FundingsourcesProgramgatewayCustomheadersAsync(string token, Gateway_program_custom_header_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task FundingsourcesProgramPutAsync(string token, Program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (token == null) throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/programgateway/customheaders/{token}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/fundingsources/program/{token}"); urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; @@ -13010,7 +13010,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14134,19 +14134,35 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific MCC group + /// Lists all MCC groups /// - /// MCC group token + /// MCC + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MccgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MccgroupsGetAsync(string mcc = null, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups?"); + if (mcc != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("mcc") + "=").Append(System.Uri.EscapeDataString(ConvertToString(mcc, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -14180,7 +14196,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14194,12 +14210,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("MCC group not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -14227,22 +14237,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates an MCC group + /// Creates an MCC group /// /// MCC group - /// Success + /// Created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MccgroupsPutAsync(Mcc_group_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MccgroupsPostAsync(Mcc_group_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups"); var client_ = _httpClient; var disposeClient_ = false; @@ -14254,7 +14260,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -14278,9 +14284,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14294,6 +14300,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -14321,35 +14333,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all MCC groups + /// Returns a specific MCC group /// - /// MCC - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. + /// MCC group token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MccgroupsGetAsync(string mcc = null, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MccgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups?"); - if (mcc != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("mcc") + "=").Append(System.Uri.EscapeDataString(ConvertToString(mcc, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -14383,7 +14379,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14397,6 +14393,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("MCC group not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -14424,18 +14426,22 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an MCC group + /// Updates an MCC group /// /// MCC group - /// Created + /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MccgroupsPostAsync(Mcc_group_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MccgroupsPutAsync(Mcc_group_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/mccgroups/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -14447,7 +14453,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -14471,9 +14477,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14487,12 +14493,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -14520,19 +14520,35 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a Merchant Group + /// Lists all Merchant Groups /// - /// Merchant Group token + /// mid + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MerchantgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MerchantgroupsGetAsync(string mid = null, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups?"); + if (mid != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("mid") + "=").Append(System.Uri.EscapeDataString(ConvertToString(mid, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -14566,7 +14582,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14580,12 +14596,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Merchant Group not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -14613,22 +14623,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates an Merchant Group + /// Creates a merchant group /// - /// Merchant Group /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MerchantgroupsPutAsync(Merchant_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MerchantgroupsPostAsync(Merchant_group_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups"); var client_ = _httpClient; var disposeClient_ = false; @@ -14640,7 +14642,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -14664,7 +14666,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14677,7 +14679,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Bad request", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + } + else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -14707,35 +14715,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all Merchant Groups + /// Returns a Merchant Group /// - /// mid - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. + /// Merchant Group token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MerchantgroupsGetAsync(string mid = null, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MerchantgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups?"); - if (mid != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("mid") + "=").Append(System.Uri.EscapeDataString(ConvertToString(mid, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -14769,7 +14761,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -14783,6 +14775,12 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Merchant Group not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -14810,14 +14808,22 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a merchant group + /// Updates an Merchant Group /// + /// Merchant Group /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task MerchantgroupsPostAsync(Merchant_group_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task MerchantgroupsPutAsync(Merchant_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + + if (body == null) + throw new System.ArgumentNullException("body"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/merchantgroups/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -14829,7 +14835,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -14853,7 +14859,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14866,13 +14872,7 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); - } - else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already associated with a different payload", status_, responseText_, headers_, null); + throw new ApiException("Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -14902,14 +14902,35 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Performs a peer transfer from one user to another + /// Returns all peer transfers for a user /// + /// User or business token + /// Number of transfers to retrieve + /// Start index + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task PeertransfersPostAsync(Peer_transfer_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task PeertransfersUserAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (user_or_business_token == null) + throw new System.ArgumentNullException("user_or_business_token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/user/{user_or_business_token}?"); + urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -14917,11 +14938,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -14945,32 +14962,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { - throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - if (status_ == 400) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Invalid fields detected: either sender or recipient is not found", status_, responseText_, headers_, null); - } - else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Request already processed with a different payload", status_, responseText_, headers_, null); + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; } else - if (status_ == 422) + if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Rule violations", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -15000,18 +15005,35 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns details of a previous transfer + /// Returns sent peer transfers for a user /// + /// User or business token + /// Number of transfers to retrieve + /// Start index + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task PeertransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task PeertransfersUserSenderAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); + if (user_or_business_token == null) + throw new System.ArgumentNullException("user_or_business_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/user/{user_or_business_token}/sender?"); + urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -15053,10 +15075,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 404) + if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Transfer token not found", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -15086,7 +15108,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns all peer transfers for a user + /// Returns received peer transfers for a user /// /// User or business token /// Number of transfers to retrieve @@ -15094,13 +15116,13 @@ public string BaseUrl /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task PeertransfersUserAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task PeertransfersUserRecipientAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (user_or_business_token == null) throw new System.ArgumentNullException("user_or_business_token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/user/{user_or_business_token}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/user/{user_or_business_token}/recipient?"); urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); if (count != null) { @@ -15156,10 +15178,10 @@ public string BaseUrl return objectResponse_.Object; } else - if (status_ == 400) + if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + throw new ApiException("User token not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -15189,35 +15211,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns sent peer transfers for a user + /// Performs a peer transfer from one user to another /// - /// User or business token - /// Number of transfers to retrieve - /// Start index - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task PeertransfersUserSenderAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task PeertransfersPostAsync(Peer_transfer_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (user_or_business_token == null) - throw new System.ArgumentNullException("user_or_business_token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/user/{user_or_business_token}/sender?"); - urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers"); var client_ = _httpClient; var disposeClient_ = false; @@ -15225,7 +15226,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -15249,7 +15254,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15262,7 +15267,19 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + throw new ApiException("Invalid fields detected: either sender or recipient is not found", status_, responseText_, headers_, null); + } + else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Request already processed with a different payload", status_, responseText_, headers_, null); + } + else + if (status_ == 422) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Rule violations", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -15292,35 +15309,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns received peer transfers for a user + /// Returns details of a previous transfer /// - /// User or business token - /// Number of transfers to retrieve - /// Start index - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task PeertransfersUserRecipientAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task PeertransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (user_or_business_token == null) - throw new System.ArgumentNullException("user_or_business_token"); + if (token == null) + throw new System.ArgumentNullException("token"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/user/{user_or_business_token}/recipient?"); - urlBuilder_.Replace("{user_or_business_token}", System.Uri.EscapeDataString(ConvertToString(user_or_business_token, System.Globalization.CultureInfo.InvariantCulture))); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/peertransfers/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -15365,7 +15365,7 @@ public string BaseUrl if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User token not found", status_, responseText_, headers_, null); + throw new ApiException("Transfer token not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -16430,21 +16430,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all program transfers + /// Lists all program transfer types /// - /// Number of program transfers to retrieve + /// Number of program transfer types to retrieve /// Start index /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Sort order - /// User token - /// Business token - /// Program type token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ProgramtransfersGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, string user_token = null, string business_token = null, string type_token = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ProgramtransfersTypesGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers/types?"); if (count != null) { urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -16461,18 +16458,6 @@ public string BaseUrl { urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (user_token != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("user_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (business_token != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("business_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (type_token != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("type_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } urlBuilder_.Length--; var client_ = _httpClient; @@ -16507,7 +16492,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -16548,14 +16533,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Transfers to a program funding source + /// Creates a program transfer type /// /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ProgramtransfersPostAsync(Program_transfer body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ProgramtransfersTypesPostAsync(Program_transfer_type_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers/types"); var client_ = _httpClient; var disposeClient_ = false; @@ -16593,7 +16578,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -16610,19 +16595,13 @@ public string BaseUrl if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Not found", status_, responseText_, headers_, null); + throw new ApiException("Program funding source not found", status_, responseText_, headers_, null); } else if (status_ == 409) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Request already processed with a different payload", status_, responseText_, headers_, null); - } - else - if (status_ == 412) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Pre-condition failed. Unload amount is greater than load amount", status_, responseText_, headers_, null); + throw new ApiException("Token already used", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -16842,19 +16821,50 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific program transfer + /// Lists all program transfers /// - /// Program transfer token + /// Number of program transfers to retrieve + /// Start index + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Sort order + /// User token + /// Business token + /// Program type token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ProgramtransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ProgramtransfersGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, string user_token = null, string business_token = null, string type_token = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (token == null) - throw new System.ArgumentNullException("token"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers/{token}"); - urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers?"); + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (start_index != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sort_by != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (user_token != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("user_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(user_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (business_token != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("business_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(business_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (type_token != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("type_token") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type_token, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = _httpClient; var disposeClient_ = false; @@ -16888,7 +16898,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -16902,12 +16912,6 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Return not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -16935,35 +16939,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all program transfer types + /// Transfers to a program funding source /// - /// Number of program transfer types to retrieve - /// Start index - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Sort order /// Success - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ProgramtransfersTypesGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers/types?"); - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (start_index != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("start_index") + "=").Append(System.Uri.EscapeDataString(ConvertToString(start_index, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sort_by != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sort_by") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sort_by, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task ProgramtransfersPostAsync(Program_transfer body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers"); var client_ = _httpClient; var disposeClient_ = false; @@ -16971,7 +16954,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -16995,9 +16982,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -17011,6 +16998,24 @@ public string BaseUrl throw new ApiException("Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Not found", status_, responseText_, headers_, null); + } + else + if (status_ == 409) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Request already processed with a different payload", status_, responseText_, headers_, null); + } + else + if (status_ == 412) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Pre-condition failed. Unload amount is greater than load amount", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -17038,14 +17043,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a program transfer type + /// Returns a specific program transfer /// + /// Program transfer token /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ProgramtransfersTypesPostAsync(Program_transfer_type_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ProgramtransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (token == null) + throw new System.ArgumentNullException("token"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers/types"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/programtransfers/{token}"); + urlBuilder_.Replace("{token}", System.Uri.EscapeDataString(ConvertToString(token, System.Globalization.CultureInfo.InvariantCulture))); var client_ = _httpClient; var disposeClient_ = false; @@ -17053,11 +17063,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -17081,9 +17087,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -17100,13 +17106,7 @@ public string BaseUrl if (status_ == 404) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Program funding source not found", status_, responseText_, headers_, null); - } - else - if (status_ == 409) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Token already used", status_, responseText_, headers_, null); + throw new ApiException("Return not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -18108,18 +18108,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a balance inquiry + /// Simulates a reversal transaction /// - /// Balance inquiry request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateFinancialBalanceinquiryAsync(Balance_inquiry_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateReversalAsync(ReversalModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/balanceinquiry"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/reversal"); var client_ = _httpClient; var disposeClient_ = false; @@ -18171,6 +18167,12 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Original transaction not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -18198,14 +18200,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a reversal transaction + /// Simulates a balance inquiry /// + /// Balance inquiry request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateReversalAsync(ReversalModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateFinancialBalanceinquiryAsync(Balance_inquiry_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (body == null) + throw new System.ArgumentNullException("body"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/reversal"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/balanceinquiry"); var client_ = _httpClient; var disposeClient_ = false; @@ -18257,12 +18263,6 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Original transaction not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -18290,18 +18290,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a financial request (PIN debit) transaction with optional cash back + /// Simulates the creation of direct deposit /// - /// Financial request model + /// Direct deposit simulate request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateFinancialAsync(Financial_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateDirectdepositsAsync(DirectDepositRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/directdeposits"); var client_ = _httpClient; var disposeClient_ = false; @@ -18337,9 +18337,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 201) + if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -18350,7 +18350,7 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + throw new ApiException("Bad request", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -18380,18 +18380,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a financial advice transaction + /// Simulates an authorization advice transaction /// - /// Financial advice request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateFinancialAdviceAsync(Authorization_advice_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateAuthorizationAdviceAsync(Authorization_advice_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/advice"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/authorization/advice"); var client_ = _httpClient; var disposeClient_ = false; @@ -18476,18 +18472,14 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates an ATM withdrawal transaction + /// Simulates a clearing/settlement transaction /// - /// ATM withdrawal request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateFinancialWithdrawalAsync(Withdrawal_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateClearingAsync(ClearingModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/withdrawal"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/clearing"); var client_ = _httpClient; var disposeClient_ = false; @@ -18539,6 +18531,12 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Original transaction not found", status_, responseText_, headers_, null); + } + else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -18566,18 +18564,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates an orignal credit transaction + /// Simulates a financial request (PIN debit) transaction with optional cash back /// - /// Orignal Credit request model + /// Financial request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateFinancialOriginalcreditAsync(Orignalcredit_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateFinancialAsync(Financial_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/originalcredit"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial"); var client_ = _httpClient; var disposeClient_ = false; @@ -18656,18 +18654,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates the creation of direct deposit + /// Simulates a financial advice transaction /// - /// Direct deposit simulate request model + /// Financial advice request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateDirectdepositsAsync(DirectDepositRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateFinancialAdviceAsync(Authorization_advice_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (body == null) throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/directdeposits"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/advice"); var client_ = _httpClient; var disposeClient_ = false; @@ -18703,9 +18701,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 201) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -18716,7 +18714,13 @@ public string BaseUrl if (status_ == 400) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Bad request", status_, responseText_, headers_, null); + throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); + } + else + if (status_ == 404) + { + string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new ApiException("Original transaction not found", status_, responseText_, headers_, null); } else if (status_ == 500) @@ -18746,14 +18750,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates an authorization advice transaction + /// Simulates an ATM withdrawal transaction /// + /// ATM withdrawal request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateAuthorizationAdviceAsync(Authorization_advice_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateFinancialWithdrawalAsync(Withdrawal_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (body == null) + throw new System.ArgumentNullException("body"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/authorization/advice"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/withdrawal"); var client_ = _httpClient; var disposeClient_ = false; @@ -18805,12 +18813,6 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Original transaction not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -18838,14 +18840,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a clearing/settlement transaction + /// Simulates an orignal credit transaction /// + /// Orignal Credit request model /// Success /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SimulateClearingAsync(ClearingModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SimulateFinancialOriginalcreditAsync(Orignalcredit_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (body == null) + throw new System.ArgumentNullException("body"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/clearing"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/simulate/financial/originalcredit"); var client_ = _httpClient; var disposeClient_ = false; @@ -18897,12 +18903,6 @@ public string BaseUrl throw new ApiException("User input error/Bad request", status_, responseText_, headers_, null); } else - if (status_ == 404) - { - string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ApiException("Original transaction not found", status_, responseText_, headers_, null); - } - else if (status_ == 500) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -22461,18 +22461,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// API to query for the web push provisioning related parameters, such as: google piaid/integrator_id, apple partnerId, apple Card Template Identifier + /// API to generate a Javascript object token containing a JWT to initiate Apple Pay web push provisioning /// /// Random pseudo unique value used for troubleshooting between multiple parties. 36 char max /// Ok /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DigitalwalletsWppParametersAsync(string req_sys_id, Request_for_wpp_parameters request_body_for_WPP_parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DigitalwalletsWppApplePayJWTAsync(string req_sys_id, Request_for_apple_pay_wpp_JWT request_body_for_Apple_Pay_WPP_JWT, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (request_body_for_WPP_parameters == null) - throw new System.ArgumentNullException("request_body_for_WPP_parameters"); + if (request_body_for_Apple_Pay_WPP_JWT == null) + throw new System.ArgumentNullException("request_body_for_Apple_Pay_WPP_JWT"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/digitalwallets/wpp/parameters"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/digitalwallets/wpp/applePayJWT"); var client_ = _httpClient; var disposeClient_ = false; @@ -22484,7 +22484,7 @@ public string BaseUrl if (req_sys_id == null) throw new System.ArgumentNullException("req_sys_id"); request_.Headers.TryAddWithoutValidation("req-sys-id", ConvertToString(req_sys_id, System.Globalization.CultureInfo.InvariantCulture)); - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(request_body_for_WPP_parameters, _settings.Value); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(request_body_for_Apple_Pay_WPP_JWT, _settings.Value); var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; @@ -22514,7 +22514,7 @@ public string BaseUrl var status_ = (int)response_.StatusCode; if (status_ == 200) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22573,18 +22573,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Request sending OPC data to google pay + /// API to query for the web push provisioning related parameters, such as: google piaid/integrator_id, apple partnerId, apple Card Template Identifier /// /// Random pseudo unique value used for troubleshooting between multiple parties. 36 char max - /// Accepted + /// Ok /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DigitalwalletsWppGooglePayPushProvisioningNotificationAsync(string req_sys_id, Sending_provisioning_data_to_google_pay_backend_request request_body_to_initiate_Google_Pay_web_push_provisioning, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DigitalwalletsWppParametersAsync(string req_sys_id, Request_for_wpp_parameters request_body_for_WPP_parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (request_body_to_initiate_Google_Pay_web_push_provisioning == null) - throw new System.ArgumentNullException("request_body_to_initiate_Google_Pay_web_push_provisioning"); + if (request_body_for_WPP_parameters == null) + throw new System.ArgumentNullException("request_body_for_WPP_parameters"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/digitalwallets/wpp/googlePayPushProvisioningNotification"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/digitalwallets/wpp/parameters"); var client_ = _httpClient; var disposeClient_ = false; @@ -22596,11 +22596,12 @@ public string BaseUrl if (req_sys_id == null) throw new System.ArgumentNullException("req_sys_id"); request_.Headers.TryAddWithoutValidation("req-sys-id", ConvertToString(req_sys_id, System.Globalization.CultureInfo.InvariantCulture)); - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(request_body_to_initiate_Google_Pay_web_push_provisioning, _settings.Value); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(request_body_for_WPP_parameters, _settings.Value); var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -22623,9 +22624,14 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 202) + if (status_ == 200) { - return; + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; } else if (status_ == 400) @@ -22679,18 +22685,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// API to generate a Javascript object token containing a JWT to initiate Apple Pay web push provisioning + /// Request sending OPC data to google pay /// /// Random pseudo unique value used for troubleshooting between multiple parties. 36 char max - /// Ok + /// Accepted /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DigitalwalletsWppApplePayJWTAsync(string req_sys_id, Request_for_apple_pay_wpp_JWT request_body_for_Apple_Pay_WPP_JWT, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DigitalwalletsWppGooglePayPushProvisioningNotificationAsync(string req_sys_id, Sending_provisioning_data_to_google_pay_backend_request request_body_to_initiate_Google_Pay_web_push_provisioning, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (request_body_for_Apple_Pay_WPP_JWT == null) - throw new System.ArgumentNullException("request_body_for_Apple_Pay_WPP_JWT"); + if (request_body_to_initiate_Google_Pay_web_push_provisioning == null) + throw new System.ArgumentNullException("request_body_to_initiate_Google_Pay_web_push_provisioning"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/digitalwallets/wpp/applePayJWT"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/digitalwallets/wpp/googlePayPushProvisioningNotification"); var client_ = _httpClient; var disposeClient_ = false; @@ -22702,12 +22708,11 @@ public string BaseUrl if (req_sys_id == null) throw new System.ArgumentNullException("req_sys_id"); request_.Headers.TryAddWithoutValidation("req-sys-id", ConvertToString(req_sys_id, System.Globalization.CultureInfo.InvariantCulture)); - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(request_body_for_Apple_Pay_WPP_JWT, _settings.Value); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(request_body_to_initiate_Google_Pay_web_push_provisioning, _settings.Value); var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; request_.Method = new System.Net.Http.HttpMethod("POST"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -22730,14 +22735,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (status_ == 202) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; + return; } else if (status_ == 400) diff --git a/Marqeta.Core.Sdk/MarqetaContracts.g.cs b/Marqeta.Core.Sdk/MarqetaContracts.g.cs index 94d756c9..83fe7b2f 100644 --- a/Marqeta.Core.Sdk/MarqetaContracts.g.cs +++ b/Marqeta.Core.Sdk/MarqetaContracts.g.cs @@ -48,64 +48,59 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific account holder group object + /// Lists account holder groups /// - /// Account holder group token + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - System.Threading.Tasks.Task AccountholdergroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AccountholdergroupsGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates an account holder group object + /// Creates an account holder group object /// - /// Account holder group update object - /// Success + /// Account holder group object + /// Created /// A server side error occurred. - System.Threading.Tasks.Task AccountholdergroupsPutAsync(Account_holder_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AccountholdergroupsPostAsync(Account_holder_group_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists account holder groups + /// Returns a specific account holder group object /// - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. + /// Account holder group token /// Success /// A server side error occurred. - System.Threading.Tasks.Task AccountholdergroupsGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AccountholdergroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an account holder group object + /// Updates an account holder group object /// - /// Account holder group object - /// Created + /// Account holder group update object + /// Success /// A server side error occurred. - System.Threading.Tasks.Task AccountholdergroupsPostAsync(Account_holder_group_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AccountholdergroupsPutAsync(Account_holder_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all global auth control exceptions for the program + /// Returns a specific auth control exemptmids /// - /// Card product token. Use "null" to get auth controls that are not associated with any card product. - /// User token. Use "null" to get auth controls that are not associated with any user. - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. + /// Auth control token /// Success /// A server side error occurred. - System.Threading.Tasks.Task AuthcontrolsGetAsync(string card_product = null, string user = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AuthcontrolsExemptmidsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an auth control exception + /// Updates the status an auth control exemptmids /// - /// Auth control object - /// Created + /// Auth control token + /// Success /// A server side error occurred. - System.Threading.Tasks.Task AuthcontrolsPostAsync(Auth_control_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AuthcontrolsExemptmidsPutAsync(string token, Auth_control_exempt_mids_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -132,21 +127,26 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific auth control exemptmids + /// Lists all global auth control exceptions for the program /// - /// Auth control token + /// Card product token. Use "null" to get auth controls that are not associated with any card product. + /// User token. Use "null" to get auth controls that are not associated with any user. + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - System.Threading.Tasks.Task AuthcontrolsExemptmidsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AuthcontrolsGetAsync(string card_product = null, string user = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates the status an auth control exemptmids + /// Creates an auth control exception /// - /// Auth control token - /// Success + /// Auth control object + /// Created /// A server side error occurred. - System.Threading.Tasks.Task AuthcontrolsExemptmidsPutAsync(string token, Auth_control_exempt_mids_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AuthcontrolsPostAsync(Auth_control_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -170,46 +170,46 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific auto reload object + /// Lists all auto reloads for the program /// - /// Auto reload token + /// Card product token + /// User token + /// Business token + /// Number of items to retrieve. Count can be between 1 - 10 items. + /// Indicates from what row to start returning data. /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - System.Threading.Tasks.Task AutoreloadsGetAsync(string token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AutoreloadsGetAsync(string card_product = null, string user_token = null, string business_token = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific auto reload object + /// Creates an auto reload object /// /// Auto reload object - /// Success + /// Created /// A server side error occurred. - System.Threading.Tasks.Task AutoreloadsPutAsync(Auto_reload_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AutoreloadsPostAsync(Auto_reload_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all auto reloads for the program + /// Returns a specific auto reload object /// - /// Card product token - /// User token - /// Business token - /// Number of items to retrieve. Count can be between 1 - 10 items. - /// Indicates from what row to start returning data. + /// Auto reload token /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Field by which to sort the returned items. Use any field in the model, or system fields lastModifiedTime or createdTime. /// Success /// A server side error occurred. - System.Threading.Tasks.Task AutoreloadsGetAsync(string card_product = null, string user_token = null, string business_token = null, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AutoreloadsGetAsync(string token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates an auto reload object + /// Updates a specific auto reload object /// /// Auto reload object - /// Created + /// Success /// A server side error occurred. - System.Threading.Tasks.Task AutoreloadsPostAsync(Auto_reload_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AutoreloadsPutAsync(Auto_reload_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -606,46 +606,46 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists cards by the last 4 digits + /// Returns a specific card /// - /// Last four digits of card number - /// Number of cards to retrieve - /// Start index + /// Card token /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Sort order + /// Object to expand /// Success /// A server side error occurred. - System.Threading.Tasks.Task CardsGetAsync(string last_four, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CardsGetAsync(string token, string fields = null, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a card + /// Updates a specific card /// - /// Show CVV - /// Show PAN + /// Card token /// Success /// A server side error occurred. - System.Threading.Tasks.Task CardsPostAsync(Card_request body = null, bool? show_cvv_number = null, bool? show_pan = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CardsPutAsync(string token, Card_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific card + /// Lists cards by the last 4 digits /// - /// Card token + /// Last four digits of card number + /// Number of cards to retrieve + /// Start index /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Object to expand + /// Sort order /// Success /// A server side error occurred. - System.Threading.Tasks.Task CardsGetAsync(string token, string fields = null, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CardsGetAsync(string last_four, int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific card + /// Creates a card /// - /// Card token + /// Show CVV + /// Show PAN /// Success /// A server side error occurred. - System.Threading.Tasks.Task CardsPutAsync(string token, Card_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CardsPostAsync(Card_request body = null, bool? show_cvv_number = null, bool? show_pan = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -662,28 +662,28 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific chargeback transition + /// Returns a specific chargeback /// - /// Chargeback transition token /// Success /// A server side error occurred. - System.Threading.Tasks.Task ChargebacksTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ChargebacksGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific chargeback + /// Updates chargeback data /// /// Success /// A server side error occurred. - System.Threading.Tasks.Task ChargebacksGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ChargebacksPutAsync(string token, ChargebackUpdateRequest body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates chargeback data + /// Returns a specific chargeback transition /// + /// Chargeback transition token /// Success /// A server side error occurred. - System.Threading.Tasks.Task ChargebacksPutAsync(string token, ChargebackUpdateRequest body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ChargebacksTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -760,6 +760,17 @@ public partial interface IMarqetaClient /// A server side error occurred. System.Threading.Tasks.Task CommandomodesGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Lists all commando mode control sets + /// + /// Number of commando modes to retrieve + /// Start index + /// Sort order + /// Success + /// A server side error occurred. + System.Threading.Tasks.Task CommandomodesGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Returns a specific commando mode transition @@ -781,17 +792,6 @@ public partial interface IMarqetaClient /// A server side error occurred. System.Threading.Tasks.Task CommandomodesTransitionsGetAsync(string commandomode_token, int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Lists all commando mode control sets - /// - /// Number of commando modes to retrieve - /// Start index - /// Sort order - /// Success - /// A server side error occurred. - System.Threading.Tasks.Task CommandomodesGetAsync(int? count = null, int? start_index = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Validates Apple certificates and creates Apple-specific provisioning request data @@ -936,21 +936,34 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get direct deposit account transition. + /// Get User for Plain Text Account Number /// - /// Get specific direct deposit account transition + /// Get user associated with direct deposit account number /// Success /// A server side error occurred. - System.Threading.Tasks.Task DepositaccountsTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DepositaccountsAccountUserAsync(string account_number, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update CDD answers for Direct Deposit Account + /// List all specific direct deposit accounts. /// - /// Update CDD answers + /// Get specific direct deposit account + /// Number of users to retrieve + /// Start index + /// Sort order + /// Direct deposit account status /// Success /// A server side error occurred. - System.Threading.Tasks.Task DepositaccountsCddPutAsync(CustomerDueDiligenceUpdateRequest body, string token, string cddtoken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DepositaccountsUserAsync(string token, int? count = null, int? start_index = null, string sort_by = null, State? state = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Get direct deposit account transition. + /// + /// Get specific direct deposit account transition + /// Success + /// A server side error occurred. + System.Threading.Tasks.Task DepositaccountsTransitionsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -975,34 +988,29 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get User for Plain Text Account Number + /// Update CDD answers for Direct Deposit Account /// - /// Get user associated with direct deposit account number + /// Update CDD answers /// Success /// A server side error occurred. - System.Threading.Tasks.Task DepositaccountsAccountUserAsync(string account_number, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DepositaccountsCddPutAsync(CustomerDueDiligenceUpdateRequest body, string token, string cddtoken, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// List all specific direct deposit accounts. + /// Creates new transition for a direct deposit account. /// - /// Get specific direct deposit account - /// Number of users to retrieve - /// Start index - /// Sort order - /// Direct deposit account status - /// Success + /// Create transition for direct deposit account + /// Created /// A server side error occurred. - System.Threading.Tasks.Task DepositaccountsUserAsync(string token, int? count = null, int? start_index = null, string sort_by = null, State? state = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DepositaccountsTransitionsPostAsync(DirectDepositAccountTransitionRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates new transition for a direct deposit account. + /// Returns a direct deposit entry /// - /// Create transition for direct deposit account - /// Created + /// Success /// A server side error occurred. - System.Threading.Tasks.Task DepositaccountsTransitionsPostAsync(DirectDepositAccountTransitionRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DirectdepositsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1024,14 +1032,6 @@ public partial interface IMarqetaClient [System.Obsolete] System.Threading.Tasks.Task DirectdepositsAccountsPutAsync(string user_or_business_token, DepositAccountUpdateRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Returns a direct deposit entry - /// - /// Success - /// A server side error occurred. - System.Threading.Tasks.Task DirectdepositsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Lists all direct deposits @@ -1152,203 +1152,203 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Retrieves a linked funding source balance from a partner + /// Registers a payment card funding source /// - /// Funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAchPartnerBalanceAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesPaymentcardPostAsync(Token_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a user ACH account + /// Returns a specific payment card /// - /// Funding account token + /// Funding token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAchGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesPaymentcardGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Verifies a bank account as a funding source + /// Updates a specific payment card /// + /// Funding account token + /// Payment card /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAchPutAsync(string funding_source_token, Ach_verification_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesPaymentcardPutAsync(string funding_source_token, Token_update_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns the dollar amounts used to verify the ACH account + /// Lists all funding sources for a user /// - /// Funding account token + /// User token + /// Type, such as a payment card or ACH + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAchVerificationamountsAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesUserAsync(string user_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all addresses for a user + /// Lists all funding sources for a business /// - /// User token + /// Business token + /// Type, such as a payment card or ACH /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAddressesUserAsync(string user_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesBusinessAsync(string business_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all addresses for a business + /// Configures a default funding source /// - /// Business token - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Funding account /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAddressesBusinessAsync(string business_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesDefaultAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a user address for a funding source + /// Registers an ACH funding source /// - /// Funding source address token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAddressesGetAsync(string funding_source_address_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAchPostAsync(Ach_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates the account holder address for a funding source + /// Registers an ACH funding source through a partner /// - /// Funding source address token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAddressesPutAsync(string funding_source_address_token, Card_holder_address_update_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAchPartnerAsync(Ach_partner_request_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific program funding source + /// Returns a gateway program funding source /// - /// Program funding source token + /// Gateway program funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesProgramGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesProgramgatewayGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific program funding source + /// Updates a specific gateway program funding source /// - /// Program funding source token + /// Gateway program funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesProgramPutAsync(string token, Program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesProgramgatewayPutAsync(string token, Gateway_program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a gateway program funding source + /// Updates a specific gateway program funding source Custom headers /// + /// Gateway program funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesProgramgatewayPostAsync(Gateway_program_funding_source_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesProgramgatewayCustomheadersAsync(string token, Gateway_program_custom_header_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Registers a payment card funding source + /// Creates a gateway program funding source /// /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesPaymentcardPostAsync(Token_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesProgramgatewayPostAsync(Gateway_program_funding_source_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific payment card + /// Retrieves a linked funding source balance from a partner /// - /// Funding token + /// Funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesPaymentcardGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAchPartnerBalanceAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific payment card + /// Returns a user ACH account /// /// Funding account token - /// Payment card /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesPaymentcardPutAsync(string funding_source_token, Token_update_request body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAchGetAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all funding sources for a user + /// Verifies a bank account as a funding source /// - /// User token - /// Type, such as a payment card or ACH - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesUserAsync(string user_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAchPutAsync(string funding_source_token, Ach_verification_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all funding sources for a business + /// Returns the dollar amounts used to verify the ACH account /// - /// Business token - /// Type, such as a payment card or ACH - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Funding account token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesBusinessAsync(string business_token, string type = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAchVerificationamountsAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Configures a default funding source + /// Lists all addresses for a user /// - /// Funding account + /// User token + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesDefaultAsync(string funding_source_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAddressesUserAsync(string user_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Registers an ACH funding source + /// Lists all addresses for a business /// + /// Business token + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAchPostAsync(Ach_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAddressesBusinessAsync(string business_token, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Registers an ACH funding source through a partner + /// Returns a user address for a funding source /// + /// Funding source address token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesAchPartnerAsync(Ach_partner_request_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAddressesGetAsync(string funding_source_address_token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a gateway program funding source + /// Updates the account holder address for a funding source /// - /// Gateway program funding source token + /// Funding source address token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesProgramgatewayGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesAddressesPutAsync(string funding_source_address_token, Card_holder_address_update_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific gateway program funding source + /// Returns a specific program funding source /// - /// Gateway program funding source token + /// Program funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesProgramgatewayPutAsync(string token, Gateway_program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesProgramGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates a specific gateway program funding source Custom headers + /// Updates a specific program funding source /// - /// Gateway program funding source token + /// Program funding source token /// Success /// A server side error occurred. - System.Threading.Tasks.Task FundingsourcesProgramgatewayCustomheadersAsync(string token, Gateway_program_custom_header_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FundingsourcesProgramPutAsync(string token, Program_funding_source_update_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1458,24 +1458,6 @@ public partial interface IMarqetaClient /// A server side error occurred. System.Threading.Tasks.Task KycPostAsync(Kyc_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Returns a specific MCC group - /// - /// MCC group token - /// Success - /// A server side error occurred. - System.Threading.Tasks.Task MccgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Updates an MCC group - /// - /// MCC group - /// Success - /// A server side error occurred. - System.Threading.Tasks.Task MccgroupsPutAsync(Mcc_group_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Lists all MCC groups @@ -1499,21 +1481,21 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a Merchant Group + /// Returns a specific MCC group /// - /// Merchant Group token + /// MCC group token /// Success /// A server side error occurred. - System.Threading.Tasks.Task MerchantgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task MccgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Updates an Merchant Group + /// Updates an MCC group /// - /// Merchant Group + /// MCC group /// Success /// A server side error occurred. - System.Threading.Tasks.Task MerchantgroupsPutAsync(Merchant_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task MccgroupsPutAsync(Mcc_group_update_model body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1537,19 +1519,21 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Performs a peer transfer from one user to another + /// Returns a Merchant Group /// + /// Merchant Group token /// Success /// A server side error occurred. - System.Threading.Tasks.Task PeertransfersPostAsync(Peer_transfer_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task MerchantgroupsGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns details of a previous transfer + /// Updates an Merchant Group /// + /// Merchant Group /// Success /// A server side error occurred. - System.Threading.Tasks.Task PeertransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task MerchantgroupsPutAsync(Merchant_group_update_request body, string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1587,6 +1571,22 @@ public partial interface IMarqetaClient /// A server side error occurred. System.Threading.Tasks.Task PeertransfersUserRecipientAsync(string user_or_business_token, int? count = null, int? start_index = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Performs a peer transfer from one user to another + /// + /// Success + /// A server side error occurred. + System.Threading.Tasks.Task PeertransfersPostAsync(Peer_transfer_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Returns details of a previous transfer + /// + /// Success + /// A server side error occurred. + System.Threading.Tasks.Task PeertransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Returns a heartbeat to the consumer @@ -1705,26 +1705,23 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all program transfers + /// Lists all program transfer types /// - /// Number of program transfers to retrieve + /// Number of program transfer types to retrieve /// Start index /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. /// Sort order - /// User token - /// Business token - /// Program type token /// Success /// A server side error occurred. - System.Threading.Tasks.Task ProgramtransfersGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, string user_token = null, string business_token = null, string type_token = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ProgramtransfersTypesGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Transfers to a program funding source + /// Creates a program transfer type /// /// Success /// A server side error occurred. - System.Threading.Tasks.Task ProgramtransfersPostAsync(Program_transfer body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ProgramtransfersTypesPostAsync(Program_transfer_type_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1746,32 +1743,35 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Returns a specific program transfer + /// Lists all program transfers /// - /// Program transfer token + /// Number of program transfers to retrieve + /// Start index + /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. + /// Sort order + /// User token + /// Business token + /// Program type token /// Success /// A server side error occurred. - System.Threading.Tasks.Task ProgramtransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ProgramtransfersGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, string user_token = null, string business_token = null, string type_token = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Lists all program transfer types + /// Transfers to a program funding source /// - /// Number of program transfer types to retrieve - /// Start index - /// Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields. - /// Sort order /// Success /// A server side error occurred. - System.Threading.Tasks.Task ProgramtransfersTypesGetAsync(int? count = null, int? start_index = null, string fields = null, string sort_by = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ProgramtransfersPostAsync(Program_transfer body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Creates a program transfer type + /// Returns a specific program transfer /// + /// Program transfer token /// Success /// A server side error occurred. - System.Threading.Tasks.Task ProgramtransfersTypesPostAsync(Program_transfer_type_request body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ProgramtransfersGetAsync(string token, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1874,81 +1874,81 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a balance inquiry + /// Simulates a reversal transaction /// - /// Balance inquiry request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateFinancialBalanceinquiryAsync(Balance_inquiry_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateReversalAsync(ReversalModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a reversal transaction + /// Simulates a balance inquiry /// + /// Balance inquiry request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateReversalAsync(ReversalModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateFinancialBalanceinquiryAsync(Balance_inquiry_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a financial request (PIN debit) transaction with optional cash back + /// Simulates the creation of direct deposit /// - /// Financial request model + /// Direct deposit simulate request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateFinancialAsync(Financial_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateDirectdepositsAsync(DirectDepositRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a financial advice transaction + /// Simulates an authorization advice transaction /// - /// Financial advice request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateFinancialAdviceAsync(Authorization_advice_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateAuthorizationAdviceAsync(Authorization_advice_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates an ATM withdrawal transaction + /// Simulates a clearing/settlement transaction /// - /// ATM withdrawal request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateFinancialWithdrawalAsync(Withdrawal_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateClearingAsync(ClearingModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates an orignal credit transaction + /// Simulates a financial request (PIN debit) transaction with optional cash back /// - /// Orignal Credit request model + /// Financial request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateFinancialOriginalcreditAsync(Orignalcredit_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateFinancialAsync(Financial_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates the creation of direct deposit + /// Simulates a financial advice transaction /// - /// Direct deposit simulate request model + /// Financial advice request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateDirectdepositsAsync(DirectDepositRequest body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateFinancialAdviceAsync(Authorization_advice_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates an authorization advice transaction + /// Simulates an ATM withdrawal transaction /// + /// ATM withdrawal request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateAuthorizationAdviceAsync(Authorization_advice_model body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateFinancialWithdrawalAsync(Withdrawal_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Simulates a clearing/settlement transaction + /// Simulates an orignal credit transaction /// + /// Orignal Credit request model /// Success /// A server side error occurred. - System.Threading.Tasks.Task SimulateClearingAsync(ClearingModel body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task SimulateFinancialOriginalcreditAsync(Orignalcredit_request_model body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -2325,30 +2325,30 @@ public partial interface IMarqetaClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// API to query for the web push provisioning related parameters, such as: google piaid/integrator_id, apple partnerId, apple Card Template Identifier + /// API to generate a Javascript object token containing a JWT to initiate Apple Pay web push provisioning /// /// Random pseudo unique value used for troubleshooting between multiple parties. 36 char max /// Ok /// A server side error occurred. - System.Threading.Tasks.Task DigitalwalletsWppParametersAsync(string req_sys_id, Request_for_wpp_parameters request_body_for_WPP_parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DigitalwalletsWppApplePayJWTAsync(string req_sys_id, Request_for_apple_pay_wpp_JWT request_body_for_Apple_Pay_WPP_JWT, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Request sending OPC data to google pay + /// API to query for the web push provisioning related parameters, such as: google piaid/integrator_id, apple partnerId, apple Card Template Identifier /// /// Random pseudo unique value used for troubleshooting between multiple parties. 36 char max - /// Accepted + /// Ok /// A server side error occurred. - System.Threading.Tasks.Task DigitalwalletsWppGooglePayPushProvisioningNotificationAsync(string req_sys_id, Sending_provisioning_data_to_google_pay_backend_request request_body_to_initiate_Google_Pay_web_push_provisioning, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DigitalwalletsWppParametersAsync(string req_sys_id, Request_for_wpp_parameters request_body_for_WPP_parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// API to generate a Javascript object token containing a JWT to initiate Apple Pay web push provisioning + /// Request sending OPC data to google pay /// /// Random pseudo unique value used for troubleshooting between multiple parties. 36 char max - /// Ok + /// Accepted /// A server side error occurred. - System.Threading.Tasks.Task DigitalwalletsWppApplePayJWTAsync(string req_sys_id, Request_for_apple_pay_wpp_JWT request_body_for_Apple_Pay_WPP_JWT, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DigitalwalletsWppGooglePayPushProvisioningNotificationAsync(string req_sys_id, Sending_provisioning_data_to_google_pay_backend_request request_body_to_initiate_Google_Pay_web_push_provisioning, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -2483,6 +2483,26 @@ public partial class Accepted_countries_update_model } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class AccountHolderGroupListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Account_holder_group_config { @@ -2574,26 +2594,6 @@ public partial class Account_holder_group_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class AccountHolderGroupListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class ClearingRetryModel { @@ -2618,23 +2618,6 @@ public partial class ClearingRetryModel } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class TranLogAttributeRequest - { - [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Transaction_token { get; set; } - - [Newtonsoft.Json.JsonProperty("attribute_name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Attribute_name { get; set; } - - [Newtonsoft.Json.JsonProperty("attribute_value", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Attribute_value { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class GL_Entry { @@ -2651,8 +2634,7 @@ public partial class GL_Entry [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Layer { get; set; } - [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Account { get; set; } [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -2681,66 +2663,35 @@ public partial class Gl_transaction_request [Newtonsoft.Json.JsonProperty("reference_transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Reference_transaction_token { get; set; } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class AuthControlListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } + [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Itc { get; set; } - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + [Newtonsoft.Json.JsonProperty("attributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Attributes { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Auth_control_merchant_scope + public partial class TranLogAttributeRequest { - /// - /// 36 char max - /// - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Mid { get; set; } - - /// - /// 4 char max - /// - [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 1)] - public string Mcc { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Transaction_token { get; set; } - /// - /// 36 char max - /// - [Newtonsoft.Json.JsonProperty("mcc_group", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Mcc_group { get; set; } + [Newtonsoft.Json.JsonProperty("attribute_name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Attribute_name { get; set; } - /// - /// 36 char max - /// - [Newtonsoft.Json.JsonProperty("merchant_group_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Merchant_group_token { get; set; } + [Newtonsoft.Json.JsonProperty("attribute_value", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Attribute_value { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Auth_control_response + public partial class Auth_control_exempt_mids_response { [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] public string Token { get; set; } [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -2751,8 +2702,16 @@ public partial class Auth_control_response [Newtonsoft.Json.JsonProperty("association", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Spend_control_association Association { get; set; } - [Newtonsoft.Json.JsonProperty("merchant_scope", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Auth_control_merchant_scope Merchant_scope { get; set; } + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Mid { get; set; } + + /// + /// 36 char max + /// + [Newtonsoft.Json.JsonProperty("merchant_group_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Merchant_group_token { get; set; } [Newtonsoft.Json.JsonProperty("start_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.DateTimeOffset? Start_time { get; set; } @@ -2763,6 +2722,12 @@ public partial class Auth_control_response [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("created", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Created { get; set; } + + [Newtonsoft.Json.JsonProperty("last_updated", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Last_updated { get; set; } + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -2779,44 +2744,22 @@ public partial class Spend_control_association } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Auth_control_exempt_mids_response + public partial class AuthControlExemptMidsListResponse { - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [System.ComponentModel.DataAnnotations.StringLength(255)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("association", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Spend_control_association Association { get; set; } - - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Mid { get; set; } - - /// - /// 36 char max - /// - [Newtonsoft.Json.JsonProperty("merchant_group_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Merchant_group_token { get; set; } - - [Newtonsoft.Json.JsonProperty("start_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Start_time { get; set; } + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("end_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? End_time { get; set; } + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } - [Newtonsoft.Json.JsonProperty("created", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Created { get; set; } + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } - [Newtonsoft.Json.JsonProperty("last_updated", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Last_updated { get; set; } + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } } @@ -2862,7 +2805,7 @@ public partial class Auth_control_exempt_mids_update_request } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class AuthControlExemptMidsListResponse + public partial class AuthControlListResponse { [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Count { get; set; } @@ -2877,12 +2820,45 @@ public partial class AuthControlExemptMidsListResponse public bool? Is_more { get; set; } [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + public System.Collections.Generic.ICollection Data { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Auth_control_request + public partial class Auth_control_merchant_scope + { + /// + /// 36 char max + /// + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Mid { get; set; } + + /// + /// 4 char max + /// + [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 1)] + public string Mcc { get; set; } + + /// + /// 36 char max + /// + [Newtonsoft.Json.JsonProperty("mcc_group", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Mcc_group { get; set; } + + /// + /// 36 char max + /// + [Newtonsoft.Json.JsonProperty("merchant_group_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Merchant_group_token { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Auth_control_response { [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] @@ -2966,28 +2942,57 @@ public partial class Merchant_scope } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Auth_user + public partial class Auth_control_request { - /// - /// 36 char max - /// - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("username", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Username { get; set; } + [System.ComponentModel.DataAnnotations.StringLength(255)] + public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Active { get; set; } + [Newtonsoft.Json.JsonProperty("association", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Spend_control_association Association { get; set; } - /// - /// An array of roles - /// - [Newtonsoft.Json.JsonProperty("roles", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public System.Collections.Generic.ICollection Roles { get; set; } = new System.Collections.ObjectModel.Collection(); + [Newtonsoft.Json.JsonProperty("merchant_scope", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Auth_control_merchant_scope Merchant_scope { get; set; } + + [Newtonsoft.Json.JsonProperty("start_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Start_time { get; set; } + + [Newtonsoft.Json.JsonProperty("end_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? End_time { get; set; } + + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Auth_user + { + /// + /// 36 char max + /// + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } + + [Newtonsoft.Json.JsonProperty("username", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Username { get; set; } + + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool Active { get; set; } + + /// + /// An array of roles + /// + [Newtonsoft.Json.JsonProperty("roles", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public System.Collections.Generic.ICollection Roles { get; set; } = new System.Collections.ObjectModel.Collection(); /// /// yyyy-MM-ddTHH:mm:ssZ @@ -3056,6 +3061,26 @@ public partial class Auth_user_update_request } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class AutoReloadListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class GPA { @@ -3231,26 +3256,6 @@ public partial class Auto_reload_model } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class AutoReloadListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Cardholder_balance { @@ -3442,7 +3447,7 @@ public partial class Bank_transfer_response_model public partial class Bank_transfer_transition_response_model { [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double? Amount { get; set; } [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -3582,7 +3587,7 @@ public partial class BankTransferListResponse public partial class Bank_transfer_transition_request_model { [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double? Amount { get; set; } [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -4956,26 +4961,6 @@ public partial class CardHolderNoteListResponse } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class BusinessCardHolderListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class AddressResponseModel { @@ -5009,6 +4994,26 @@ public partial class AddressResponseModel } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class BusinessCardHolderListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Beneficial_owner_response { @@ -6565,6 +6570,19 @@ public partial class Card_response } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Card_reorder_request + { + /// + /// May only contain alphanumeric, hyphens, and underscore characters + /// + [Newtonsoft.Json.JsonProperty("card_batch_label", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + [System.ComponentModel.DataAnnotations.RegularExpression(@"^[\w-]*$")] + public string Card_batch_label { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Pan_response { @@ -6632,19 +6650,6 @@ public partial class Merchant_card_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Card_reorder_request - { - /// - /// May only contain alphanumeric, hyphens, and underscore characters - /// - [Newtonsoft.Json.JsonProperty("card_batch_label", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - [System.ComponentModel.DataAnnotations.RegularExpression(@"^[\w-]*$")] - public string Card_batch_label { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class CardListResponse { @@ -6737,66 +6742,6 @@ public partial class Card_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Chargeback_transition_response - { - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [System.ComponentModel.DataAnnotations.StringLength(36)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Chargeback_transition_responseState State { get; set; } - - [Newtonsoft.Json.JsonProperty("previous_state", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Chargeback_transition_responsePrevious_state Previous_state { get; set; } - - [Newtonsoft.Json.JsonProperty("channel", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Chargeback_transition_responseChannel Channel { get; set; } - - [Newtonsoft.Json.JsonProperty("chargeback_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Chargeback_token { get; set; } - - [Newtonsoft.Json.JsonProperty("reason", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(1024)] - public string Reason { get; set; } - - [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36)] - public string Transaction_token { get; set; } - - /// - /// yyyy-MM-ddTHH:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public System.DateTimeOffset Created_time { get; set; } - - /// - /// yyyy-MM-ddTHH:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public System.DateTimeOffset Last_modified_time { get; set; } - - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Chargeback_transition_responseType Type { get; set; } - - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Chargeback_response { @@ -6864,40 +6809,100 @@ public partial class Chargeback_response } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ChargebackListResponse + public partial class Chargeback_transition_response { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [System.ComponentModel.DataAnnotations.StringLength(36)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Chargeback_transition_responseState State { get; set; } - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } + [Newtonsoft.Json.JsonProperty("previous_state", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Chargeback_transition_responsePrevious_state Previous_state { get; set; } - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } + [Newtonsoft.Json.JsonProperty("channel", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Chargeback_transition_responseChannel Channel { get; set; } - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + [Newtonsoft.Json.JsonProperty("chargeback_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Chargeback_token { get; set; } - } + [Newtonsoft.Json.JsonProperty("reason", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(1024)] + public string Reason { get; set; } + + [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36)] + public string Transaction_token { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ChargebackUpdateRequest - { /// - /// Either 'reason_description' or 'reason_code' is required + /// yyyy-MM-ddTHH:mm:ssZ /// - [Newtonsoft.Json.JsonProperty("reason_description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ChargebackUpdateRequestReason_description? Reason_description { get; set; } + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset Created_time { get; set; } /// - /// Either 'reason_code' or 'reason_description' is required + /// yyyy-MM-ddTHH:mm:ssZ /// - [Newtonsoft.Json.JsonProperty("reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Reason_code { get; set; } + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset Last_modified_time { get; set; } + + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Chargeback_transition_responseType Type { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ChargebackListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ChargebackUpdateRequest + { + /// + /// Either 'reason_description' or 'reason_code' is required + /// + [Newtonsoft.Json.JsonProperty("reason_description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ChargebackUpdateRequestReason_description? Reason_description { get; set; } + + /// + /// Either 'reason_code' or 'reason_description' is required + /// + [Newtonsoft.Json.JsonProperty("reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Reason_code { get; set; } [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] @@ -7119,6 +7124,42 @@ public partial class Real_time_standin_criteria } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Commando_mode_update_request + { + [Newtonsoft.Json.JsonProperty("program_gateway_funding_source_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Program_gateway_funding_source_token { get; set; } + + [Newtonsoft.Json.JsonProperty("real_time_standin_criteria", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Real_time_standin_criteria Real_time_standin_criteria { get; set; } + + [Newtonsoft.Json.JsonProperty("commando_mode_enables", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Commando_mode_enables Commando_mode_enables { get; set; } = new Commando_mode_enables(); + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class CommandoModeListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Commando_mode_transition_response { @@ -7167,38 +7208,18 @@ public partial class CommandoModeTransitionListResponse } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Commando_mode_update_request + public partial class Commando_mode_transition_request { - [Newtonsoft.Json.JsonProperty("program_gateway_funding_source_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Program_gateway_funding_source_token { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("real_time_standin_criteria", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Real_time_standin_criteria Real_time_standin_criteria { get; set; } + [Newtonsoft.Json.JsonProperty("commando_mode_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Commando_mode_token { get; set; } - [Newtonsoft.Json.JsonProperty("commando_mode_enables", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("transition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] - public Commando_mode_enables Commando_mode_enables { get; set; } = new Commando_mode_enables(); - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class CommandoModeListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + public Commando_mode_nested_transition Transition { get; set; } = new Commando_mode_nested_transition(); } @@ -7221,22 +7242,6 @@ public partial class Commando_mode_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Commando_mode_transition_request - { - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("commando_mode_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Commando_mode_token { get; set; } - - [Newtonsoft.Json.JsonProperty("transition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Commando_mode_nested_transition Transition { get; set; } = new Commando_mode_nested_transition(); - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Cron_job_info { @@ -8108,6 +8113,26 @@ public partial class DirectDepositAccountRequest } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class DirectDepositAccountListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Direct_deposit_account_transition_response { @@ -8192,34 +8217,6 @@ public partial class CustomerDueDiligenceUpdateRequest } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class DirectDepositAccountListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class DepositAccountUpdateRequest - { - [Newtonsoft.Json.JsonProperty("allow_immediate_credit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Allow_immediate_credit { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class DirectDepositAccountTransitionRequest { @@ -8247,26 +8244,8 @@ public partial class DirectDepositAccountTransitionRequest } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class DepositAccountResponse + public partial class DepositAccountUpdateRequest { - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string User_token { get; set; } - - [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Business_token { get; set; } - - [Newtonsoft.Json.JsonProperty("account_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Account_number { get; set; } - - [Newtonsoft.Json.JsonProperty("routing_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Routing_number { get; set; } - [Newtonsoft.Json.JsonProperty("allow_immediate_credit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Allow_immediate_credit { get; set; } @@ -8336,6 +8315,32 @@ public partial class DepositDepositResponse } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class DepositAccountResponse + { + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } + + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string User_token { get; set; } + + [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Business_token { get; set; } + + [Newtonsoft.Json.JsonProperty("account_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Account_number { get; set; } + + [Newtonsoft.Json.JsonProperty("routing_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Routing_number { get; set; } + + [Newtonsoft.Json.JsonProperty("allow_immediate_credit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Allow_immediate_credit { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class DirectDepositRequest { @@ -8392,6 +8397,26 @@ public partial class DirectDepositRequest } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class DirectDepositListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class DirectDepositTransitionResponse { @@ -8484,36 +8509,51 @@ public partial class DirectDepositTransitionListResponse } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class DirectDepositListResponse + public partial class ATCInformationModel { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } + [Newtonsoft.Json.JsonProperty("atc_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Atc_value { get; set; } - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } + [Newtonsoft.Json.JsonProperty("atc_discrepancy_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Atc_discrepancy_value { get; set; } - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + [Newtonsoft.Json.JsonProperty("atc_discrepancy_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Atc_discrepancy_indicator { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ATCInformationModel + public partial class BillPayResponse { - [Newtonsoft.Json.JsonProperty("atc_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Atc_value { get; set; } + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string User_token { get; set; } - [Newtonsoft.Json.JsonProperty("atc_discrepancy_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Atc_discrepancy_value { get; set; } + [Newtonsoft.Json.JsonProperty("payment_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Payment_token { get; set; } - [Newtonsoft.Json.JsonProperty("atc_discrepancy_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Atc_discrepancy_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("payment_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Payment_type { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("processing_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Processing_date { get; set; } + + [Newtonsoft.Json.JsonProperty("delivery_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Delivery_date { get; set; } + + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Status { get; set; } + + [Newtonsoft.Json.JsonProperty("biller_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Biller_token { get; set; } + + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Created_time { get; set; } + + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Last_modified_time { get; set; } } @@ -9275,7 +9315,7 @@ public partial class Jit_funding_api public string Business_token { get; set; } [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double Amount { get; set; } [Newtonsoft.Json.JsonProperty("memo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -10621,6 +10661,9 @@ public partial class Transaction_model [Newtonsoft.Json.JsonProperty("pull_from_card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public PullFromCardTransferResponse Pull_from_card { get; set; } + [Newtonsoft.Json.JsonProperty("billpay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BillPayResponse Billpay { get; set; } + [Newtonsoft.Json.JsonProperty("polarity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public Transaction_modelPolarity? Polarity { get; set; } @@ -10703,6 +10746,9 @@ public partial class Transaction_model [Newtonsoft.Json.JsonProperty("acquirer_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Acquirer_reference_id { get; set; } + [Newtonsoft.Json.JsonProperty("acquirer_reference_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Acquirer_reference_data { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_authentication_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Cardholder_authentication_data Cardholder_authentication_data { get; set; } @@ -10979,6 +11025,26 @@ public partial class Fee_update_request } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class FeeListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Fee_request { @@ -11018,26 +11084,6 @@ public partial class Fee_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class FeeListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class FileProcessingResponse { @@ -11152,30 +11198,7 @@ public partial class Program_funding_source_request } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class LinkedAccountBalanceResponse - { - [Newtonsoft.Json.JsonProperty("balance_iso_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Balance_iso_currency_code { get; set; } - - [Newtonsoft.Json.JsonProperty("processor_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Processor_token { get; set; } - - [Newtonsoft.Json.JsonProperty("available_balance", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Available_balance { get; set; } - - [Newtonsoft.Json.JsonProperty("account_balance", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Account_balance { get; set; } - - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Created_time { get; set; } - - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Last_modified_time { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Ach_response_model + public partial class Payment_card_response_model { /// /// yyyy-MM-ddTHH:mm:ssZ @@ -11191,6 +11214,10 @@ public partial class Ach_response_model [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public System.DateTimeOffset Last_modified_time { get; set; } + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Type { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Token { get; set; } @@ -11199,68 +11226,96 @@ public partial class Ach_response_model [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Account_suffix { get; set; } - [Newtonsoft.Json.JsonProperty("verification_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Verification_status { get; set; } - [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Account_type { get; set; } - [Newtonsoft.Json.JsonProperty("name_on_account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Name_on_account { get; set; } - - [Newtonsoft.Json.JsonProperty("bank_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bank_name { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool Active { get; set; } - [Newtonsoft.Json.JsonProperty("date_sent_for_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date_sent_for_verification { get; set; } - - [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Partner { get; set; } + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool Is_default_account { get; set; } - [Newtonsoft.Json.JsonProperty("partner_account_link_reference_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Partner_account_link_reference_token { get; set; } + [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Exp_date { get; set; } - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } + /// + /// Required if 'business_token' is not present + /// + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string User_token { get; set; } - [Newtonsoft.Json.JsonProperty("date_verified", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date_verified { get; set; } + /// + /// Required if 'user_token' is not present + /// + [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Business_token { get; set; } - [Newtonsoft.Json.JsonProperty("verification_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Verification_override { get; set; } + } - [Newtonsoft.Json.JsonProperty("verification_notes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Verification_notes { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Token_request + { + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Token { get; set; } + /// + /// required if 'business_token' is null + /// [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] public string User_token { get; set; } + /// + /// required if 'user_token' is null + /// [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] public string Business_token { get; set; } + [Newtonsoft.Json.JsonProperty("account_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Account_number { get; set; } + + [Newtonsoft.Json.JsonProperty("cvv_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 3)] + public string Cvv_number { get; set; } + + [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Exp_date { get; set; } + + [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Zip { get; set; } + + [Newtonsoft.Json.JsonProperty("postal_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Postal_code { get; set; } + + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Ach_verification_model + public partial class Token_update_request { - [Newtonsoft.Json.JsonProperty("verify_amount1", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Verify_amount1 { get; set; } - - [Newtonsoft.Json.JsonProperty("verify_amount2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Verify_amount2 { get; set; } + [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Exp_date { get; set; } [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class CardholderAddressListResponse + public partial class FundingAccountListResponse { [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Count { get; set; } @@ -11275,70 +11330,237 @@ public partial class CardholderAddressListResponse public bool? Is_more { get; set; } [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + public System.Collections.Generic.ICollection Data { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Card_holder_address_update_model + public partial class Funding_account_response_model { - [Newtonsoft.Json.JsonProperty("first_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(40)] - public string First_name { get; set; } + /// + /// yyyy-MM-ddTHH:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset Created_time { get; set; } - [Newtonsoft.Json.JsonProperty("last_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(40)] - public string Last_name { get; set; } + /// + /// yyyy-MM-ddTHH:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset Last_modified_time { get; set; } - [Newtonsoft.Json.JsonProperty("address_1", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(255)] - public string Address_1 { get; set; } + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("address_2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(255)] - public string Address_2 { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(40)] - public string City { get; set; } + [Newtonsoft.Json.JsonProperty("account_suffix", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Account_suffix { get; set; } - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string State { get; set; } + [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Account_type { get; set; } - [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(10)] - public string Zip { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(40)] - public string Country { get; set; } + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } - [Newtonsoft.Json.JsonProperty("phone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(255)] - public string Phone { get; set; } + [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Exp_date { get; set; } - [Newtonsoft.Json.JsonProperty("is_default_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_address { get; set; } + [Newtonsoft.Json.JsonProperty("verification_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Verification_status { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("date_verified", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date_verified { get; set; } - [Newtonsoft.Json.JsonProperty("postal_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(10)] - public string Postal_code { get; set; } + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string User_token { get; set; } + + [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Business_token { get; set; } + + [Newtonsoft.Json.JsonProperty("name_on_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name_on_account { get; set; } + + [Newtonsoft.Json.JsonProperty("date_sent_for_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date_sent_for_verification { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Verification_override { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_notes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Verification_notes { get; set; } + + [Newtonsoft.Json.JsonProperty("link_partner_account_reference_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Link_partner_account_reference_token { get; set; } + + [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Partner { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Program_funding_source_update_request + public partial class Ach_response_model { - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + /// + /// yyyy-MM-ddTHH:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset Created_time { get; set; } + + /// + /// yyyy-MM-ddTHH:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public System.DateTimeOffset Last_modified_time { get; set; } + + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } + + [Newtonsoft.Json.JsonProperty("account_suffix", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Account_suffix { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Verification_status { get; set; } + + [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Account_type { get; set; } + + [Newtonsoft.Json.JsonProperty("name_on_account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Name_on_account { get; set; } + + [Newtonsoft.Json.JsonProperty("bank_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bank_name { get; set; } + + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool Active { get; set; } + + [Newtonsoft.Json.JsonProperty("date_sent_for_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date_sent_for_verification { get; set; } + + [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Partner { get; set; } + + [Newtonsoft.Json.JsonProperty("partner_account_link_reference_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Partner_account_link_reference_token { get; set; } + + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } + + [Newtonsoft.Json.JsonProperty("date_verified", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date_verified { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Verification_override { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_notes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Verification_notes { get; set; } + + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string User_token { get; set; } + + [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Business_token { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Ach_model + { + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Token { get; set; } + + [Newtonsoft.Json.JsonProperty("account_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Account_number { get; set; } + + [Newtonsoft.Json.JsonProperty("routing_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Routing_number { get; set; } + + [Newtonsoft.Json.JsonProperty("name_on_account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Name { get; set; } + public string Name_on_account { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Ach_modelAccount_type Account_type { get; set; } + + [Newtonsoft.Json.JsonProperty("bank_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bank_name { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Verification_override { get; set; } + + [Newtonsoft.Json.JsonProperty("verification_notes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Verification_notes { get; set; } + + /// + /// Required if 'business_token' is null + /// + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string User_token { get; set; } + + /// + /// Required if 'user_token' is null + /// + [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Business_token { get; set; } + + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Ach_partner_request_model + { + [Newtonsoft.Json.JsonProperty("idempotentHash", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string IdempotentHash { get; set; } + + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } + + [Newtonsoft.Json.JsonProperty("partner_account_link_reference_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Partner_account_link_reference_token { get; set; } + + [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Partner { get; set; } + + /// + /// Required if 'business_token' is null + /// + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string User_token { get; set; } + + /// + /// Required if 'user_token' is null + /// + [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Business_token { get; set; } + + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } } @@ -11417,30 +11639,34 @@ public partial class Gateway_program_funding_source_response } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Gateway_program_funding_source_request + public partial class Gateway_program_funding_source_update_request { - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] public string Name { get; set; } + /// + /// Empty string (disabled); must be HTTPS + /// [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [System.ComponentModel.DataAnnotations.StringLength(250)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Active { get; set; } + /// + /// Required if URL is present + /// [Newtonsoft.Json.JsonProperty("basic_auth_username", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] public string Basic_auth_username { get; set; } + /// + /// Required if URL is present; must contain upper and lowercase letters, numbers, and symbols + /// [Newtonsoft.Json.JsonProperty("basic_auth_password", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] [System.ComponentModel.DataAnnotations.StringLength(100, MinimumLength = 20)] @@ -11468,124 +11694,121 @@ public partial class Gateway_program_funding_source_request } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Payment_card_response_model + public partial class Gateway_program_custom_header_update_request { /// - /// yyyy-MM-ddTHH:mm:ssZ + /// Custom headers /// - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public System.DateTimeOffset Created_time { get; set; } + [Newtonsoft.Json.JsonProperty("custom_header", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Custom_header { get; set; } - /// - /// yyyy-MM-ddTHH:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public System.DateTimeOffset Last_modified_time { get; set; } + } - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Type { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ProgramFundingSourceListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } - [Newtonsoft.Json.JsonProperty("account_suffix", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Account_suffix { get; set; } + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } - [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Account_type { get; set; } + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Active { get; set; } + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Is_default_account { get; set; } + } - [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Exp_date { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Gateway_program_version_update_request + { + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(25, MinimumLength = 1)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Gateway_program_version_update_requestVersion Version { get; set; } - /// - /// Required if 'business_token' is not present - /// - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string User_token { get; set; } + } - /// - /// Required if 'user_token' is not present - /// - [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Business_token { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ACHReversalRequest + { + [Newtonsoft.Json.JsonProperty("reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(3)] + public string Reason_code { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Token_request + public partial class ACHReturn { - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } - /// - /// required if 'business_token' is null - /// - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string User_token { get; set; } + [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date { get; set; } - /// - /// required if 'user_token' is null - /// - [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Business_token { get; set; } + [Newtonsoft.Json.JsonProperty("dateInitiated", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? DateInitiated { get; set; } - [Newtonsoft.Json.JsonProperty("account_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Account_number { get; set; } + [Newtonsoft.Json.JsonProperty("orderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrderId { get; set; } - [Newtonsoft.Json.JsonProperty("cvv_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 3)] - public string Cvv_number { get; set; } + [Newtonsoft.Json.JsonProperty("reasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReasonCode { get; set; } - [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Exp_date { get; set; } + [Newtonsoft.Json.JsonProperty("directDeposit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? DirectDeposit { get; set; } - [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Zip { get; set; } + [Newtonsoft.Json.JsonProperty("achType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AchType { get; set; } - [Newtonsoft.Json.JsonProperty("postal_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Postal_code { get; set; } + } - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class LinkedAccountBalanceResponse + { + [Newtonsoft.Json.JsonProperty("balance_iso_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Balance_iso_currency_code { get; set; } + + [Newtonsoft.Json.JsonProperty("processor_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Processor_token { get; set; } + + [Newtonsoft.Json.JsonProperty("available_balance", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Available_balance { get; set; } + + [Newtonsoft.Json.JsonProperty("account_balance", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Account_balance { get; set; } + + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Created_time { get; set; } + + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Last_modified_time { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Token_update_request + public partial class Ach_verification_model { - [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Exp_date { get; set; } + [Newtonsoft.Json.JsonProperty("verify_amount1", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Verify_amount1 { get; set; } + + [Newtonsoft.Json.JsonProperty("verify_amount2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Verify_amount2 { get; set; } [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } - } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class FundingAccountListResponse + public partial class CardholderAddressListResponse { [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Count { get; set; } @@ -11600,202 +11823,102 @@ public partial class FundingAccountListResponse public bool? Is_more { get; set; } [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + public System.Collections.Generic.ICollection Data { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Funding_account_response_model + public partial class Card_holder_address_update_model { - /// - /// yyyy-MM-ddTHH:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public System.DateTimeOffset Created_time { get; set; } - - /// - /// yyyy-MM-ddTHH:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public System.DateTimeOffset Last_modified_time { get; set; } - - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } - - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("account_suffix", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Account_suffix { get; set; } + [Newtonsoft.Json.JsonProperty("first_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(40)] + public string First_name { get; set; } - [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Account_type { get; set; } + [Newtonsoft.Json.JsonProperty("last_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(40)] + public string Last_name { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("address_1", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(255)] + public string Address_1 { get; set; } - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } + [Newtonsoft.Json.JsonProperty("address_2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(255)] + public string Address_2 { get; set; } - [Newtonsoft.Json.JsonProperty("exp_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Exp_date { get; set; } + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(40)] + public string City { get; set; } - [Newtonsoft.Json.JsonProperty("verification_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Verification_status { get; set; } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string State { get; set; } - [Newtonsoft.Json.JsonProperty("date_verified", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date_verified { get; set; } + [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(10)] + public string Zip { get; set; } - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string User_token { get; set; } + [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(40)] + public string Country { get; set; } - [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Business_token { get; set; } + [Newtonsoft.Json.JsonProperty("phone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(255)] + public string Phone { get; set; } - [Newtonsoft.Json.JsonProperty("name_on_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name_on_account { get; set; } + [Newtonsoft.Json.JsonProperty("is_default_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_address { get; set; } - [Newtonsoft.Json.JsonProperty("date_sent_for_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date_sent_for_verification { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("verification_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Verification_override { get; set; } + [Newtonsoft.Json.JsonProperty("postal_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(10)] + public string Postal_code { get; set; } - [Newtonsoft.Json.JsonProperty("verification_notes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Verification_notes { get; set; } + } - [Newtonsoft.Json.JsonProperty("link_partner_account_reference_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Link_partner_account_reference_token { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Program_funding_source_update_request + { + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Partner { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Ach_model + public partial class Gateway_program_funding_source_request { + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [System.ComponentModel.DataAnnotations.StringLength(250)] + public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("account_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Account_number { get; set; } - - [Newtonsoft.Json.JsonProperty("routing_number", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Routing_number { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("name_on_account", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("basic_auth_username", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Name_on_account { get; set; } - - [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Ach_modelAccount_type Account_type { get; set; } - - [Newtonsoft.Json.JsonProperty("bank_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bank_name { get; set; } - - [Newtonsoft.Json.JsonProperty("verification_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Verification_override { get; set; } + public string Basic_auth_username { get; set; } - [Newtonsoft.Json.JsonProperty("verification_notes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Verification_notes { get; set; } - - /// - /// Required if 'business_token' is null - /// - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string User_token { get; set; } - - /// - /// Required if 'user_token' is null - /// - [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Business_token { get; set; } - - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Ach_partner_request_model - { - [Newtonsoft.Json.JsonProperty("idempotentHash", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string IdempotentHash { get; set; } - - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("partner_account_link_reference_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Partner_account_link_reference_token { get; set; } - - [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Partner { get; set; } - - /// - /// Required if 'business_token' is null - /// - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string User_token { get; set; } - - /// - /// Required if 'user_token' is null - /// - [Newtonsoft.Json.JsonProperty("business_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Business_token { get; set; } - - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Gateway_program_funding_source_update_request - { - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Name { get; set; } - - /// - /// Empty string (disabled); must be HTTPS - /// - [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [System.ComponentModel.DataAnnotations.StringLength(250)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } - - /// - /// Required if URL is present - /// - [Newtonsoft.Json.JsonProperty("basic_auth_username", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Basic_auth_username { get; set; } - - /// - /// Required if URL is present; must contain upper and lowercase letters, numbers, and symbols - /// - [Newtonsoft.Json.JsonProperty("basic_auth_password", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(100, MinimumLength = 20)] - public string Basic_auth_password { get; set; } + [Newtonsoft.Json.JsonProperty("basic_auth_password", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(100, MinimumLength = 20)] + public string Basic_auth_password { get; set; } /// /// Total timeout in milliseconds for gateway processing @@ -11818,83 +11941,6 @@ public partial class Gateway_program_funding_source_update_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Gateway_program_custom_header_update_request - { - /// - /// Custom headers - /// - [Newtonsoft.Json.JsonProperty("custom_header", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary Custom_header { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ProgramFundingSourceListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Gateway_program_version_update_request - { - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(25, MinimumLength = 1)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Gateway_program_version_update_requestVersion Version { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ACHReturn - { - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } - - [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date { get; set; } - - [Newtonsoft.Json.JsonProperty("dateInitiated", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? DateInitiated { get; set; } - - [Newtonsoft.Json.JsonProperty("orderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrderId { get; set; } - - [Newtonsoft.Json.JsonProperty("reasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReasonCode { get; set; } - - [Newtonsoft.Json.JsonProperty("directDeposit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? DirectDeposit { get; set; } - - [Newtonsoft.Json.JsonProperty("achType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AchType { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ACHReversalRequest - { - [Newtonsoft.Json.JsonProperty("reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(3)] - public string Reason_code { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Card_holder_address_model { @@ -12014,6 +12060,9 @@ public partial class TranlogTokenWithInjectableDomainDataToPublishToTrancacheAnd [Newtonsoft.Json.JsonProperty("direct_deposit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public DepositDepositResponse Direct_deposit { get; set; } + [Newtonsoft.Json.JsonProperty("billpay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BillPayResponse Billpay { get; set; } + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -12447,6 +12496,26 @@ public partial class MCCConfig } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class MCCGroupListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Hold_increase { @@ -12505,7 +12574,7 @@ public partial class Mcc_group_update_model } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class MCCGroupListResponse + public partial class MerchantGroupListResponse { [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Count { get; set; } @@ -12520,7 +12589,7 @@ public partial class MCCGroupListResponse public bool? Is_more { get; set; } [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } + public System.Collections.Generic.ICollection Data { get; set; } } @@ -12586,26 +12655,6 @@ public partial class Merchant_group_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class MerchantGroupListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Peer_transfer_request { @@ -12843,26 +12892,6 @@ public partial class Load_velocity_model } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ReportRequest - { - [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Partner { get; set; } - - [Newtonsoft.Json.JsonProperty("report", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Report { get; set; } - - [Newtonsoft.Json.JsonProperty("startDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? StartDate { get; set; } - - [Newtonsoft.Json.JsonProperty("endDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? EndDate { get; set; } - - [Newtonsoft.Json.JsonProperty("sendFiles", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SendFiles { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Bulk_request_model { @@ -12920,6 +12949,26 @@ public partial class Card_inventory_response } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ReportRequest + { + [Newtonsoft.Json.JsonProperty("partner", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Partner { get; set; } + + [Newtonsoft.Json.JsonProperty("report", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Report { get; set; } + + [Newtonsoft.Json.JsonProperty("startDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? StartDate { get; set; } + + [Newtonsoft.Json.JsonProperty("endDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? EndDate { get; set; } + + [Newtonsoft.Json.JsonProperty("sendFiles", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SendFiles { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class LoadRuleListResponse { @@ -13032,18 +13081,10 @@ public partial class Base_ach_extended_response_model } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Program_funding_source_ach_update_request + public partial class ACHListResponse { - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ACHListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Start_index { get; set; } @@ -13059,6 +13100,14 @@ public partial class ACHListResponse } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Program_funding_source_ach_update_request + { + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class ProgramReserveTransactionListResponse { @@ -13160,6 +13209,15 @@ public partial class Program_reserve_transaction_request } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Program_reserve_transaction_clearing_request + { + [Newtonsoft.Json.JsonProperty("program_reserve_transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Program_reserve_transaction_token { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Program_reserve_deposit_request { @@ -13211,35 +13269,6 @@ public partial class Program_reserve_account_balance } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Program_reserve_transaction_clearing_request - { - [Newtonsoft.Json.JsonProperty("program_reserve_transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Program_reserve_transaction_token { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ProgramTransferListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Program_transfer_type_response { @@ -13308,6 +13337,26 @@ public partial class ProgramTransferTypeListResponse } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ProgramTransferListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Program_transfer { @@ -13679,26 +13728,6 @@ public partial class Real_time_fee_group_request } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Real_time_fee_group_create_request - { - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } - - [Newtonsoft.Json.JsonProperty("fee_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Fee_tokens { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class RealTimeFeeGroupListResponse { @@ -13719,6 +13748,26 @@ public partial class RealTimeFeeGroupListResponse } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Real_time_fee_group_create_request + { + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Token { get; set; } + + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } + + [Newtonsoft.Json.JsonProperty("fee_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Fee_tokens { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Fraud_view { @@ -13852,6 +13901,31 @@ public partial class Triggered_rule } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class ReversalModel + { + [Newtonsoft.Json.JsonProperty("network_fees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Network_fees { get; set; } + + [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Webhook Webhook { get; set; } + + [Newtonsoft.Json.JsonProperty("original_transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Original_transaction_token { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("find_original_window_days", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Find_original_window_days { get; set; } + + [Newtonsoft.Json.JsonProperty("is_advice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_advice { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Webhook { @@ -13966,1818 +14040,1624 @@ public partial class Card_acceptor_model } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ReversalModel + public partial class Advanced_simulation_response_model { - [Newtonsoft.Json.JsonProperty("network_fees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Network_fees { get; set; } + [Newtonsoft.Json.JsonProperty("transaction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_model Transaction { get; set; } - [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Webhook Webhook { get; set; } + [Newtonsoft.Json.JsonProperty("raw_iso8583", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Raw_iso8583 { get; set; } - [Newtonsoft.Json.JsonProperty("original_transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Original_transaction_token { get; set; } + } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double Amount { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class AdvancedAuthOtherPOI + { + [Newtonsoft.Json.JsonProperty("card_presence", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Card_presence { get; set; } - [Newtonsoft.Json.JsonProperty("find_original_window_days", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Find_original_window_days { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_presence", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Cardholder_presence { get; set; } - [Newtonsoft.Json.JsonProperty("is_advice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_advice { get; set; } + [Newtonsoft.Json.JsonProperty("partial_approval_capable", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Partial_approval_capable { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Financial_request_model + public partial class AdvancedAuthPOI { - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double Amount { get; set; } + [Newtonsoft.Json.JsonProperty("other", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AdvancedAuthOtherPOI Other { get; set; } - [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Card_token { get; set; } + [Newtonsoft.Json.JsonProperty("ecommerce", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Ecommerce { get; set; } - [Newtonsoft.Json.JsonProperty("pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(15, MinimumLength = 1)] - public string Pin { get; set; } + [Newtonsoft.Json.JsonProperty("atm", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Atm { get; set; } - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Mid { get; set; } + [Newtonsoft.Json.JsonProperty("moto", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moto { get; set; } - [Newtonsoft.Json.JsonProperty("cash_back_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Cash_back_amount { get; set; } + [Newtonsoft.Json.JsonProperty("moto_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AdvancedAuthPOIMoto_indicator? Moto_indicator { get; set; } - [Newtonsoft.Json.JsonProperty("is_pre_auth", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_pre_auth { get; set; } + } - [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Card_acceptor_model Card_acceptor { get; set; } = new Card_acceptor_model(); + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class BillingAddress + { + [Newtonsoft.Json.JsonProperty("first_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string First_name { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_options Transaction_options { get; set; } + [Newtonsoft.Json.JsonProperty("last_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Last_name { get; set; } - [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Webhook Webhook { get; set; } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } + + [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Zip { get; set; } + + [Newtonsoft.Json.JsonProperty("compressed_zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Compressed_zip { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Transaction_options + public partial class ReplacementAmount { - [Newtonsoft.Json.JsonProperty("additional_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Additional_data { get; set; } - - [Newtonsoft.Json.JsonProperty("database_transaction_timeout", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Database_transaction_timeout { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Transaction_amount { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_timeout_threshold_seconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? Transaction_timeout_threshold_seconds { get; set; } + [Newtonsoft.Json.JsonProperty("settlement_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Settlement_amount { get; set; } - [Newtonsoft.Json.JsonProperty("pre_auth_time_limit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Pre_auth_time_limit { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_fee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Transaction_fee { get; set; } - [Newtonsoft.Json.JsonProperty("send_expiration_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Send_expiration_date { get; set; } + [Newtonsoft.Json.JsonProperty("settlement_fee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Settlement_fee { get; set; } - [Newtonsoft.Json.JsonProperty("send_track_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Send_track_data { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_fee_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transaction_fee_indicator { get; set; } - [Newtonsoft.Json.JsonProperty("card_expiration_date_yymm", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Card_expiration_date_yymm { get; set; } + [Newtonsoft.Json.JsonProperty("settlement_fee_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Settlement_fee_indicator { get; set; } - [Newtonsoft.Json.JsonProperty("encryption_key_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Encryption_key_id { get; set; } - - [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transaction_token { get; set; } - - [Newtonsoft.Json.JsonProperty("is_async", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_async { get; set; } - - } + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Authorization_advice_model + public partial class Account_funding_receiver_data { - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double Amount { get; set; } - - [Newtonsoft.Json.JsonProperty("network_fees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Network_fees { get; set; } + [Newtonsoft.Json.JsonProperty("funding_source", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Account_funding_receiver_dataFunding_source Funding_source { get; set; } - [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Webhook Webhook { get; set; } + [Newtonsoft.Json.JsonProperty("receiver_account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Account_funding_receiver_dataReceiver_account_type Receiver_account_type { get; set; } - [Newtonsoft.Json.JsonProperty("original_transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Original_transaction_token { get; set; } + [Newtonsoft.Json.JsonProperty("first_name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string First_name { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_options Transaction_options { get; set; } + [Newtonsoft.Json.JsonProperty("last_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Last_name { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Withdrawal_request_model + public partial class Account_funding_request { - [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Withdrawal_request_modelAccount_type? Account_type { get; set; } - - [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Card_token { get; set; } + [Newtonsoft.Json.JsonProperty("screening_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Screening_score { get; set; } - [Newtonsoft.Json.JsonProperty("pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(15, MinimumLength = 1)] - public string Pin { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Account_funding_requestTransaction_type Transaction_type { get; set; } - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("receiver_data", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Mid { get; set; } - - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double Amount { get; set; } - - [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Card_acceptor_model Card_acceptor { get; set; } + public Account_funding_receiver_data Receiver_data { get; set; } = new Account_funding_receiver_data(); - [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Webhook Webhook { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transaction_purpose { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Original_credit_sender_data + public partial class Adv_auth_request_model { - [Newtonsoft.Json.JsonProperty("funding_source", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("extendedStipReasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExtendedStipReasonCode { get; set; } + + /// + /// Default is 0100 + /// + [Newtonsoft.Json.JsonProperty("mti", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Adv_auth_request_modelMti? Mti { get; set; } + + [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Original_credit_sender_dataFunding_source Funding_source { get; set; } + public Adv_auth_request_modelNetwork Network { get; set; } - [Newtonsoft.Json.JsonProperty("sender_account_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + /// + /// Defaults to VISANET if network is VISA + /// + [Newtonsoft.Json.JsonProperty("sub_network", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Original_credit_sender_dataSender_account_type? Sender_account_type { get; set; } + public Adv_auth_request_modelSub_network? Sub_network { get; set; } - [Newtonsoft.Json.JsonProperty("sender_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_name { get; set; } + [Newtonsoft.Json.JsonProperty("network_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Network_reference_id { get; set; } - [Newtonsoft.Json.JsonProperty("sender_reference_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_reference_number { get; set; } + /// + /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("local_transaction_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Local_transaction_date { get; set; } - [Newtonsoft.Json.JsonProperty("sender_account_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_account_number { get; set; } + /// + /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("transaction_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Transaction_date { get; set; } - [Newtonsoft.Json.JsonProperty("sender_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_address { get; set; } + /// + /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("settlement_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Settlement_date { get; set; } - [Newtonsoft.Json.JsonProperty("sender_city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_city { get; set; } + [Newtonsoft.Json.JsonProperty("stan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Stan { get; set; } - [Newtonsoft.Json.JsonProperty("sender_state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_state { get; set; } + [Newtonsoft.Json.JsonProperty("rrn", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Rrn { get; set; } - [Newtonsoft.Json.JsonProperty("sender_country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sender_country { get; set; } + [Newtonsoft.Json.JsonProperty("processing_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Processing_code { get; set; } - [Newtonsoft.Json.JsonProperty("unique_transaction_reference_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(17, MinimumLength = 1)] - public string Unique_transaction_reference_number { get; set; } + [Newtonsoft.Json.JsonProperty("function_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Function_code { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Original_credit_sender_dataTransaction_purpose? Transaction_purpose { get; set; } + [Newtonsoft.Json.JsonProperty("reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Reason_code { get; set; } - [Newtonsoft.Json.JsonProperty("visa_transaction_purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Visa_transaction_purpose { get; set; } + [Newtonsoft.Json.JsonProperty("rejection_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(4)] + public string Rejection_code { get; set; } - [Newtonsoft.Json.JsonProperty("deferred_hold_by", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Original_credit_sender_dataDeferred_hold_by? Deferred_hold_by { get; set; } + [Newtonsoft.Json.JsonProperty("acquirer_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Acquirer_reference_id { get; set; } - [Newtonsoft.Json.JsonProperty("fast_funds_enabled", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Fast_funds_enabled { get; set; } + [Newtonsoft.Json.JsonProperty("forwarding_institution_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(11, MinimumLength = 11)] + public string Forwarding_institution_id { get; set; } - } + [Newtonsoft.Json.JsonProperty("local_transaction_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Local_transaction_amount { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Orignalcredit_request_model - { - [Newtonsoft.Json.JsonProperty("transactionPurpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TransactionPurpose { get; set; } + [Newtonsoft.Json.JsonProperty("local_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Local_currency_code { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double Amount { get; set; } + [Newtonsoft.Json.JsonProperty("settlement_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Settlement_amount { get; set; } - [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] - public string Card_token { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_billing_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Cardholder_billing_amount { get; set; } - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] - public string Mid { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_billing_conversion_rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Cardholder_billing_conversion_rate { get; set; } - [Newtonsoft.Json.JsonProperty("screening_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Screening_score { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_billing_currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Cardholder_billing_currency { get; set; } - [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Card_acceptor_model Card_acceptor { get; set; } + [Newtonsoft.Json.JsonProperty("settlement_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Settlement_currency_code { get; set; } - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Orignalcredit_request_modelType Type { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_settlement_conversion_rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Cardholder_settlement_conversion_rate { get; set; } - [Newtonsoft.Json.JsonProperty("sender_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Original_credit_sender_data Sender_data { get; set; } + [Newtonsoft.Json.JsonProperty("approval_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Approval_code { get; set; } - [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Webhook Webhook { get; set; } + [Newtonsoft.Json.JsonProperty("network_response", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Network_response { get; set; } - } + [Newtonsoft.Json.JsonProperty("stan_padding_length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Stan_padding_length { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class InternalDigitalWallet - { - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? Id { get; set; } + [Newtonsoft.Json.JsonProperty("acquirer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Acquirer Acquirer { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("payment_account_reference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Payment_account_reference { get; set; } - [Newtonsoft.Json.JsonProperty("card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_card Card { get; set; } + [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Card_token { get; set; } - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string State { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } - [Newtonsoft.Json.JsonProperty("state_reason", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string State_reason { get; set; } + [Newtonsoft.Json.JsonProperty("cash_back_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Cash_back_amount { get; set; } - [Newtonsoft.Json.JsonProperty("fulfillment_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Fulfillment_status { get; set; } + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mid { get; set; } - [Newtonsoft.Json.JsonProperty("issuer_eligibility_decision", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Issuer_eligibility_decision { get; set; } + [Newtonsoft.Json.JsonProperty("pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Pin { get; set; } - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Created_time { get; set; } + [Newtonsoft.Json.JsonProperty("new_pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string New_pin { get; set; } - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Last_modified_time { get; set; } + /// + /// Default is MAG_STRIPE + /// + [Newtonsoft.Json.JsonProperty("pos_pan_entry_mode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Adv_auth_request_modelPos_pan_entry_mode? Pos_pan_entry_mode { get; set; } - [Newtonsoft.Json.JsonProperty("token_service_provider", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Token_service_provider Token_service_provider { get; set; } + [Newtonsoft.Json.JsonProperty("acquirer_fee_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Acquirer_fee_amount { get; set; } - [Newtonsoft.Json.JsonProperty("device", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Device Device { get; set; } + [Newtonsoft.Json.JsonProperty("stip_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Stip_reason_code { get; set; } - [Newtonsoft.Json.JsonProperty("wallet_provider_profile", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Wallet_provider_profile Wallet_provider_profile { get; set; } + /// + /// Default is false + /// + [Newtonsoft.Json.JsonProperty("is_recurring", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_recurring { get; set; } - [Newtonsoft.Json.JsonProperty("address_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_verification Address_verification { get; set; } + /// + /// Default is false + /// + [Newtonsoft.Json.JsonProperty("is_installment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_installment { get; set; } - [Newtonsoft.Json.JsonProperty("response", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Response Response { get; set; } + [Newtonsoft.Json.JsonProperty("network_fees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Network_fees { get; set; } - } + [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Advanced_auth_card_acceptor_model Card_acceptor { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class InternalGPAOrder - { - [Newtonsoft.Json.JsonProperty("tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Tags { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_options Transaction_options { get; set; } - [Newtonsoft.Json.JsonProperty("memo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Memo { get; set; } + [Newtonsoft.Json.JsonProperty("original_data_elements", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Original_data_elements Original_data_elements { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("replacement_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReplacementAmount Replacement_amount { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double Amount { get; set; } + [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Webhook Webhook { get; set; } - [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } + [Newtonsoft.Json.JsonProperty("digital_wallet_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Iso8583_digital_wallet_token Digital_wallet_token { get; set; } - [Newtonsoft.Json.JsonProperty("fundingSource", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_funding_source FundingSource { get; set; } + [Newtonsoft.Json.JsonProperty("digital_wallet_token_device_info", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Digital_wallet_token_device Digital_wallet_token_device_info { get; set; } - [Newtonsoft.Json.JsonProperty("originalOrderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OriginalOrderId { get; set; } + [Newtonsoft.Json.JsonProperty("digital_wallet_token_wallet_provider_info", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Digital_wallet_token_wallet_provider Digital_wallet_token_wallet_provider_info { get; set; } - [Newtonsoft.Json.JsonProperty("orderType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrderType { get; set; } + [Newtonsoft.Json.JsonProperty("raw_iso_fields", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Raw_iso_fields { get; set; } - [Newtonsoft.Json.JsonProperty("orderState", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("cavv_result_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public InternalGPAOrderOrderState? OrderState { get; set; } + public Adv_auth_request_modelCavv_result_code? Cavv_result_code { get; set; } - [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseCode { get; set; } + [Newtonsoft.Json.JsonProperty("acceptance_environment_authentication_outage_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Acceptance_environment_authentication_outage_indicator { get; set; } - [Newtonsoft.Json.JsonProperty("responseMemo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseMemo { get; set; } + [Newtonsoft.Json.JsonProperty("threeds_authentication_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Threeds_authentication_value { get; set; } - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Created_time { get; set; } + [Newtonsoft.Json.JsonProperty("threeds_acquirer_exemption_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Threeds_acquirer_exemption_value { get; set; } - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Last_modified_time { get; set; } + [Newtonsoft.Json.JsonProperty("security_level_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Security_level_indicator { get; set; } - } + [Newtonsoft.Json.JsonProperty("secure_payment_application_v2_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Secure_payment_application_v2_value { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class InternalGatewayLog - { - [Newtonsoft.Json.JsonProperty("gatewayMerchant", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternalGatewayMerchant GatewayMerchant { get; set; } + [Newtonsoft.Json.JsonProperty("from_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string From_account { get; set; } - [Newtonsoft.Json.JsonProperty("orderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrderId { get; set; } + [Newtonsoft.Json.JsonProperty("issuer_received_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Issuer_received_time { get; set; } - [Newtonsoft.Json.JsonProperty("requestMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RequestMethod { get; set; } + [Newtonsoft.Json.JsonProperty("network_metadata", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Network_metadata Network_metadata { get; set; } - [Newtonsoft.Json.JsonProperty("gatewayRequestMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GatewayRequestMethod { get; set; } + [Newtonsoft.Json.JsonProperty("isa_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Adv_auth_request_modelIsa_indicator? Isa_indicator { get; set; } - [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseCode { get; set; } + [Newtonsoft.Json.JsonProperty("payment_facilitator_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Payment_facilitator_id { get; set; } - [Newtonsoft.Json.JsonProperty("responseSubCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseSubCode { get; set; } + [Newtonsoft.Json.JsonProperty("independent_sales_organization_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Independent_sales_organization_id { get; set; } - [Newtonsoft.Json.JsonProperty("responseReasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseReasonCode { get; set; } + [Newtonsoft.Json.JsonProperty("sub_merchant_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sub_merchant_id { get; set; } - [Newtonsoft.Json.JsonProperty("responseMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseMessage { get; set; } + [Newtonsoft.Json.JsonProperty("country_of_origin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Country_of_origin { get; set; } - [Newtonsoft.Json.JsonProperty("gatewayResponseMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GatewayResponseMessage { get; set; } + [Newtonsoft.Json.JsonProperty("foreign_retailer_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Foreign_retailer_indicator { get; set; } - [Newtonsoft.Json.JsonProperty("responseStatus", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseStatus { get; set; } + [Newtonsoft.Json.JsonProperty("currency_conversion_assessment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency_conversion_assessment { get; set; } - [Newtonsoft.Json.JsonProperty("gatewayTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GatewayTransactionId { get; set; } + [Newtonsoft.Json.JsonProperty("transfer_service_provider_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transfer_service_provider_name { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("payment_facilitator_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Payment_facilitator_name { get; set; } - [Newtonsoft.Json.JsonProperty("apiDuration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? ApiDuration { get; set; } + [Newtonsoft.Json.JsonProperty("network_assigned_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Network_assigned_id { get; set; } - [Newtonsoft.Json.JsonProperty("gatewayDuration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? GatewayDuration { get; set; } + [Newtonsoft.Json.JsonProperty("account_funding", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account_funding_request Account_funding { get; set; } - [Newtonsoft.Json.JsonProperty("memo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Memo { get; set; } + [Newtonsoft.Json.JsonProperty("atc_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Atc_value { get; set; } - [Newtonsoft.Json.JsonProperty("gatewayVersion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GatewayVersion { get; set; } + [Newtonsoft.Json.JsonProperty("atc_discrepancy_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Atc_discrepancy_value { get; set; } - [Newtonsoft.Json.JsonProperty("funding_source", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("atc_discrepancy_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Atc_discrepancy_indicator { get; set; } + + [Newtonsoft.Json.JsonProperty("poi", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AdvancedAuthPOI Poi { get; set; } + + [Newtonsoft.Json.JsonProperty("card_options", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] - public Internal_funding_source Funding_source { get; set; } = new Internal_funding_source(); + public Advanced_auth_card_options Card_options { get; set; } = new Advanced_auth_card_options(); - [Newtonsoft.Json.JsonProperty("internalUser", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_user InternalUser { get; set; } + [Newtonsoft.Json.JsonProperty("is_stip_approval", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_stip_approval { get; set; } - [Newtonsoft.Json.JsonProperty("network_metadata", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Network_metadata Network_metadata { get; set; } + [Newtonsoft.Json.JsonProperty("stip_advice_detail_code_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Stip_advice_detail_code_override { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class InternalGatewayMerchant + public partial class Advanced_auth_card_acceptor_model { - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long Id { get; set; } - - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } + public string Mcc { get; set; } - } + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class VelocityCache - { - [Newtonsoft.Json.JsonProperty("cardHolderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? CardHolderId { get; set; } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } - [Newtonsoft.Json.JsonProperty("velocityControlId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? VelocityControlId { get; set; } + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } - [Newtonsoft.Json.JsonProperty("usedAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? UsedAmount { get; set; } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string State { get; set; } - [Newtonsoft.Json.JsonProperty("usageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? UsageCount { get; set; } + [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Zip { get; set; } - [Newtonsoft.Json.JsonProperty("maxId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? MaxId { get; set; } + [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Country { get; set; } - [Newtonsoft.Json.JsonProperty("windowStartTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? WindowStartTime { get; set; } + [Newtonsoft.Json.JsonProperty("tid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Tid { get; set; } - [Newtonsoft.Json.JsonProperty("vcSignature", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VcSignature { get; set; } + [Newtonsoft.Json.JsonProperty("phone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Phone { get; set; } - [Newtonsoft.Json.JsonProperty("createdTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? CreatedTime { get; set; } + [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("lastModifiedTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? LastModifiedTime { get; set; } + [Newtonsoft.Json.JsonProperty("customer_service_phone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Customer_service_phone { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Funding_tranlog + public partial class Advanced_auth_card_options { - [Newtonsoft.Json.JsonProperty("returnedBalances", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReturnedBalances { get; set; } - - [Newtonsoft.Json.JsonProperty("tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Tags { get; set; } + [Newtonsoft.Json.JsonProperty("cvv", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(3)] + public string Cvv { get; set; } - [Newtonsoft.Json.JsonProperty("transactionType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string TransactionType { get; set; } + [Newtonsoft.Json.JsonProperty("expiration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 4)] + public string Expiration { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("billing_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BillingAddress Billing_address { get; set; } - [Newtonsoft.Json.JsonProperty("ref_transaction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_authorization_transaction Ref_transaction { get; set; } + [Newtonsoft.Json.JsonProperty("track1_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Track1_data Track1_data { get; set; } - [Newtonsoft.Json.JsonProperty("node", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Node { get; set; } + [Newtonsoft.Json.JsonProperty("track2_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Track1_data Track2_data { get; set; } - [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Network { get; set; } + [Newtonsoft.Json.JsonProperty("original_credit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Original_credit Original_credit { get; set; } - [Newtonsoft.Json.JsonProperty("subNetwork", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string SubNetwork { get; set; } + } - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mid { get; set; } - - [Newtonsoft.Json.JsonProperty("tid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Tid { get; set; } - - [Newtonsoft.Json.JsonProperty("stan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Stan { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_name { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_street", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_street { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_zip { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_city { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_region", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_region { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_country { get; set; } - - [Newtonsoft.Json.JsonProperty("functionCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FunctionCode { get; set; } - - [Newtonsoft.Json.JsonProperty("reasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReasonCode { get; set; } - - [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseCode { get; set; } - - [Newtonsoft.Json.JsonProperty("approvalNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ApprovalNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("displayMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayMessage { get; set; } - - [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date { get; set; } - - [Newtonsoft.Json.JsonProperty("transmissionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? TransmissionDate { get; set; } - - [Newtonsoft.Json.JsonProperty("localTransactionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? LocalTransactionDate { get; set; } - - [Newtonsoft.Json.JsonProperty("captureDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? CaptureDate { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Digital_wallet_token_device + { + [Newtonsoft.Json.JsonProperty("device_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Digital_wallet_token_deviceDevice_type? Device_type { get; set; } - [Newtonsoft.Json.JsonProperty("settlementDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? SettlementDate { get; set; } + [Newtonsoft.Json.JsonProperty("device_lang_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(3)] + public string Device_lang_code { get; set; } - [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Itc { get; set; } + [Newtonsoft.Json.JsonProperty("device_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Device_id { get; set; } - [Newtonsoft.Json.JsonProperty("irc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Irc { get; set; } + [Newtonsoft.Json.JsonProperty("device_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Device_number { get; set; } - [Newtonsoft.Json.JsonProperty("currencyCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CurrencyCode { get; set; } + [Newtonsoft.Json.JsonProperty("device_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Device_name { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("device_location", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Device_location { get; set; } - [Newtonsoft.Json.JsonProperty("additionalAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? AdditionalAmount { get; set; } + [Newtonsoft.Json.JsonProperty("device_ip_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Device_ip_address { get; set; } - [Newtonsoft.Json.JsonProperty("acquirerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? AcquirerFee { get; set; } + } - [Newtonsoft.Json.JsonProperty("issuerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? IssuerFee { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Digital_wallet_token_wallet_provider + { + [Newtonsoft.Json.JsonProperty("wallet_provider_cardholder_wallet_account_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(100)] + public string Wallet_provider_cardholder_wallet_account_id { get; set; } - [Newtonsoft.Json.JsonProperty("rc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Rc { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_risk_assessment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Digital_wallet_token_wallet_providerWallet_provider_risk_assessment? Wallet_provider_risk_assessment { get; set; } - [Newtonsoft.Json.JsonProperty("extrc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Extrc { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_risk_assessment_version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(10)] + public string Wallet_provider_risk_assessment_version { get; set; } - [Newtonsoft.Json.JsonProperty("duration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Duration { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_device_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Wallet_provider_device_score { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_user Cardholder { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_account_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Wallet_provider_account_score { get; set; } - [Newtonsoft.Json.JsonProperty("actingCardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_user ActingCardholder { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_pan_source", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Digital_wallet_token_wallet_providerWallet_provider_pan_source? Wallet_provider_pan_source { get; set; } - [Newtonsoft.Json.JsonProperty("card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_card Card { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Wallet_provider_reason_code { get; set; } - [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_account Account { get; set; } + [Newtonsoft.Json.JsonProperty("recommendation_reasons", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Recommendation_reasons { get; set; } - [Newtonsoft.Json.JsonProperty("account2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_account Account2 { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder_wallet_account_email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Cardholder_wallet_account_email { get; set; } - [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mcc { get; set; } + } - [Newtonsoft.Json.JsonProperty("networkReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NetworkReferenceId { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Iso8583_digital_wallet_token + { + [Newtonsoft.Json.JsonProperty("token_pan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(19)] + public string Token_pan { get; set; } - [Newtonsoft.Json.JsonProperty("acquirerReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AcquirerReferenceId { get; set; } + [Newtonsoft.Json.JsonProperty("token_assurance_level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Token_assurance_level { get; set; } - [Newtonsoft.Json.JsonProperty("retrievalReferenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RetrievalReferenceNumber { get; set; } + [Newtonsoft.Json.JsonProperty("token_requestor_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(11)] + public string Token_requestor_id { get; set; } - [Newtonsoft.Json.JsonProperty("forwardingInstId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ForwardingInstId { get; set; } + [Newtonsoft.Json.JsonProperty("token_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Token_reference_id { get; set; } - [Newtonsoft.Json.JsonProperty("networkMid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NetworkMid { get; set; } + [Newtonsoft.Json.JsonProperty("correlation_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Correlation_id { get; set; } - [Newtonsoft.Json.JsonProperty("requestAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? RequestAmount { get; set; } + [Newtonsoft.Json.JsonProperty("token_expiry_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(4)] + public string Token_expiry_date { get; set; } - [Newtonsoft.Json.JsonProperty("transactionState", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("token_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Funding_tranlogTransactionState? TransactionState { get; set; } - - [Newtonsoft.Json.JsonProperty("remoteHost", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RemoteHost { get; set; } - - [Newtonsoft.Json.JsonProperty("responseAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? ResponseAmount { get; set; } - - [Newtonsoft.Json.JsonProperty("expirationTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? ExpirationTime { get; set; } - - [Newtonsoft.Json.JsonProperty("incomingNetworkRequestITC", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string IncomingNetworkRequestITC { get; set; } - - [Newtonsoft.Json.JsonProperty("digital_wallet_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternalDigitalWallet Digital_wallet_token { get; set; } + public Iso8583_digital_wallet_tokenToken_type? Token_type { get; set; } - [Newtonsoft.Json.JsonProperty("tranlogAttributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary TranlogAttributes { get; set; } + [Newtonsoft.Json.JsonProperty("token_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Iso8583_digital_wallet_tokenToken_status? Token_status { get; set; } - [Newtonsoft.Json.JsonProperty("payload", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_model Payload { get; set; } + [Newtonsoft.Json.JsonProperty("pan_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(50)] + public string Pan_reference_id { get; set; } - [Newtonsoft.Json.JsonProperty("layer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Layer { get; set; } + [Newtonsoft.Json.JsonProperty("network_token_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Network_token_score { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transaction_name { get; set; } + [Newtonsoft.Json.JsonProperty("network_decisioning", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Iso8583_digital_wallet_tokenNetwork_decisioning? Network_decisioning { get; set; } - [Newtonsoft.Json.JsonProperty("originator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Originator { get; set; } + [Newtonsoft.Json.JsonProperty("number_of_active_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Number_of_active_tokens { get; set; } - [Newtonsoft.Json.JsonProperty("acquirer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Acquirer { get; set; } + [Newtonsoft.Json.JsonProperty("number_of_inactive_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Number_of_inactive_tokens { get; set; } - [Newtonsoft.Json.JsonProperty("gpaorder", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public InternalGPAOrder Gpaorder { get; set; } = new InternalGPAOrder(); + [Newtonsoft.Json.JsonProperty("number_of_suspended_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(2)] + public string Number_of_suspended_tokens { get; set; } - [Newtonsoft.Json.JsonProperty("gatewayLog", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public InternalGatewayLog GatewayLog { get; set; } = new InternalGatewayLog(); + [Newtonsoft.Json.JsonProperty("issuer_terms_and_condition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(64)] + public string Issuer_terms_and_condition { get; set; } - } + /// + /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ + /// + [Newtonsoft.Json.JsonProperty("issuer_terms_and_condition_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Issuer_terms_and_condition_date { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_account - { - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long Id { get; set; } + [Newtonsoft.Json.JsonProperty("elapsed_time_to_live", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Elapsed_time_to_live { get; set; } - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Code { get; set; } + [Newtonsoft.Json.JsonProperty("number_of_transactions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number_of_transactions { get; set; } - [Newtonsoft.Json.JsonProperty("subclass", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Subclass { get; set; } + [Newtonsoft.Json.JsonProperty("cumulative_transaction_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Cumulative_transaction_amount { get; set; } - [Newtonsoft.Json.JsonProperty("final_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Final_account { get; set; } + [Newtonsoft.Json.JsonProperty("number_of_activation_attempts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number_of_activation_attempts { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Cardholder_account { get; set; } + [Newtonsoft.Json.JsonProperty("visa_auto_fill_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Visa_auto_fill_indicator { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_authorization_transaction + public partial class Original_data_elements { - [Newtonsoft.Json.JsonProperty("returnedBalances", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReturnedBalances { get; set; } - - [Newtonsoft.Json.JsonProperty("tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Tags { get; set; } - - [Newtonsoft.Json.JsonProperty("feesModel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection FeesModel { get; set; } - - [Newtonsoft.Json.JsonProperty("transactionType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string TransactionType { get; set; } - - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } - - [Newtonsoft.Json.JsonProperty("ref_transaction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_authorization_transaction Ref_transaction { get; set; } - - [Newtonsoft.Json.JsonProperty("node", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Node { get; set; } - - [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Network { get; set; } - - [Newtonsoft.Json.JsonProperty("subNetwork", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string SubNetwork { get; set; } - - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mid { get; set; } - - [Newtonsoft.Json.JsonProperty("tid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Tid { get; set; } + [Newtonsoft.Json.JsonProperty("mti", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Original_data_elementsMti? Mti { get; set; } [Newtonsoft.Json.JsonProperty("stan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(12)] public string Stan { get; set; } - [Newtonsoft.Json.JsonProperty("ca_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_name { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_street", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_street { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_zip { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_city { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_region", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_region { get; set; } - - [Newtonsoft.Json.JsonProperty("ca_country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ca_country { get; set; } - - [Newtonsoft.Json.JsonProperty("functionCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FunctionCode { get; set; } - - [Newtonsoft.Json.JsonProperty("reasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReasonCode { get; set; } - - [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ResponseCode { get; set; } - - [Newtonsoft.Json.JsonProperty("approvalNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ApprovalNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("displayMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayMessage { get; set; } - - [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date { get; set; } - - [Newtonsoft.Json.JsonProperty("transmissionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? TransmissionDate { get; set; } - - [Newtonsoft.Json.JsonProperty("localTransactionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? LocalTransactionDate { get; set; } - - [Newtonsoft.Json.JsonProperty("captureDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? CaptureDate { get; set; } - - [Newtonsoft.Json.JsonProperty("settlementDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? SettlementDate { get; set; } - - [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Itc { get; set; } + /// + /// yyyyMMddHHmmss + /// + [Newtonsoft.Json.JsonProperty("transmission_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(14)] + public string Transmission_time { get; set; } - [Newtonsoft.Json.JsonProperty("irc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Irc { get; set; } + [Newtonsoft.Json.JsonProperty("acquiring_institution_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(11)] + public string Acquiring_institution_id { get; set; } - [Newtonsoft.Json.JsonProperty("currencyCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CurrencyCode { get; set; } + [Newtonsoft.Json.JsonProperty("network_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(12)] + public string Network_reference_id { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("forwarding_institution_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(11)] + public string Forwarding_institution_id { get; set; } - [Newtonsoft.Json.JsonProperty("additionalAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? AdditionalAmount { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(36)] + public string Transaction_token { get; set; } - [Newtonsoft.Json.JsonProperty("acquirerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? AcquirerFee { get; set; } + } - [Newtonsoft.Json.JsonProperty("issuerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? IssuerFee { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Track1_data + { + [Newtonsoft.Json.JsonProperty("cvv", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(3)] + public string Cvv { get; set; } - [Newtonsoft.Json.JsonProperty("rc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Rc { get; set; } + [Newtonsoft.Json.JsonProperty("atc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 4)] + public string Atc { get; set; } - [Newtonsoft.Json.JsonProperty("extrc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Extrc { get; set; } + } - [Newtonsoft.Json.JsonProperty("duration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Duration { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Transaction_options + { + [Newtonsoft.Json.JsonProperty("additional_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Additional_data { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_user Cardholder { get; set; } + [Newtonsoft.Json.JsonProperty("database_transaction_timeout", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Database_transaction_timeout { get; set; } - [Newtonsoft.Json.JsonProperty("actingCardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_user ActingCardholder { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_timeout_threshold_seconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? Transaction_timeout_threshold_seconds { get; set; } - [Newtonsoft.Json.JsonProperty("card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_card Card { get; set; } + [Newtonsoft.Json.JsonProperty("pre_auth_time_limit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Pre_auth_time_limit { get; set; } - [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_account Account { get; set; } + [Newtonsoft.Json.JsonProperty("send_expiration_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Send_expiration_date { get; set; } - [Newtonsoft.Json.JsonProperty("account2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_account Account2 { get; set; } + [Newtonsoft.Json.JsonProperty("send_track_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Send_track_data { get; set; } - [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mcc { get; set; } + [Newtonsoft.Json.JsonProperty("card_expiration_date_yymm", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Card_expiration_date_yymm { get; set; } - [Newtonsoft.Json.JsonProperty("networkReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NetworkReferenceId { get; set; } + [Newtonsoft.Json.JsonProperty("encryption_key_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Encryption_key_id { get; set; } - [Newtonsoft.Json.JsonProperty("acquirerReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AcquirerReferenceId { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transaction_token { get; set; } - [Newtonsoft.Json.JsonProperty("retrievalReferenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RetrievalReferenceNumber { get; set; } + [Newtonsoft.Json.JsonProperty("is_async", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_async { get; set; } - [Newtonsoft.Json.JsonProperty("forwardingInstId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ForwardingInstId { get; set; } + } - [Newtonsoft.Json.JsonProperty("networkMid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NetworkMid { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class InternalDigitalWallet + { + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? Id { get; set; } - [Newtonsoft.Json.JsonProperty("requestAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? RequestAmount { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("transactionState", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Internal_authorization_transactionTransactionState? TransactionState { get; set; } + [Newtonsoft.Json.JsonProperty("card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_card Card { get; set; } - [Newtonsoft.Json.JsonProperty("remoteHost", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RemoteHost { get; set; } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string State { get; set; } - [Newtonsoft.Json.JsonProperty("responseAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? ResponseAmount { get; set; } + [Newtonsoft.Json.JsonProperty("state_reason", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string State_reason { get; set; } - [Newtonsoft.Json.JsonProperty("expirationTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? ExpirationTime { get; set; } + [Newtonsoft.Json.JsonProperty("fulfillment_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Fulfillment_status { get; set; } - [Newtonsoft.Json.JsonProperty("incomingNetworkRequestITC", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string IncomingNetworkRequestITC { get; set; } + [Newtonsoft.Json.JsonProperty("issuer_eligibility_decision", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Issuer_eligibility_decision { get; set; } - [Newtonsoft.Json.JsonProperty("digital_wallet_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InternalDigitalWallet Digital_wallet_token { get; set; } + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Created_time { get; set; } - [Newtonsoft.Json.JsonProperty("tranlogAttributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary TranlogAttributes { get; set; } + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Last_modified_time { get; set; } - [Newtonsoft.Json.JsonProperty("payload", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_model Payload { get; set; } + [Newtonsoft.Json.JsonProperty("token_service_provider", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Token_service_provider Token_service_provider { get; set; } - [Newtonsoft.Json.JsonProperty("layer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Layer { get; set; } + [Newtonsoft.Json.JsonProperty("device", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Device Device { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transaction_name { get; set; } + [Newtonsoft.Json.JsonProperty("wallet_provider_profile", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Wallet_provider_profile Wallet_provider_profile { get; set; } - [Newtonsoft.Json.JsonProperty("originator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Originator { get; set; } + [Newtonsoft.Json.JsonProperty("address_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_verification Address_verification { get; set; } - [Newtonsoft.Json.JsonProperty("acquirer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Acquirer { get; set; } + [Newtonsoft.Json.JsonProperty("response", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Response Response { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_card + public partial class InternalGPAOrder { - [Newtonsoft.Json.JsonProperty("hash", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Hash { get; set; } - - [Newtonsoft.Json.JsonProperty("kid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Kid { get; set; } - - [Newtonsoft.Json.JsonProperty("secureData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SecureData { get; set; } - - [Newtonsoft.Json.JsonProperty("serviceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ServiceCode { get; set; } + [Newtonsoft.Json.JsonProperty("tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Tags { get; set; } - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long Id { get; set; } + [Newtonsoft.Json.JsonProperty("memo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Memo { get; set; } [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("user", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Internal_user User { get; set; } = new Internal_user(); - - [Newtonsoft.Json.JsonProperty("card_product", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Internal_card_product Card_product { get; set; } = new Internal_card_product(); - - [Newtonsoft.Json.JsonProperty("last_four", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Last_four { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double Amount { get; set; } - [Newtonsoft.Json.JsonProperty("expiration_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Expiration_time { get; set; } + [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency { get; set; } - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Internal_cardState? State { get; set; } + [Newtonsoft.Json.JsonProperty("fundingSource", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_funding_source FundingSource { get; set; } - [Newtonsoft.Json.JsonProperty("metadata", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary Metadata { get; set; } + [Newtonsoft.Json.JsonProperty("originalOrderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OriginalOrderId { get; set; } - [Newtonsoft.Json.JsonProperty("card_pin_block", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Card_pin_block { get; set; } + [Newtonsoft.Json.JsonProperty("orderType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrderType { get; set; } - [Newtonsoft.Json.JsonProperty("contactless_consecutive_total_spend", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Contactless_consecutive_total_spend { get; set; } + [Newtonsoft.Json.JsonProperty("orderState", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public InternalGPAOrderOrderState? OrderState { get; set; } - [Newtonsoft.Json.JsonProperty("contactless_consecutive_count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Contactless_consecutive_count { get; set; } + [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseCode { get; set; } - [Newtonsoft.Json.JsonProperty("lvp_consecutive_total_spend", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Lvp_consecutive_total_spend { get; set; } + [Newtonsoft.Json.JsonProperty("responseMemo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseMemo { get; set; } - [Newtonsoft.Json.JsonProperty("lvp_consecutive_count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Lvp_consecutive_count { get; set; } + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Created_time { get; set; } - [Newtonsoft.Json.JsonProperty("is_offline_pin_set_required", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_offline_pin_set_required { get; set; } + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Last_modified_time { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_card_product + public partial class InternalGatewayLog { - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("gatewayMerchant", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InternalGatewayMerchant GatewayMerchant { get; set; } - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? Id { get; set; } + [Newtonsoft.Json.JsonProperty("orderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrderId { get; set; } - [Newtonsoft.Json.JsonProperty("card_product_config", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary Card_product_config { get; set; } + [Newtonsoft.Json.JsonProperty("requestMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RequestMethod { get; set; } - } + [Newtonsoft.Json.JsonProperty("gatewayRequestMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GatewayRequestMethod { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_funding_source - { - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseCode { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("responseSubCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseSubCode { get; set; } - [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Account { get; set; } + [Newtonsoft.Json.JsonProperty("responseReasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseReasonCode { get; set; } - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } + [Newtonsoft.Json.JsonProperty("responseMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseMessage { get; set; } - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } + [Newtonsoft.Json.JsonProperty("gatewayResponseMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GatewayResponseMessage { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("responseStatus", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseStatus { get; set; } - [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Created_time { get; set; } + [Newtonsoft.Json.JsonProperty("gatewayTransactionId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GatewayTransactionId { get; set; } - [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Last_modified_time { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } - [Newtonsoft.Json.JsonProperty("debit_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Internal_account Debit_account { get; set; } + [Newtonsoft.Json.JsonProperty("apiDuration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ApiDuration { get; set; } - [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_default_account { get; set; } + [Newtonsoft.Json.JsonProperty("gatewayDuration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? GatewayDuration { get; set; } - } + [Newtonsoft.Json.JsonProperty("memo", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Memo { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_transaction_message - { - [Newtonsoft.Json.JsonProperty("processing_start_time_millis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? Processing_start_time_millis { get; set; } + [Newtonsoft.Json.JsonProperty("gatewayVersion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GatewayVersion { get; set; } - [Newtonsoft.Json.JsonProperty("authorization_tranlog", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("funding_source", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required] - public Internal_authorization_transaction Authorization_tranlog { get; set; } = new Internal_authorization_transaction(); + public Internal_funding_source Funding_source { get; set; } = new Internal_funding_source(); - [Newtonsoft.Json.JsonProperty("funding_tranlog", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Funding_tranlog Funding_tranlog { get; set; } + [Newtonsoft.Json.JsonProperty("internalUser", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_user InternalUser { get; set; } - [Newtonsoft.Json.JsonProperty("velocity_caches", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Velocity_caches { get; set; } + [Newtonsoft.Json.JsonProperty("network_metadata", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Network_metadata Network_metadata { get; set; } - [Newtonsoft.Json.JsonProperty("context", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary Context { get; set; } + } - [Newtonsoft.Json.JsonProperty("credit_debit_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Internal_transaction_messageCredit_debit_indicator? Credit_debit_indicator { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class InternalGatewayMerchant + { + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long Id { get; set; } + + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Internal_user + public partial class VelocityCache { - [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? Id { get; set; } + [Newtonsoft.Json.JsonProperty("cardHolderId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CardHolderId { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("velocityControlId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? VelocityControlId { get; set; } - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("usedAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? UsedAmount { get; set; } - [Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } + [Newtonsoft.Json.JsonProperty("usageCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? UsageCount { get; set; } - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Type { get; set; } + [Newtonsoft.Json.JsonProperty("maxId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? MaxId { get; set; } - [Newtonsoft.Json.JsonProperty("uses_parent_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Uses_parent_account { get; set; } + [Newtonsoft.Json.JsonProperty("windowStartTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? WindowStartTime { get; set; } - [Newtonsoft.Json.JsonProperty("corporate_card_holder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Corporate_card_holder { get; set; } + [Newtonsoft.Json.JsonProperty("vcSignature", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VcSignature { get; set; } - [Newtonsoft.Json.JsonProperty("user_accounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection User_accounts { get; set; } + [Newtonsoft.Json.JsonProperty("createdTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? CreatedTime { get; set; } + + [Newtonsoft.Json.JsonProperty("lastModifiedTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? LastModifiedTime { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Currency_conversion_network + public partial class Funding_tranlog { - [Newtonsoft.Json.JsonProperty("original_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Original_currency_code { get; set; } + [Newtonsoft.Json.JsonProperty("returnedBalances", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReturnedBalances { get; set; } - [Newtonsoft.Json.JsonProperty("conversion_rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Conversion_rate { get; set; } + [Newtonsoft.Json.JsonProperty("tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Tags { get; set; } - [Newtonsoft.Json.JsonProperty("original_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Original_amount { get; set; } + [Newtonsoft.Json.JsonProperty("transactionType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string TransactionType { get; set; } - } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Fraud_stream_request - { - [Newtonsoft.Json.JsonProperty("program", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Program { get; set; } + [Newtonsoft.Json.JsonProperty("ref_transaction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_authorization_transaction Ref_transaction { get; set; } - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Fraud_stream_requestType? Type { get; set; } + [Newtonsoft.Json.JsonProperty("node", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Node { get; set; } - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Fraud_stream_requestState? State { get; set; } + [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Network { get; set; } - [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Itc { get; set; } + [Newtonsoft.Json.JsonProperty("subNetwork", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string SubNetwork { get; set; } - [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Token { get; set; } + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mid { get; set; } - [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string User_token { get; set; } + [Newtonsoft.Json.JsonProperty("tid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Tid { get; set; } - [Newtonsoft.Json.JsonProperty("acting_user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Acting_user_token { get; set; } + [Newtonsoft.Json.JsonProperty("stan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Stan { get; set; } - [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Card_token { get; set; } + [Newtonsoft.Json.JsonProperty("ca_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_name { get; set; } - [Newtonsoft.Json.JsonProperty("user_transaction_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? User_transaction_time { get; set; } + [Newtonsoft.Json.JsonProperty("ca_street", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_street { get; set; } - [Newtonsoft.Json.JsonProperty("request_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Request_amount { get; set; } + [Newtonsoft.Json.JsonProperty("ca_zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_zip { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("ca_city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_city { get; set; } - [Newtonsoft.Json.JsonProperty("currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency_code { get; set; } + [Newtonsoft.Json.JsonProperty("ca_region", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_region { get; set; } - [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Network { get; set; } + [Newtonsoft.Json.JsonProperty("ca_country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_country { get; set; } - [Newtonsoft.Json.JsonProperty("account_risk_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Account_risk_score { get; set; } + [Newtonsoft.Json.JsonProperty("functionCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FunctionCode { get; set; } - [Newtonsoft.Json.JsonProperty("account_risk_score_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Account_risk_score_reason_code { get; set; } + [Newtonsoft.Json.JsonProperty("reasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReasonCode { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_risk_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Transaction_risk_score { get; set; } + [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseCode { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_risk_score_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transaction_risk_score_reason_code { get; set; } + [Newtonsoft.Json.JsonProperty("approvalNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ApprovalNumber { get; set; } - [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_card_acceptor_view_model_v1 Card_acceptor { get; set; } + [Newtonsoft.Json.JsonProperty("displayMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayMessage { get; set; } - [Newtonsoft.Json.JsonProperty("address_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address_verification_model Address_verification { get; set; } + [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date { get; set; } - } + [Newtonsoft.Json.JsonProperty("transmissionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? TransmissionDate { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Transaction_card_acceptor_view_model_v1 - { - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mid { get; set; } + [Newtonsoft.Json.JsonProperty("localTransactionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? LocalTransactionDate { get; set; } - [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mcc { get; set; } + [Newtonsoft.Json.JsonProperty("captureDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? CaptureDate { get; set; } - [Newtonsoft.Json.JsonProperty("network_mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Network_mid { get; set; } + [Newtonsoft.Json.JsonProperty("settlementDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? SettlementDate { get; set; } - [Newtonsoft.Json.JsonProperty("mcc_groups", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Mcc_groups { get; set; } + [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Itc { get; set; } - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("irc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Irc { get; set; } - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } + [Newtonsoft.Json.JsonProperty("currencyCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CurrencyCode { get; set; } - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string State { get; set; } + [Newtonsoft.Json.JsonProperty("additionalAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? AdditionalAmount { get; set; } - [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Zip { get; set; } + [Newtonsoft.Json.JsonProperty("acquirerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? AcquirerFee { get; set; } - [Newtonsoft.Json.JsonProperty("postal_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Postal_code { get; set; } + [Newtonsoft.Json.JsonProperty("issuerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? IssuerFee { get; set; } - [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Country { get; set; } + [Newtonsoft.Json.JsonProperty("rc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Rc { get; set; } - [Newtonsoft.Json.JsonProperty("poi", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Terminal_model Poi { get; set; } + [Newtonsoft.Json.JsonProperty("extrc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Extrc { get; set; } - [Newtonsoft.Json.JsonProperty("network_assigned_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Network_assigned_id { get; set; } + [Newtonsoft.Json.JsonProperty("duration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Duration { get; set; } - [Newtonsoft.Json.JsonProperty("country_of_origin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Country_of_origin { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_user Cardholder { get; set; } + + [Newtonsoft.Json.JsonProperty("actingCardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_user ActingCardholder { get; set; } + + [Newtonsoft.Json.JsonProperty("card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_card Card { get; set; } - } + [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_account Account { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class AdvancedAuthOtherPOI - { - [Newtonsoft.Json.JsonProperty("card_presence", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Card_presence { get; set; } + [Newtonsoft.Json.JsonProperty("account2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_account Account2 { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_presence", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Cardholder_presence { get; set; } + [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mcc { get; set; } - [Newtonsoft.Json.JsonProperty("partial_approval_capable", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Partial_approval_capable { get; set; } + [Newtonsoft.Json.JsonProperty("networkReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NetworkReferenceId { get; set; } - } + [Newtonsoft.Json.JsonProperty("acquirerReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AcquirerReferenceId { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class AdvancedAuthPOI - { - [Newtonsoft.Json.JsonProperty("other", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AdvancedAuthOtherPOI Other { get; set; } + [Newtonsoft.Json.JsonProperty("retrievalReferenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RetrievalReferenceNumber { get; set; } - [Newtonsoft.Json.JsonProperty("ecommerce", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Ecommerce { get; set; } + [Newtonsoft.Json.JsonProperty("forwardingInstId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ForwardingInstId { get; set; } - [Newtonsoft.Json.JsonProperty("atm", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Atm { get; set; } + [Newtonsoft.Json.JsonProperty("networkMid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NetworkMid { get; set; } - [Newtonsoft.Json.JsonProperty("moto", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moto { get; set; } + [Newtonsoft.Json.JsonProperty("requestAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? RequestAmount { get; set; } - [Newtonsoft.Json.JsonProperty("moto_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("transactionState", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AdvancedAuthPOIMoto_indicator? Moto_indicator { get; set; } + public Funding_tranlogTransactionState? TransactionState { get; set; } - } + [Newtonsoft.Json.JsonProperty("remoteHost", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RemoteHost { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class BillingAddress - { - [Newtonsoft.Json.JsonProperty("first_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string First_name { get; set; } + [Newtonsoft.Json.JsonProperty("responseAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? ResponseAmount { get; set; } - [Newtonsoft.Json.JsonProperty("last_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Last_name { get; set; } + [Newtonsoft.Json.JsonProperty("expirationTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? ExpirationTime { get; set; } - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } + [Newtonsoft.Json.JsonProperty("incomingNetworkRequestITC", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string IncomingNetworkRequestITC { get; set; } - [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Zip { get; set; } + [Newtonsoft.Json.JsonProperty("digital_wallet_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InternalDigitalWallet Digital_wallet_token { get; set; } - [Newtonsoft.Json.JsonProperty("compressed_zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Compressed_zip { get; set; } + [Newtonsoft.Json.JsonProperty("tranlogAttributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary TranlogAttributes { get; set; } - } + [Newtonsoft.Json.JsonProperty("payload", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_model Payload { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class ReplacementAmount - { - [Newtonsoft.Json.JsonProperty("transaction_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Transaction_amount { get; set; } + [Newtonsoft.Json.JsonProperty("layer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Layer { get; set; } - [Newtonsoft.Json.JsonProperty("settlement_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Settlement_amount { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transaction_name { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_fee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Transaction_fee { get; set; } + [Newtonsoft.Json.JsonProperty("originator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Originator { get; set; } - [Newtonsoft.Json.JsonProperty("settlement_fee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Settlement_fee { get; set; } + [Newtonsoft.Json.JsonProperty("acquirer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Acquirer { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_fee_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transaction_fee_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("gpaorder", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public InternalGPAOrder Gpaorder { get; set; } = new InternalGPAOrder(); - [Newtonsoft.Json.JsonProperty("settlement_fee_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Settlement_fee_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("gatewayLog", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public InternalGatewayLog GatewayLog { get; set; } = new InternalGatewayLog(); } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Account_funding_receiver_data + public partial class Internal_account { - [Newtonsoft.Json.JsonProperty("funding_source", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Account_funding_receiver_dataFunding_source Funding_source { get; set; } + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long Id { get; set; } - [Newtonsoft.Json.JsonProperty("receiver_account_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Account_funding_receiver_dataReceiver_account_type Receiver_account_type { get; set; } + public string Code { get; set; } - [Newtonsoft.Json.JsonProperty("first_name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("subclass", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string First_name { get; set; } + public string Subclass { get; set; } - [Newtonsoft.Json.JsonProperty("last_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Last_name { get; set; } + [Newtonsoft.Json.JsonProperty("final_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Final_account { get; set; } + + [Newtonsoft.Json.JsonProperty("cardholder_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Cardholder_account { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Account_funding_request + public partial class Internal_authorization_transaction { - [Newtonsoft.Json.JsonProperty("screening_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Screening_score { get; set; } + [Newtonsoft.Json.JsonProperty("returnedBalances", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReturnedBalances { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Account_funding_requestTransaction_type Transaction_type { get; set; } + [Newtonsoft.Json.JsonProperty("tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Tags { get; set; } - [Newtonsoft.Json.JsonProperty("receiver_data", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Account_funding_receiver_data Receiver_data { get; set; } = new Account_funding_receiver_data(); + [Newtonsoft.Json.JsonProperty("feesModel", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection FeesModel { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transaction_purpose { get; set; } + [Newtonsoft.Json.JsonProperty("transactionType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string TransactionType { get; set; } - } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Adv_auth_request_model - { - [Newtonsoft.Json.JsonProperty("extendedStipReasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExtendedStipReasonCode { get; set; } + [Newtonsoft.Json.JsonProperty("ref_transaction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_authorization_transaction Ref_transaction { get; set; } - /// - /// Default is 0100 - /// - [Newtonsoft.Json.JsonProperty("mti", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Adv_auth_request_modelMti? Mti { get; set; } + [Newtonsoft.Json.JsonProperty("node", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Node { get; set; } [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Adv_auth_request_modelNetwork Network { get; set; } - - /// - /// Defaults to VISANET if network is VISA - /// - [Newtonsoft.Json.JsonProperty("sub_network", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Adv_auth_request_modelSub_network? Sub_network { get; set; } - - [Newtonsoft.Json.JsonProperty("network_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Network_reference_id { get; set; } + public string Network { get; set; } - /// - /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("local_transaction_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Local_transaction_date { get; set; } + [Newtonsoft.Json.JsonProperty("subNetwork", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string SubNetwork { get; set; } - /// - /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("transaction_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Transaction_date { get; set; } + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mid { get; set; } - /// - /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("settlement_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Settlement_date { get; set; } + [Newtonsoft.Json.JsonProperty("tid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Tid { get; set; } [Newtonsoft.Json.JsonProperty("stan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Stan { get; set; } - [Newtonsoft.Json.JsonProperty("rrn", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Rrn { get; set; } + [Newtonsoft.Json.JsonProperty("ca_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_name { get; set; } - [Newtonsoft.Json.JsonProperty("processing_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Processing_code { get; set; } + [Newtonsoft.Json.JsonProperty("ca_street", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_street { get; set; } - [Newtonsoft.Json.JsonProperty("function_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Function_code { get; set; } + [Newtonsoft.Json.JsonProperty("ca_zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_zip { get; set; } - [Newtonsoft.Json.JsonProperty("reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Reason_code { get; set; } + [Newtonsoft.Json.JsonProperty("ca_city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_city { get; set; } - [Newtonsoft.Json.JsonProperty("rejection_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(4)] - public string Rejection_code { get; set; } + [Newtonsoft.Json.JsonProperty("ca_region", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_region { get; set; } - [Newtonsoft.Json.JsonProperty("acquirer_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Acquirer_reference_id { get; set; } + [Newtonsoft.Json.JsonProperty("ca_country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ca_country { get; set; } - [Newtonsoft.Json.JsonProperty("forwarding_institution_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(11, MinimumLength = 11)] - public string Forwarding_institution_id { get; set; } + [Newtonsoft.Json.JsonProperty("functionCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FunctionCode { get; set; } + + [Newtonsoft.Json.JsonProperty("reasonCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReasonCode { get; set; } + + [Newtonsoft.Json.JsonProperty("responseCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ResponseCode { get; set; } + + [Newtonsoft.Json.JsonProperty("approvalNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ApprovalNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("displayMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayMessage { get; set; } + + [Newtonsoft.Json.JsonProperty("date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Date { get; set; } + + [Newtonsoft.Json.JsonProperty("transmissionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? TransmissionDate { get; set; } + + [Newtonsoft.Json.JsonProperty("localTransactionDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? LocalTransactionDate { get; set; } - [Newtonsoft.Json.JsonProperty("local_transaction_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Local_transaction_amount { get; set; } + [Newtonsoft.Json.JsonProperty("captureDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? CaptureDate { get; set; } - [Newtonsoft.Json.JsonProperty("local_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Local_currency_code { get; set; } + [Newtonsoft.Json.JsonProperty("settlementDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? SettlementDate { get; set; } - [Newtonsoft.Json.JsonProperty("settlement_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Settlement_amount { get; set; } + [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Itc { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_billing_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Cardholder_billing_amount { get; set; } + [Newtonsoft.Json.JsonProperty("irc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Irc { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_billing_conversion_rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Cardholder_billing_conversion_rate { get; set; } + [Newtonsoft.Json.JsonProperty("currencyCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CurrencyCode { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_billing_currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Cardholder_billing_currency { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } - [Newtonsoft.Json.JsonProperty("settlement_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Settlement_currency_code { get; set; } + [Newtonsoft.Json.JsonProperty("additionalAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? AdditionalAmount { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_settlement_conversion_rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Cardholder_settlement_conversion_rate { get; set; } + [Newtonsoft.Json.JsonProperty("acquirerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? AcquirerFee { get; set; } - [Newtonsoft.Json.JsonProperty("approval_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Approval_code { get; set; } + [Newtonsoft.Json.JsonProperty("issuerFee", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? IssuerFee { get; set; } - [Newtonsoft.Json.JsonProperty("network_response", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Network_response { get; set; } + [Newtonsoft.Json.JsonProperty("rc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Rc { get; set; } - [Newtonsoft.Json.JsonProperty("stan_padding_length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Stan_padding_length { get; set; } + [Newtonsoft.Json.JsonProperty("extrc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Extrc { get; set; } - [Newtonsoft.Json.JsonProperty("acquirer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Acquirer Acquirer { get; set; } + [Newtonsoft.Json.JsonProperty("duration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Duration { get; set; } - [Newtonsoft.Json.JsonProperty("payment_account_reference", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Payment_account_reference { get; set; } + [Newtonsoft.Json.JsonProperty("cardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_user Cardholder { get; set; } - [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Card_token { get; set; } + [Newtonsoft.Json.JsonProperty("actingCardholder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_user ActingCardholder { get; set; } - [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("card", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_card Card { get; set; } - [Newtonsoft.Json.JsonProperty("cash_back_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Cash_back_amount { get; set; } + [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_account Account { get; set; } - [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Mid { get; set; } + [Newtonsoft.Json.JsonProperty("account2", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_account Account2 { get; set; } - [Newtonsoft.Json.JsonProperty("pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Pin { get; set; } + [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mcc { get; set; } - /// - /// Default is MAG_STRIPE - /// - [Newtonsoft.Json.JsonProperty("pos_pan_entry_mode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Adv_auth_request_modelPos_pan_entry_mode? Pos_pan_entry_mode { get; set; } + [Newtonsoft.Json.JsonProperty("networkReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NetworkReferenceId { get; set; } - [Newtonsoft.Json.JsonProperty("acquirer_fee_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Acquirer_fee_amount { get; set; } + [Newtonsoft.Json.JsonProperty("acquirerReferenceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AcquirerReferenceId { get; set; } - [Newtonsoft.Json.JsonProperty("stip_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Stip_reason_code { get; set; } + [Newtonsoft.Json.JsonProperty("retrievalReferenceNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RetrievalReferenceNumber { get; set; } - /// - /// Default is false - /// - [Newtonsoft.Json.JsonProperty("is_recurring", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_recurring { get; set; } + [Newtonsoft.Json.JsonProperty("forwardingInstId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ForwardingInstId { get; set; } - /// - /// Default is false - /// - [Newtonsoft.Json.JsonProperty("is_installment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_installment { get; set; } + [Newtonsoft.Json.JsonProperty("networkMid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NetworkMid { get; set; } - [Newtonsoft.Json.JsonProperty("network_fees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Network_fees { get; set; } + [Newtonsoft.Json.JsonProperty("requestAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? RequestAmount { get; set; } - [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Advanced_auth_card_acceptor_model Card_acceptor { get; set; } + [Newtonsoft.Json.JsonProperty("transactionState", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Internal_authorization_transactionTransactionState? TransactionState { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_options Transaction_options { get; set; } + [Newtonsoft.Json.JsonProperty("remoteHost", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RemoteHost { get; set; } - [Newtonsoft.Json.JsonProperty("original_data_elements", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Original_data_elements Original_data_elements { get; set; } + [Newtonsoft.Json.JsonProperty("responseAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? ResponseAmount { get; set; } - [Newtonsoft.Json.JsonProperty("replacement_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReplacementAmount Replacement_amount { get; set; } + [Newtonsoft.Json.JsonProperty("expirationTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? ExpirationTime { get; set; } - [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Webhook Webhook { get; set; } + [Newtonsoft.Json.JsonProperty("incomingNetworkRequestITC", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string IncomingNetworkRequestITC { get; set; } [Newtonsoft.Json.JsonProperty("digital_wallet_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Iso8583_digital_wallet_token Digital_wallet_token { get; set; } - - [Newtonsoft.Json.JsonProperty("digital_wallet_token_device_info", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Digital_wallet_token_device Digital_wallet_token_device_info { get; set; } + public InternalDigitalWallet Digital_wallet_token { get; set; } - [Newtonsoft.Json.JsonProperty("digital_wallet_token_wallet_provider_info", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Digital_wallet_token_wallet_provider Digital_wallet_token_wallet_provider_info { get; set; } + [Newtonsoft.Json.JsonProperty("tranlogAttributes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary TranlogAttributes { get; set; } - [Newtonsoft.Json.JsonProperty("raw_iso_fields", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary Raw_iso_fields { get; set; } + [Newtonsoft.Json.JsonProperty("payload", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_model Payload { get; set; } - [Newtonsoft.Json.JsonProperty("cavv_result_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Adv_auth_request_modelCavv_result_code? Cavv_result_code { get; set; } + [Newtonsoft.Json.JsonProperty("layer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Layer { get; set; } - [Newtonsoft.Json.JsonProperty("acceptance_environment_authentication_outage_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Acceptance_environment_authentication_outage_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transaction_name { get; set; } - [Newtonsoft.Json.JsonProperty("threeds_authentication_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Threeds_authentication_value { get; set; } + [Newtonsoft.Json.JsonProperty("originator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Originator { get; set; } - [Newtonsoft.Json.JsonProperty("threeds_acquirer_exemption_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Threeds_acquirer_exemption_value { get; set; } + [Newtonsoft.Json.JsonProperty("acquirer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Acquirer { get; set; } - [Newtonsoft.Json.JsonProperty("security_level_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Security_level_indicator { get; set; } + } - [Newtonsoft.Json.JsonProperty("secure_payment_application_v2_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Secure_payment_application_v2_value { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Internal_card + { + [Newtonsoft.Json.JsonProperty("hash", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Hash { get; set; } - [Newtonsoft.Json.JsonProperty("from_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string From_account { get; set; } + [Newtonsoft.Json.JsonProperty("kid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Kid { get; set; } - [Newtonsoft.Json.JsonProperty("issuer_received_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Issuer_received_time { get; set; } + [Newtonsoft.Json.JsonProperty("secureData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SecureData { get; set; } - [Newtonsoft.Json.JsonProperty("network_metadata", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Network_metadata Network_metadata { get; set; } + [Newtonsoft.Json.JsonProperty("serviceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ServiceCode { get; set; } - [Newtonsoft.Json.JsonProperty("isa_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Adv_auth_request_modelIsa_indicator? Isa_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long Id { get; set; } - [Newtonsoft.Json.JsonProperty("payment_facilitator_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Payment_facilitator_id { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("independent_sales_organization_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Independent_sales_organization_id { get; set; } + [Newtonsoft.Json.JsonProperty("user", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Internal_user User { get; set; } = new Internal_user(); - [Newtonsoft.Json.JsonProperty("sub_merchant_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Sub_merchant_id { get; set; } + [Newtonsoft.Json.JsonProperty("card_product", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Internal_card_product Card_product { get; set; } = new Internal_card_product(); - [Newtonsoft.Json.JsonProperty("country_of_origin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Country_of_origin { get; set; } + [Newtonsoft.Json.JsonProperty("last_four", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Last_four { get; set; } - [Newtonsoft.Json.JsonProperty("foreign_retailer_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Foreign_retailer_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("expiration_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Expiration_time { get; set; } - [Newtonsoft.Json.JsonProperty("currency_conversion_assessment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency_conversion_assessment { get; set; } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Internal_cardState? State { get; set; } - [Newtonsoft.Json.JsonProperty("transfer_service_provider_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Transfer_service_provider_name { get; set; } + [Newtonsoft.Json.JsonProperty("metadata", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Metadata { get; set; } - [Newtonsoft.Json.JsonProperty("payment_facilitator_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Payment_facilitator_name { get; set; } + [Newtonsoft.Json.JsonProperty("card_pin_block", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Card_pin_block { get; set; } - [Newtonsoft.Json.JsonProperty("network_assigned_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Network_assigned_id { get; set; } + [Newtonsoft.Json.JsonProperty("contactless_consecutive_total_spend", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Contactless_consecutive_total_spend { get; set; } - [Newtonsoft.Json.JsonProperty("account_funding", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account_funding_request Account_funding { get; set; } + [Newtonsoft.Json.JsonProperty("contactless_consecutive_count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Contactless_consecutive_count { get; set; } - [Newtonsoft.Json.JsonProperty("atc_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Atc_value { get; set; } + [Newtonsoft.Json.JsonProperty("lvp_consecutive_total_spend", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Lvp_consecutive_total_spend { get; set; } - [Newtonsoft.Json.JsonProperty("atc_discrepancy_value", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Atc_discrepancy_value { get; set; } + [Newtonsoft.Json.JsonProperty("lvp_consecutive_count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Lvp_consecutive_count { get; set; } - [Newtonsoft.Json.JsonProperty("atc_discrepancy_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Atc_discrepancy_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("is_offline_pin_set_required", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_offline_pin_set_required { get; set; } - [Newtonsoft.Json.JsonProperty("poi", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AdvancedAuthPOI Poi { get; set; } + } - [Newtonsoft.Json.JsonProperty("is_stip_approval", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_stip_approval { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Internal_card_product + { + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("stip_advice_detail_code_override", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Stip_advice_detail_code_override { get; set; } + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? Id { get; set; } - [Newtonsoft.Json.JsonProperty("card_options", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Advanced_auth_card_options Card_options { get; set; } = new Advanced_auth_card_options(); + [Newtonsoft.Json.JsonProperty("card_product_config", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Card_product_config { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Advanced_auth_card_acceptor_model + public partial class Internal_funding_source { - [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Mcc { get; set; } - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } + [Newtonsoft.Json.JsonProperty("account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Account { get; set; } - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string State { get; set; } + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Zip { get; set; } + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } - [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Country { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("tid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Tid { get; set; } + [Newtonsoft.Json.JsonProperty("created_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Created_time { get; set; } - [Newtonsoft.Json.JsonProperty("phone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Phone { get; set; } + [Newtonsoft.Json.JsonProperty("last_modified_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Last_modified_time { get; set; } - [Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("debit_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Internal_account Debit_account { get; set; } - [Newtonsoft.Json.JsonProperty("customer_service_phone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Customer_service_phone { get; set; } + [Newtonsoft.Json.JsonProperty("is_default_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_default_account { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Advanced_auth_card_options + public partial class Internal_transaction_message { - [Newtonsoft.Json.JsonProperty("cvv", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(3)] - public string Cvv { get; set; } + [Newtonsoft.Json.JsonProperty("processing_start_time_millis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? Processing_start_time_millis { get; set; } - [Newtonsoft.Json.JsonProperty("expiration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 4)] - public string Expiration { get; set; } + [Newtonsoft.Json.JsonProperty("authorization_tranlog", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Internal_authorization_transaction Authorization_tranlog { get; set; } = new Internal_authorization_transaction(); - [Newtonsoft.Json.JsonProperty("billing_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BillingAddress Billing_address { get; set; } + [Newtonsoft.Json.JsonProperty("funding_tranlog", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Funding_tranlog Funding_tranlog { get; set; } - [Newtonsoft.Json.JsonProperty("track1_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Track1_data Track1_data { get; set; } + [Newtonsoft.Json.JsonProperty("velocity_caches", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Velocity_caches { get; set; } - [Newtonsoft.Json.JsonProperty("track2_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Track1_data Track2_data { get; set; } + [Newtonsoft.Json.JsonProperty("context", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.IDictionary Context { get; set; } - [Newtonsoft.Json.JsonProperty("original_credit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Original_credit Original_credit { get; set; } + [Newtonsoft.Json.JsonProperty("credit_debit_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Internal_transaction_messageCredit_debit_indicator? Credit_debit_indicator { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Digital_wallet_token_device + public partial class Internal_user { - [Newtonsoft.Json.JsonProperty("device_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Digital_wallet_token_deviceDevice_type? Device_type { get; set; } + [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? Id { get; set; } - [Newtonsoft.Json.JsonProperty("device_lang_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(3)] - public string Device_lang_code { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("device_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Device_id { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("device_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Device_number { get; set; } + [Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } - [Newtonsoft.Json.JsonProperty("device_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Device_name { get; set; } + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("device_location", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Device_location { get; set; } + [Newtonsoft.Json.JsonProperty("uses_parent_account", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Uses_parent_account { get; set; } - [Newtonsoft.Json.JsonProperty("device_ip_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Device_ip_address { get; set; } + [Newtonsoft.Json.JsonProperty("corporate_card_holder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Corporate_card_holder { get; set; } + + [Newtonsoft.Json.JsonProperty("user_accounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection User_accounts { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Digital_wallet_token_wallet_provider + public partial class Currency_conversion_network { - [Newtonsoft.Json.JsonProperty("wallet_provider_cardholder_wallet_account_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(100)] - public string Wallet_provider_cardholder_wallet_account_id { get; set; } - - [Newtonsoft.Json.JsonProperty("wallet_provider_risk_assessment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Digital_wallet_token_wallet_providerWallet_provider_risk_assessment? Wallet_provider_risk_assessment { get; set; } - - [Newtonsoft.Json.JsonProperty("wallet_provider_risk_assessment_version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(10)] - public string Wallet_provider_risk_assessment_version { get; set; } - - [Newtonsoft.Json.JsonProperty("wallet_provider_device_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Wallet_provider_device_score { get; set; } - - [Newtonsoft.Json.JsonProperty("wallet_provider_account_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Wallet_provider_account_score { get; set; } - - [Newtonsoft.Json.JsonProperty("wallet_provider_pan_source", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Digital_wallet_token_wallet_providerWallet_provider_pan_source? Wallet_provider_pan_source { get; set; } - - [Newtonsoft.Json.JsonProperty("wallet_provider_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Wallet_provider_reason_code { get; set; } + [Newtonsoft.Json.JsonProperty("original_currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Original_currency_code { get; set; } - [Newtonsoft.Json.JsonProperty("recommendation_reasons", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Recommendation_reasons { get; set; } + [Newtonsoft.Json.JsonProperty("conversion_rate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Conversion_rate { get; set; } - [Newtonsoft.Json.JsonProperty("cardholder_wallet_account_email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Cardholder_wallet_account_email { get; set; } + [Newtonsoft.Json.JsonProperty("original_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Original_amount { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Iso8583_digital_wallet_token + public partial class Fraud_stream_request { - [Newtonsoft.Json.JsonProperty("token_pan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(19)] - public string Token_pan { get; set; } - - [Newtonsoft.Json.JsonProperty("token_assurance_level", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Token_assurance_level { get; set; } - - [Newtonsoft.Json.JsonProperty("token_requestor_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(11)] - public string Token_requestor_id { get; set; } + [Newtonsoft.Json.JsonProperty("program", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Program { get; set; } - [Newtonsoft.Json.JsonProperty("token_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Token_reference_id { get; set; } + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Fraud_stream_requestType? Type { get; set; } - [Newtonsoft.Json.JsonProperty("correlation_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Correlation_id { get; set; } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Fraud_stream_requestState? State { get; set; } - [Newtonsoft.Json.JsonProperty("token_expiry_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(4)] - public string Token_expiry_date { get; set; } + [Newtonsoft.Json.JsonProperty("itc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Itc { get; set; } - [Newtonsoft.Json.JsonProperty("token_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Iso8583_digital_wallet_tokenToken_type? Token_type { get; set; } + [Newtonsoft.Json.JsonProperty("token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Token { get; set; } - [Newtonsoft.Json.JsonProperty("token_status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Iso8583_digital_wallet_tokenToken_status? Token_status { get; set; } + [Newtonsoft.Json.JsonProperty("user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string User_token { get; set; } - [Newtonsoft.Json.JsonProperty("pan_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(50)] - public string Pan_reference_id { get; set; } + [Newtonsoft.Json.JsonProperty("acting_user_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Acting_user_token { get; set; } - [Newtonsoft.Json.JsonProperty("network_token_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Network_token_score { get; set; } + [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Card_token { get; set; } - [Newtonsoft.Json.JsonProperty("network_decisioning", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Iso8583_digital_wallet_tokenNetwork_decisioning? Network_decisioning { get; set; } + [Newtonsoft.Json.JsonProperty("user_transaction_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? User_transaction_time { get; set; } - [Newtonsoft.Json.JsonProperty("number_of_active_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Number_of_active_tokens { get; set; } + [Newtonsoft.Json.JsonProperty("request_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Request_amount { get; set; } - [Newtonsoft.Json.JsonProperty("number_of_inactive_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Number_of_inactive_tokens { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Amount { get; set; } - [Newtonsoft.Json.JsonProperty("number_of_suspended_tokens", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(2)] - public string Number_of_suspended_tokens { get; set; } + [Newtonsoft.Json.JsonProperty("currency_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Currency_code { get; set; } - [Newtonsoft.Json.JsonProperty("issuer_terms_and_condition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(64)] - public string Issuer_terms_and_condition { get; set; } + [Newtonsoft.Json.JsonProperty("network", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Network { get; set; } - /// - /// yyyy-MM-dd, yyyy-MM-ddThh:mm:ssZ - /// - [Newtonsoft.Json.JsonProperty("issuer_terms_and_condition_date", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Issuer_terms_and_condition_date { get; set; } + [Newtonsoft.Json.JsonProperty("account_risk_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Account_risk_score { get; set; } - [Newtonsoft.Json.JsonProperty("elapsed_time_to_live", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Elapsed_time_to_live { get; set; } + [Newtonsoft.Json.JsonProperty("account_risk_score_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Account_risk_score_reason_code { get; set; } - [Newtonsoft.Json.JsonProperty("number_of_transactions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number_of_transactions { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_risk_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Transaction_risk_score { get; set; } - [Newtonsoft.Json.JsonProperty("cumulative_transaction_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public double? Cumulative_transaction_amount { get; set; } + [Newtonsoft.Json.JsonProperty("transaction_risk_score_reason_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Transaction_risk_score_reason_code { get; set; } - [Newtonsoft.Json.JsonProperty("number_of_activation_attempts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number_of_activation_attempts { get; set; } + [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_card_acceptor_view_model_v1 Card_acceptor { get; set; } - [Newtonsoft.Json.JsonProperty("visa_auto_fill_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Visa_auto_fill_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("address_verification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address_verification_model Address_verification { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Original_data_elements + public partial class Transaction_card_acceptor_view_model_v1 { - [Newtonsoft.Json.JsonProperty("mti", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Original_data_elementsMti? Mti { get; set; } + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mid { get; set; } - [Newtonsoft.Json.JsonProperty("stan", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(12)] - public string Stan { get; set; } + [Newtonsoft.Json.JsonProperty("mcc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Mcc { get; set; } - /// - /// yyyyMMddHHmmss - /// - [Newtonsoft.Json.JsonProperty("transmission_time", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(14)] - public string Transmission_time { get; set; } + [Newtonsoft.Json.JsonProperty("network_mid", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Network_mid { get; set; } - [Newtonsoft.Json.JsonProperty("acquiring_institution_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(11)] - public string Acquiring_institution_id { get; set; } + [Newtonsoft.Json.JsonProperty("mcc_groups", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Mcc_groups { get; set; } - [Newtonsoft.Json.JsonProperty("network_reference_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(12)] - public string Network_reference_id { get; set; } + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("forwarding_institution_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(11)] - public string Forwarding_institution_id { get; set; } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } - [Newtonsoft.Json.JsonProperty("transaction_token", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(36)] - public string Transaction_token { get; set; } + [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } - } + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string State { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Track1_data - { - [Newtonsoft.Json.JsonProperty("cvv", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(3)] - public string Cvv { get; set; } + [Newtonsoft.Json.JsonProperty("zip", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Zip { get; set; } - [Newtonsoft.Json.JsonProperty("atc", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(4, MinimumLength = 4)] - public string Atc { get; set; } + [Newtonsoft.Json.JsonProperty("postal_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Postal_code { get; set; } + + [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Country { get; set; } + + [Newtonsoft.Json.JsonProperty("poi", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Terminal_model Poi { get; set; } + + [Newtonsoft.Json.JsonProperty("network_assigned_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Network_assigned_id { get; set; } + + [Newtonsoft.Json.JsonProperty("country_of_origin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Country_of_origin { get; set; } } @@ -15970,17 +15850,6 @@ public partial class TabapaySoftDescriptorPhone } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Advanced_simulation_response_model - { - [Newtonsoft.Json.JsonProperty("transaction", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Transaction_model Transaction { get; set; } - - [Newtonsoft.Json.JsonProperty("raw_iso8583", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.IDictionary Raw_iso8583 { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class SimulateIncrementalAuthRequest { @@ -16140,6 +16009,28 @@ public partial class SimulatePinDebitAuthRequest } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Authorization_advice_model + { + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("network_fees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Network_fees { get; set; } + + [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Webhook Webhook { get; set; } + + [Newtonsoft.Json.JsonProperty("original_transaction_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Original_transaction_token { get; set; } + + [Newtonsoft.Json.JsonProperty("transaction_options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_options Transaction_options { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class ClearingModel { @@ -16380,43 +16271,204 @@ public partial class Advanced_clearing_request_model [System.ComponentModel.DataAnnotations.StringLength(11, MinimumLength = 1)] public string Acquirer_institution_id_code { get; set; } - [Newtonsoft.Json.JsonProperty("terminal_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.StringLength(8, MinimumLength = 1)] - public string Terminal_id { get; set; } + [Newtonsoft.Json.JsonProperty("terminal_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(8, MinimumLength = 1)] + public string Terminal_id { get; set; } + + [Newtonsoft.Json.JsonProperty("special_condition_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Special_condition_indicator { get; set; } + + [Newtonsoft.Json.JsonProperty("send_webhooks", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Send_webhooks { get; set; } + + [Newtonsoft.Json.JsonProperty("merchant_tax_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Merchant_tax_id { get; set; } + + [Newtonsoft.Json.JsonProperty("special_purchase_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Special_purchase_id { get; set; } + + [Newtonsoft.Json.JsonProperty("special_merchant_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Special_merchant_id { get; set; } + + [Newtonsoft.Json.JsonProperty("deferred_settlement_days", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Deferred_settlement_days { get; set; } + + [Newtonsoft.Json.JsonProperty("national_net_cpd_of_original", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string National_net_cpd_of_original { get; set; } + + [Newtonsoft.Json.JsonProperty("fast_funds_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Fast_funds_indicator { get; set; } + + [Newtonsoft.Json.JsonProperty("business_format_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Business_format_code { get; set; } + + [Newtonsoft.Json.JsonProperty("mti", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Advanced_clearing_request_modelMti? Mti { get; set; } + + [Newtonsoft.Json.JsonProperty("clearing_file_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Clearing_file_name { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Financial_request_model + { + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Card_token { get; set; } + + [Newtonsoft.Json.JsonProperty("pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(15, MinimumLength = 1)] + public string Pin { get; set; } + + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + public string Mid { get; set; } + + [Newtonsoft.Json.JsonProperty("cash_back_amount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double? Cash_back_amount { get; set; } + + [Newtonsoft.Json.JsonProperty("is_pre_auth", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_pre_auth { get; set; } + + [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Card_acceptor_model Card_acceptor { get; set; } = new Card_acceptor_model(); + + [Newtonsoft.Json.JsonProperty("transaction_options", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Transaction_options Transaction_options { get; set; } + + [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Webhook Webhook { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Withdrawal_request_model + { + [Newtonsoft.Json.JsonProperty("account_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Withdrawal_request_modelAccount_type? Account_type { get; set; } + + [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Card_token { get; set; } + + [Newtonsoft.Json.JsonProperty("pin", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(15, MinimumLength = 1)] + public string Pin { get; set; } + + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + public string Mid { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Card_acceptor_model Card_acceptor { get; set; } + + [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Webhook Webhook { get; set; } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Original_credit_sender_data + { + [Newtonsoft.Json.JsonProperty("funding_source", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Original_credit_sender_dataFunding_source Funding_source { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_account_type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Original_credit_sender_dataSender_account_type? Sender_account_type { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_name { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_reference_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_reference_number { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_account_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_account_number { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_address { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_city { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_state { get; set; } + + [Newtonsoft.Json.JsonProperty("sender_country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Sender_country { get; set; } + + [Newtonsoft.Json.JsonProperty("unique_transaction_reference_number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.StringLength(17, MinimumLength = 1)] + public string Unique_transaction_reference_number { get; set; } + + [Newtonsoft.Json.JsonProperty("transaction_purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Original_credit_sender_dataTransaction_purpose? Transaction_purpose { get; set; } + + [Newtonsoft.Json.JsonProperty("visa_transaction_purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Visa_transaction_purpose { get; set; } - [Newtonsoft.Json.JsonProperty("special_condition_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Special_condition_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("deferred_hold_by", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Original_credit_sender_dataDeferred_hold_by? Deferred_hold_by { get; set; } - [Newtonsoft.Json.JsonProperty("send_webhooks", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Send_webhooks { get; set; } + [Newtonsoft.Json.JsonProperty("fast_funds_enabled", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Fast_funds_enabled { get; set; } - [Newtonsoft.Json.JsonProperty("merchant_tax_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Merchant_tax_id { get; set; } + } - [Newtonsoft.Json.JsonProperty("special_purchase_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Special_purchase_id { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Orignalcredit_request_model + { + [Newtonsoft.Json.JsonProperty("transactionPurpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TransactionPurpose { get; set; } - [Newtonsoft.Json.JsonProperty("special_merchant_id", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Special_merchant_id { get; set; } + [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public double Amount { get; set; } - [Newtonsoft.Json.JsonProperty("deferred_settlement_days", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Deferred_settlement_days { get; set; } + [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(36, MinimumLength = 1)] + public string Card_token { get; set; } - [Newtonsoft.Json.JsonProperty("national_net_cpd_of_original", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string National_net_cpd_of_original { get; set; } + [Newtonsoft.Json.JsonProperty("mid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] + public string Mid { get; set; } - [Newtonsoft.Json.JsonProperty("fast_funds_indicator", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Fast_funds_indicator { get; set; } + [Newtonsoft.Json.JsonProperty("screening_score", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Screening_score { get; set; } - [Newtonsoft.Json.JsonProperty("business_format_code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Business_format_code { get; set; } + [Newtonsoft.Json.JsonProperty("card_acceptor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Card_acceptor_model Card_acceptor { get; set; } - [Newtonsoft.Json.JsonProperty("mti", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Advanced_clearing_request_modelMti? Mti { get; set; } + public Orignalcredit_request_modelType Type { get; set; } - [Newtonsoft.Json.JsonProperty("clearing_file_name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Clearing_file_name { get; set; } + [Newtonsoft.Json.JsonProperty("sender_data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Original_credit_sender_data Sender_data { get; set; } + + [Newtonsoft.Json.JsonProperty("webhook", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Webhook Webhook { get; set; } } @@ -16485,6 +16537,26 @@ public partial class Card_options } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class TransactionModelListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class BillPaymentTransactionRequest { @@ -16519,35 +16591,6 @@ public partial class BillPaymentCompletionRequest } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class TransactionModelListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class TransactionUpdateModel - { - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TransactionUpdateModelState? State { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Clearing_file { @@ -16607,6 +16650,15 @@ public partial class Clearing_file_request } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class TransactionUpdateModel + { + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TransactionUpdateModelState? State { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Cache_error { @@ -17474,7 +17526,7 @@ public partial class Velocity_control_response public string Currency_code { get; set; } [Newtonsoft.Json.JsonProperty("amount_limit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double Amount_limit { get; set; } [Newtonsoft.Json.JsonProperty("velocity_window", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -17517,7 +17569,7 @@ public partial class Available public int Uses { get; set; } [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double Amount { get; set; } /// @@ -17575,7 +17627,7 @@ public partial class Velocity_control_balance_response public string Currency_code { get; set; } [Newtonsoft.Json.JsonProperty("amount_limit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double Amount_limit { get; set; } [Newtonsoft.Json.JsonProperty("velocity_window", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -17642,7 +17694,7 @@ public partial class Velocity_control_update_request public string Currency_code { get; set; } [Newtonsoft.Json.JsonProperty("amount_limit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double? Amount_limit { get; set; } [Newtonsoft.Json.JsonProperty("velocity_window", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -17701,7 +17753,7 @@ public partial class Velocity_control_request public string Currency_code { get; set; } [Newtonsoft.Json.JsonProperty("amount_limit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Range(0.0D, double.MaxValue)] + [System.ComponentModel.DataAnnotations.Range(0.00D, double.MaxValue)] public double Amount_limit { get; set; } [Newtonsoft.Json.JsonProperty("velocity_window", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -17715,73 +17767,79 @@ public partial class Velocity_control_request } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Error_message_from_web_push_provisioning_request - { - [Newtonsoft.Json.JsonProperty("error_code", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Error_code { get; set; } - - [Newtonsoft.Json.JsonProperty("error_message", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Error_message { get; set; } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Request_for_wpp_parameters + public partial class Web_push_provisioning_apple_pay_JWS_header { /// - /// identifier for card issued by MQ + /// The ID for the JWS Public Key of the key pair used to generate signature. /// - [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("kid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Card_token { get; set; } + public string Kid { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Sending_provisioning_data_to_google_pay_backend_request + public partial class Web_push_provisioning_apple_pay_JWS_model { + [Newtonsoft.Json.JsonProperty("header", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Web_push_provisioning_apple_pay_JWS_header Header { get; set; } = new Web_push_provisioning_apple_pay_JWS_header(); + /// - /// A string that identifies the backend session. Provided by Google pay backend. + /// JWS Protected Headers, contains the Header Parameters that are integrity protected by the JWS Signature. /// - [Newtonsoft.Json.JsonProperty("server_session_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("protected", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Server_session_id { get; set; } + public string Protected { get; set; } /// - /// A string that identifies the client session. Provided by Google pay backend. + /// JWS payload which includes the message to be sent. /// - [Newtonsoft.Json.JsonProperty("client_session_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("payload", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Client_session_id { get; set; } + public string Payload { get; set; } /// - /// 1 => Tokenization will be attempted.; 0 =>Tokenization will not be attempted. + /// JWS Signature /// - [Newtonsoft.Json.JsonProperty("token_setting", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Sending_provisioning_data_to_google_pay_backend_requestToken_setting Token_setting { get; set; } + [Newtonsoft.Json.JsonProperty("signature", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Signature { get; set; } - /// - /// 1 => FPAN save will be attempted.; 0 => FPAN save will not be attempted. - /// - [Newtonsoft.Json.JsonProperty("card_setting", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Sending_provisioning_data_to_google_pay_backend_requestCard_setting Card_setting { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Web_push_provisioning_apple_pay_JWT_response + { + [Newtonsoft.Json.JsonProperty("jws", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required] + public Web_push_provisioning_apple_pay_JWS_model Jws { get; set; } = new Web_push_provisioning_apple_pay_JWS_model(); /// - /// String identifying the device-scoped Google Pay wallet that will receive the token. Provided by Google Pay backend. + /// Unique state associated with the token. MQ will return a UUID here. /// - [Newtonsoft.Json.JsonProperty("public_wallet_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Public_wallet_id { get; set; } + public string State { get; set; } - /// - /// String identifying the Android device that will receive the token. Provided by Google Pay backend - /// - [Newtonsoft.Json.JsonProperty("public_device_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Error_message_from_web_push_provisioning_request + { + [Newtonsoft.Json.JsonProperty("error_code", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Public_device_id { get; set; } + public string Error_code { get; set; } + + [Newtonsoft.Json.JsonProperty("error_message", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Error_message { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class Request_for_apple_pay_wpp_JWT + { /// /// identifier for card issued by MQ /// @@ -17789,76 +17847,63 @@ public partial class Sending_provisioning_data_to_google_pay_backend_request [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Card_token { get; set; } - /// - /// A Google-assigned string that uniquely identifies both the integrator that is initiating the session and the issuer of the payment card. - /// - [Newtonsoft.Json.JsonProperty("integrator_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Integrator_id { get; set; } - } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Web_push_provisioning_apple_pay_JWS_header + public partial class Request_for_wpp_parameters { /// - /// The ID for the JWS Public Key of the key pair used to generate signature. + /// identifier for card issued by MQ /// - [Newtonsoft.Json.JsonProperty("kid", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("card_token", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Kid { get; set; } + public string Card_token { get; set; } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Web_push_provisioning_apple_pay_JWS_model + public partial class Sending_provisioning_data_to_google_pay_backend_request { - [Newtonsoft.Json.JsonProperty("header", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Web_push_provisioning_apple_pay_JWS_header Header { get; set; } = new Web_push_provisioning_apple_pay_JWS_header(); - /// - /// JWS Protected Headers, contains the Header Parameters that are integrity protected by the JWS Signature. + /// A string that identifies the backend session. Provided by Google pay backend. /// - [Newtonsoft.Json.JsonProperty("protected", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("server_session_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Protected { get; set; } + public string Server_session_id { get; set; } /// - /// JWS payload which includes the message to be sent. + /// A string that identifies the client session. Provided by Google pay backend. /// - [Newtonsoft.Json.JsonProperty("payload", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("client_session_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Payload { get; set; } + public string Client_session_id { get; set; } /// - /// JWS Signature + /// 1 => Tokenization will be attempted.; 0 =>Tokenization will not be attempted. /// - [Newtonsoft.Json.JsonProperty("signature", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string Signature { get; set; } - - } + [Newtonsoft.Json.JsonProperty("token_setting", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Sending_provisioning_data_to_google_pay_backend_requestToken_setting Token_setting { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Web_push_provisioning_apple_pay_JWT_response - { - [Newtonsoft.Json.JsonProperty("jws", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [System.ComponentModel.DataAnnotations.Required] - public Web_push_provisioning_apple_pay_JWS_model Jws { get; set; } = new Web_push_provisioning_apple_pay_JWS_model(); + /// + /// 1 => FPAN save will be attempted.; 0 => FPAN save will not be attempted. + /// + [Newtonsoft.Json.JsonProperty("card_setting", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Sending_provisioning_data_to_google_pay_backend_requestCard_setting Card_setting { get; set; } /// - /// Unique state associated with the token. MQ will return a UUID here. + /// String identifying the device-scoped Google Pay wallet that will receive the token. Provided by Google Pay backend. /// - [Newtonsoft.Json.JsonProperty("state", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("public_wallet_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] - public string State { get; set; } + public string Public_wallet_id { get; set; } - } + /// + /// String identifying the Android device that will receive the token. Provided by Google Pay backend + /// + [Newtonsoft.Json.JsonProperty("public_device_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Public_device_id { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class Request_for_apple_pay_wpp_JWT - { /// /// identifier for card issued by MQ /// @@ -17866,6 +17911,13 @@ public partial class Request_for_apple_pay_wpp_JWT [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Card_token { get; set; } + /// + /// A Google-assigned string that uniquely identifies both the integrator that is initiating the session and the issuer of the payment card. + /// + [Newtonsoft.Json.JsonProperty("integrator_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] + public string Integrator_id { get; set; } + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -17991,6 +18043,26 @@ public partial class Webhook_base_model } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public partial class WebhookResponseModelListResponse + { + [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Start_index { get; set; } + + [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? End_index { get; set; } + + [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Is_more { get; set; } + + [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Data { get; set; } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Webhook_request_model { @@ -18019,26 +18091,6 @@ public partial class Webhook_request_model } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public partial class WebhookResponseModelListResponse - { - [Newtonsoft.Json.JsonProperty("count", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - [Newtonsoft.Json.JsonProperty("start_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Start_index { get; set; } - - [Newtonsoft.Json.JsonProperty("end_index", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? End_index { get; set; } - - [Newtonsoft.Json.JsonProperty("is_more", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Is_more { get; set; } - - [Newtonsoft.Json.JsonProperty("data", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Data { get; set; } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public partial class Internal_auth_control_request { @@ -19341,6 +19393,9 @@ public enum BusinessTransitionResponseReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -19485,6 +19540,9 @@ public enum BusinessTransitionRequestReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -20155,6 +20213,9 @@ public enum Card_transition_responseReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -20341,6 +20402,9 @@ public enum Card_transition_requestReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -20467,43 +20531,55 @@ public enum Card_responseInstrument_type } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_transition_responseState + public enum Chargeback_responseReason_description { - [System.Runtime.Serialization.EnumMember(Value = @"INITIATED")] - INITIATED = 0, + [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_NOT_PROVIDED_MERCHANDISE_NOT_RECEIVED")] + SERVICE_NOT_PROVIDED_MERCHANDISE_NOT_RECEIVED = 0, - [System.Runtime.Serialization.EnumMember(Value = @"REPRESENTMENT")] - REPRESENTMENT = 1, + [System.Runtime.Serialization.EnumMember(Value = @"CANCELLED_RECURRING_TRANSACTION")] + CANCELLED_RECURRING_TRANSACTION = 1, - [System.Runtime.Serialization.EnumMember(Value = @"PREARBITRATION")] - PREARBITRATION = 2, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_AS_DESCRIBED_OR_DEFECTIVE_MERCHANDISE")] + NOT_AS_DESCRIBED_OR_DEFECTIVE_MERCHANDISE = 2, - [System.Runtime.Serialization.EnumMember(Value = @"ARBITRATION")] - ARBITRATION = 3, + [System.Runtime.Serialization.EnumMember(Value = @"FRAUD_MULTIPLE_TRANSACTIONS")] + FRAUD_MULTIPLE_TRANSACTIONS = 3, - [System.Runtime.Serialization.EnumMember(Value = @"CASE_WON")] - CASE_WON = 4, + [System.Runtime.Serialization.EnumMember(Value = @"FRAUD_TRANSACTION")] + FRAUD_TRANSACTION = 4, - [System.Runtime.Serialization.EnumMember(Value = @"CASE_LOST")] - CASE_LOST = 5, + [System.Runtime.Serialization.EnumMember(Value = @"NO_AUTHORIZATION")] + NO_AUTHORIZATION = 5, - [System.Runtime.Serialization.EnumMember(Value = @"NETWORK_REJECTED")] - NETWORK_REJECTED = 6, + [System.Runtime.Serialization.EnumMember(Value = @"LATE_PRESENTMENT")] + LATE_PRESENTMENT = 6, - [System.Runtime.Serialization.EnumMember(Value = @"WITHDRAWN")] - WITHDRAWN = 7, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSACTION_NOT_RECOGNIZED")] + TRANSACTION_NOT_RECOGNIZED = 7, - [System.Runtime.Serialization.EnumMember(Value = @"WRITTEN_OFF_ISSUER")] - WRITTEN_OFF_ISSUER = 8, + [System.Runtime.Serialization.EnumMember(Value = @"INCORRECT_CURRENCY_OR_TRANSACTION_CODE")] + INCORRECT_CURRENCY_OR_TRANSACTION_CODE = 8, - [System.Runtime.Serialization.EnumMember(Value = @"WRITTEN_OFF_PROGRAM")] - WRITTEN_OFF_PROGRAM = 9, + [System.Runtime.Serialization.EnumMember(Value = @"INCORRECT_TRANSACTION_AMOUNT_OR_ACCOUNT_NUMBER")] + INCORRECT_TRANSACTION_AMOUNT_OR_ACCOUNT_NUMBER = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_AUTHORIZED_CARD_PRESENT")] + NOT_AUTHORIZED_CARD_PRESENT = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_AUTHORIZED_CARD_ABSENT")] + NOT_AUTHORIZED_CARD_ABSENT = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"CREDIT_NOT_PROCESSED")] + CREDIT_NOT_PROCESSED = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"NON_RECEIPT_OF_CASH_OR_LOAD_TRANSACTION_VALUE_AT_ATM")] + NON_RECEIPT_OF_CASH_OR_LOAD_TRANSACTION_VALUE_AT_ATM = 13, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_transition_responsePrevious_state + public enum Chargeback_responseState { [System.Runtime.Serialization.EnumMember(Value = @"INITIATED")] @@ -20533,7 +20609,7 @@ public enum Chargeback_transition_responsePrevious_state } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_transition_responseChannel + public enum Chargeback_responseChannel { [System.Runtime.Serialization.EnumMember(Value = @"GATEWAY")] @@ -20551,88 +20627,64 @@ public enum Chargeback_transition_responseChannel } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_transition_responseType + public enum Chargeback_responseNetwork { - [System.Runtime.Serialization.EnumMember(Value = @"initiated")] - Initiated = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"representment")] - Representment = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"prearbitration")] - Prearbitration = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"arbitration")] - Arbitration = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"case.won")] - Case_won = 4, + [System.Runtime.Serialization.EnumMember(Value = @"MARQETA")] + MARQETA = 0, - [System.Runtime.Serialization.EnumMember(Value = @"case.lost")] - Case_lost = 5, + [System.Runtime.Serialization.EnumMember(Value = @"DISCOVER")] + DISCOVER = 1, - [System.Runtime.Serialization.EnumMember(Value = @"network.rejected")] - Network_rejected = 6, + [System.Runtime.Serialization.EnumMember(Value = @"MASTERCARD")] + MASTERCARD = 2, - [System.Runtime.Serialization.EnumMember(Value = @"written.off.issuer")] - Written_off_issuer = 7, + [System.Runtime.Serialization.EnumMember(Value = @"PULSE")] + PULSE = 3, - [System.Runtime.Serialization.EnumMember(Value = @"written.off.program")] - Written_off_program = 8, + [System.Runtime.Serialization.EnumMember(Value = @"VISA")] + VISA = 4, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_responseReason_description + public enum Chargeback_transition_responseState { - [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_NOT_PROVIDED_MERCHANDISE_NOT_RECEIVED")] - SERVICE_NOT_PROVIDED_MERCHANDISE_NOT_RECEIVED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"CANCELLED_RECURRING_TRANSACTION")] - CANCELLED_RECURRING_TRANSACTION = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_AS_DESCRIBED_OR_DEFECTIVE_MERCHANDISE")] - NOT_AS_DESCRIBED_OR_DEFECTIVE_MERCHANDISE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FRAUD_MULTIPLE_TRANSACTIONS")] - FRAUD_MULTIPLE_TRANSACTIONS = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"FRAUD_TRANSACTION")] - FRAUD_TRANSACTION = 4, + [System.Runtime.Serialization.EnumMember(Value = @"INITIATED")] + INITIATED = 0, - [System.Runtime.Serialization.EnumMember(Value = @"NO_AUTHORIZATION")] - NO_AUTHORIZATION = 5, + [System.Runtime.Serialization.EnumMember(Value = @"REPRESENTMENT")] + REPRESENTMENT = 1, - [System.Runtime.Serialization.EnumMember(Value = @"LATE_PRESENTMENT")] - LATE_PRESENTMENT = 6, + [System.Runtime.Serialization.EnumMember(Value = @"PREARBITRATION")] + PREARBITRATION = 2, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSACTION_NOT_RECOGNIZED")] - TRANSACTION_NOT_RECOGNIZED = 7, + [System.Runtime.Serialization.EnumMember(Value = @"ARBITRATION")] + ARBITRATION = 3, - [System.Runtime.Serialization.EnumMember(Value = @"INCORRECT_CURRENCY_OR_TRANSACTION_CODE")] - INCORRECT_CURRENCY_OR_TRANSACTION_CODE = 8, + [System.Runtime.Serialization.EnumMember(Value = @"CASE_WON")] + CASE_WON = 4, - [System.Runtime.Serialization.EnumMember(Value = @"INCORRECT_TRANSACTION_AMOUNT_OR_ACCOUNT_NUMBER")] - INCORRECT_TRANSACTION_AMOUNT_OR_ACCOUNT_NUMBER = 9, + [System.Runtime.Serialization.EnumMember(Value = @"CASE_LOST")] + CASE_LOST = 5, - [System.Runtime.Serialization.EnumMember(Value = @"NOT_AUTHORIZED_CARD_PRESENT")] - NOT_AUTHORIZED_CARD_PRESENT = 10, + [System.Runtime.Serialization.EnumMember(Value = @"NETWORK_REJECTED")] + NETWORK_REJECTED = 6, - [System.Runtime.Serialization.EnumMember(Value = @"NOT_AUTHORIZED_CARD_ABSENT")] - NOT_AUTHORIZED_CARD_ABSENT = 11, + [System.Runtime.Serialization.EnumMember(Value = @"WITHDRAWN")] + WITHDRAWN = 7, - [System.Runtime.Serialization.EnumMember(Value = @"CREDIT_NOT_PROCESSED")] - CREDIT_NOT_PROCESSED = 12, + [System.Runtime.Serialization.EnumMember(Value = @"WRITTEN_OFF_ISSUER")] + WRITTEN_OFF_ISSUER = 8, - [System.Runtime.Serialization.EnumMember(Value = @"NON_RECEIPT_OF_CASH_OR_LOAD_TRANSACTION_VALUE_AT_ATM")] - NON_RECEIPT_OF_CASH_OR_LOAD_TRANSACTION_VALUE_AT_ATM = 13, + [System.Runtime.Serialization.EnumMember(Value = @"WRITTEN_OFF_PROGRAM")] + WRITTEN_OFF_PROGRAM = 9, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_responseState + public enum Chargeback_transition_responsePrevious_state { [System.Runtime.Serialization.EnumMember(Value = @"INITIATED")] @@ -20662,7 +20714,7 @@ public enum Chargeback_responseState } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_responseChannel + public enum Chargeback_transition_responseChannel { [System.Runtime.Serialization.EnumMember(Value = @"GATEWAY")] @@ -20680,23 +20732,35 @@ public enum Chargeback_responseChannel } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Chargeback_responseNetwork + public enum Chargeback_transition_responseType { - [System.Runtime.Serialization.EnumMember(Value = @"MARQETA")] - MARQETA = 0, + [System.Runtime.Serialization.EnumMember(Value = @"initiated")] + Initiated = 0, - [System.Runtime.Serialization.EnumMember(Value = @"DISCOVER")] - DISCOVER = 1, + [System.Runtime.Serialization.EnumMember(Value = @"representment")] + Representment = 1, - [System.Runtime.Serialization.EnumMember(Value = @"MASTERCARD")] - MASTERCARD = 2, + [System.Runtime.Serialization.EnumMember(Value = @"prearbitration")] + Prearbitration = 2, - [System.Runtime.Serialization.EnumMember(Value = @"PULSE")] - PULSE = 3, + [System.Runtime.Serialization.EnumMember(Value = @"arbitration")] + Arbitration = 3, - [System.Runtime.Serialization.EnumMember(Value = @"VISA")] - VISA = 4, + [System.Runtime.Serialization.EnumMember(Value = @"case.won")] + Case_won = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"case.lost")] + Case_lost = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"network.rejected")] + Network_rejected = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"written.off.issuer")] + Written_off_issuer = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"written.off.program")] + Written_off_program = 8, } @@ -21235,6 +21299,9 @@ public enum Digital_wallet_token_transition_responseReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -21337,6 +21404,9 @@ public enum Digital_wallet_token_transition_requestReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -21820,98 +21890,152 @@ public enum Jit_funding_apiMethod [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization")] Pgfs_authorization = 0, - [System.Runtime.Serialization.EnumMember(Value = @"pgfs.balanceinquiry")] - Pgfs_balanceinquiry = 1, + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.clearing")] + Pgfs_authorization_clearing = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.advice")] + Pgfs_authorization_advice = 2, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.incremental")] - Pgfs_authorization_incremental = 2, + Pgfs_authorization_incremental = 3, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.capture")] - Pgfs_authorization_capture = 3, + Pgfs_authorization_capture = 4, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.reversal")] - Pgfs_authorization_reversal = 4, + Pgfs_authorization_reversal = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.cashback")] + Pgfs_authorization_cashback = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.balanceinquiry")] + Pgfs_balanceinquiry = 7, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.auth_plus_capture")] - Pgfs_auth_plus_capture = 5, + Pgfs_auth_plus_capture = 8, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.refund")] - Pgfs_refund = 6, + Pgfs_refund = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.refund.authorization")] + Pgfs_refund_authorization = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.refund.authorization.reversal")] + Pgfs_refund_authorization_reversal = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.refund.authorization.clearing")] + Pgfs_refund_authorization_clearing = 12, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.force_capture")] - Pgfs_force_capture = 7, + Pgfs_force_capture = 13, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.capture.chargeback")] - Pgfs_authorization_capture_chargeback = 8, + Pgfs_authorization_capture_chargeback = 14, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.capture.chargeback.reversal")] - Pgfs_authorization_capture_chargeback_reversal = 9, + Pgfs_authorization_capture_chargeback_reversal = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit")] + Pgfs_pindebit = 16, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.chargeback")] - Pgfs_pindebit_chargeback = 10, + Pgfs_pindebit_chargeback = 17, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.chargeback.reversal")] - Pgfs_pindebit_chargeback_reversal = 11, + Pgfs_pindebit_chargeback_reversal = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.cashback")] + Pgfs_pindebit_cashback = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.refund")] + Pgfs_pindebit_refund = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.authorization")] + Pgfs_pindebit_authorization = 21, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.authorization.clearing")] + Pgfs_pindebit_authorization_clearing = 22, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.authorization.reversal")] + Pgfs_pindebit_authorization_reversal = 23, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.atm.withdrawal")] + Pgfs_pindebit_atm_withdrawal = 24, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.balanceinquiry")] + Pgfs_pindebit_balanceinquiry = 25, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.pindebit.quasi.cash")] + Pgfs_pindebit_quasi_cash = 26, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.dispute.credit")] - Pgfs_dispute_credit = 12, + Pgfs_dispute_credit = 27, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.dispute.debit")] - Pgfs_dispute_debit = 13, + Pgfs_dispute_debit = 28, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.directdeposit.credit")] - Pgfs_directdeposit_credit = 14, + Pgfs_directdeposit_credit = 29, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.directdeposit.debit")] - Pgfs_directdeposit_debit = 15, + Pgfs_directdeposit_debit = 30, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.directdeposit.credit.reversal")] - Pgfs_directdeposit_credit_reversal = 16, + Pgfs_directdeposit_credit_reversal = 31, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.directdeposit.debit.reversal")] - Pgfs_directdeposit_debit_reversal = 17, + Pgfs_directdeposit_debit_reversal = 32, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.adjustment.credit")] - Pgfs_adjustment_credit = 18, + Pgfs_adjustment_credit = 33, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.adjustment.debit")] - Pgfs_adjustment_debit = 19, + Pgfs_adjustment_debit = 34, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.auth_plus_capture.standin")] - Pgfs_auth_plus_capture_standin = 20, + Pgfs_auth_plus_capture_standin = 35, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.standin")] - Pgfs_authorization_standin = 21, + Pgfs_authorization_standin = 36, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.network.load")] - Pgfs_network_load = 22, + Pgfs_network_load = 37, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.original.credit.authorization")] - Pgfs_original_credit_authorization = 23, + Pgfs_original_credit_authorization = 38, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.original.credit.auth_plus_capture")] - Pgfs_original_credit_auth_plus_capture = 24, - - [System.Runtime.Serialization.EnumMember(Value = @"pgfs.refund.authorization")] - Pgfs_refund_authorization = 25, - - [System.Runtime.Serialization.EnumMember(Value = @"pgfs.refund.authorization.reversal")] - Pgfs_refund_authorization_reversal = 26, + Pgfs_original_credit_auth_plus_capture = 39, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.original.credit.authorization.clearing")] - Pgfs_original_credit_authorization_clearing = 27, + Pgfs_original_credit_authorization_clearing = 40, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.original.credit.authorization.reversal")] + Pgfs_original_credit_authorization_reversal = 41, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.billpayment")] - Pgfs_billpayment = 28, + Pgfs_billpayment = 42, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.billpayment.capture")] - Pgfs_billpayment_capture = 29, + Pgfs_billpayment_capture = 43, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.billpayment.reversal")] - Pgfs_billpayment_reversal = 30, + Pgfs_billpayment_reversal = 44, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.atm.withdrawal")] + Pgfs_atm_withdrawal = 45, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.atm.clearing.withdrawal")] + Pgfs_atm_clearing_withdrawal = 46, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.quasi.cash")] + Pgfs_authorization_quasi_cash = 47, + + [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.clearing.quasi.cash")] + Pgfs_authorization_clearing_quasi_cash = 48, [System.Runtime.Serialization.EnumMember(Value = @"pgfs.authorization.account_verification")] - Pgfs_authorization_account_verification = 31, + Pgfs_authorization_account_verification = 49, } @@ -23212,1421 +23336,1277 @@ public enum Balance_inquiry_request_modelAccount_type } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Withdrawal_request_modelAccount_type - { - - [System.Runtime.Serialization.EnumMember(Value = @"checking")] - Checking = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"savings")] - Savings = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"credit")] - Credit = 2, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Original_credit_sender_dataFunding_source - { - - [System.Runtime.Serialization.EnumMember(Value = @"credit")] - Credit = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"debit")] - Debit = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"prepaid")] - Prepaid = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"deposit_account")] - Deposit_account = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"cash")] - Cash = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"mobile_money_payment")] - Mobile_money_payment = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"non_visa_credit")] - Non_visa_credit = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"check")] - Check = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"ach")] - Ach = 8, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Original_credit_sender_dataSender_account_type - { - - [System.Runtime.Serialization.EnumMember(Value = @"other")] - Other = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"rtn_bank_account")] - Rtn_bank_account = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"iban")] - Iban = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"card_account")] - Card_account = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"email")] - Email = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"phone_number")] - Phone_number = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"bank_account_number_and_identification_code")] - Bank_account_number_and_identification_code = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"wallet_id")] - Wallet_id = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"social_network_id")] - Social_network_id = 8, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Original_credit_sender_dataTransaction_purpose + public enum AdvancedAuthPOIMoto_indicator { - [System.Runtime.Serialization.EnumMember(Value = @"family_support")] - Family_support = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"labor_transfers")] - Labor_transfers = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"travel")] - Travel = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"education")] - Education = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"medical_treatment")] - Medical_treatment = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"emergency_need")] - Emergency_need = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"savings")] - Savings = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"gifts")] - Gifts = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"other")] - Other = 8, + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 0, - [System.Runtime.Serialization.EnumMember(Value = @"salary")] - Salary = 9, + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] + MANUAL = 1, - [System.Runtime.Serialization.EnumMember(Value = @"lending")] - Lending = 10, + [System.Runtime.Serialization.EnumMember(Value = @"RECURRING")] + RECURRING = 2, - [System.Runtime.Serialization.EnumMember(Value = @"crypto_currency")] - Crypto_currency = 11, + [System.Runtime.Serialization.EnumMember(Value = @"INSTALLMENT")] + INSTALLMENT = 3, - } + [System.Runtime.Serialization.EnumMember(Value = @"OTHERS")] + OTHERS = 4, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Original_credit_sender_dataDeferred_hold_by - { + [System.Runtime.Serialization.EnumMember(Value = @"EMPTY")] + EMPTY = 5, - [System.Runtime.Serialization.EnumMember(Value = @"absent")] - Absent = 0, + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_SUCCESS")] + AUTH_SUCCESS = 6, - [System.Runtime.Serialization.EnumMember(Value = @"visa")] - Visa = 1, + [System.Runtime.Serialization.EnumMember(Value = @"NON_AUTH_3D_SECURE")] + NON_AUTH_3D_SECURE = 7, - [System.Runtime.Serialization.EnumMember(Value = @"originator")] - Originator = 2, + [System.Runtime.Serialization.EnumMember(Value = @"NON_AUTH_SECURE_SUBMISSION")] + NON_AUTH_SECURE_SUBMISSION = 8, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Orignalcredit_request_modelType + public enum Account_funding_receiver_dataFunding_source { - [System.Runtime.Serialization.EnumMember(Value = @"account_to_account")] - Account_to_account = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"person_to_person")] - Person_to_person = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"prepaid")] - Prepaid = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"wallet_transfer")] - Wallet_transfer = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"money_transfer_by_bank")] - Money_transfer_by_bank = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"business_to_business")] - Business_to_business = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"disbursement")] - Disbursement = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"government_disbursement")] - Government_disbursement = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"gambling_payout")] - Gambling_payout = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"loyalty")] - Loyalty = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"merchant_disbursement")] - Merchant_disbursement = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"online_gambling_payout")] - Online_gambling_payout = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"pension_disbursement")] - Pension_disbursement = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"prepaid_loads")] - Prepaid_loads = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"card_bill_payment")] - Card_bill_payment = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"bill_payment")] - Bill_payment = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"cash_claim")] - Cash_claim = 16, + [System.Runtime.Serialization.EnumMember(Value = @"CREDIT")] + CREDIT = 0, - [System.Runtime.Serialization.EnumMember(Value = @"cash_in")] - Cash_in = 17, + [System.Runtime.Serialization.EnumMember(Value = @"DEBIT")] + DEBIT = 1, - [System.Runtime.Serialization.EnumMember(Value = @"cash_out")] - Cash_out = 18, + [System.Runtime.Serialization.EnumMember(Value = @"PREPAID")] + PREPAID = 2, - [System.Runtime.Serialization.EnumMember(Value = @"mobile_air_time_payment")] - Mobile_air_time_payment = 19, + [System.Runtime.Serialization.EnumMember(Value = @"DEPOSIT_ACCOUNT")] + DEPOSIT_ACCOUNT = 3, - [System.Runtime.Serialization.EnumMember(Value = @"money_transfer_by_merchant")] - Money_transfer_by_merchant = 20, + [System.Runtime.Serialization.EnumMember(Value = @"CASH")] + CASH = 4, - [System.Runtime.Serialization.EnumMember(Value = @"face_to_face_merchant_payment")] - Face_to_face_merchant_payment = 21, + [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_MONEY_ACCOUNT")] + MOBILE_MONEY_ACCOUNT = 5, - [System.Runtime.Serialization.EnumMember(Value = @"government_payment")] - Government_payment = 22, + [System.Runtime.Serialization.EnumMember(Value = @"NON_VISA_CREDIT")] + NON_VISA_CREDIT = 6, - [System.Runtime.Serialization.EnumMember(Value = @"payments_goods_services")] - Payments_goods_services = 23, + [System.Runtime.Serialization.EnumMember(Value = @"CHECK")] + CHECK = 7, - [System.Runtime.Serialization.EnumMember(Value = @"purchase_repayment")] - Purchase_repayment = 24, + [System.Runtime.Serialization.EnumMember(Value = @"ACH")] + ACH = 8, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum InternalGPAOrderOrderState + public enum Account_funding_receiver_dataReceiver_account_type { - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 0, + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 0, - [System.Runtime.Serialization.EnumMember(Value = @"REVERSED")] - REVERSED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"RTN_BANK_ACCOUNT")] + RTN_BANK_ACCOUNT = 1, - [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] - CLEARED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"IBAN")] + IBAN = 2, - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] - COMPLETION = 3, + [System.Runtime.Serialization.EnumMember(Value = @"CARD_ACCOUNT")] + CARD_ACCOUNT = 3, - [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] - DECLINED = 4, + [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] + EMAIL = 4, - [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] - ERROR = 5, + [System.Runtime.Serialization.EnumMember(Value = @"PHONE_NUMBER")] + PHONE_NUMBER = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"BANK_ACCOUNT_NUMBER_AND_BANK_IDENTIFICATION_CODE")] + BANK_ACCOUNT_NUMBER_AND_BANK_IDENTIFICATION_CODE = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"WALLET_ID")] + WALLET_ID = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"SOCIAL_NETWORK_ID")] + SOCIAL_NETWORK_ID = 8, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Funding_tranlogTransactionState + public enum Account_funding_requestTransaction_type { - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 0, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT_TO_ACCOUNT")] + ACCOUNT_TO_ACCOUNT = 0, - [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] - CLEARED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"PERSON_TO_PERSON")] + PERSON_TO_PERSON = 1, - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] - COMPLETION = 2, + [System.Runtime.Serialization.EnumMember(Value = @"WALLET_TRANSFER")] + WALLET_TRANSFER = 2, - [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] - DECLINED = 3, + [System.Runtime.Serialization.EnumMember(Value = @"MONEY_TRANSFER_BY_BANK")] + MONEY_TRANSFER_BY_BANK = 3, - [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] - ERROR = 4, + [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_TO_BUSINESS")] + BUSINESS_TO_BUSINESS = 4, - [System.Runtime.Serialization.EnumMember(Value = @"ALL")] - ALL = 5, + [System.Runtime.Serialization.EnumMember(Value = @"DISBURSEMENT")] + DISBURSEMENT = 5, - } + [System.Runtime.Serialization.EnumMember(Value = @"GOVERNMENT_DISBURSEMENT")] + GOVERNMENT_DISBURSEMENT = 6, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Internal_authorization_transactionTransactionState - { + [System.Runtime.Serialization.EnumMember(Value = @"GAMBLING_PAYOUT")] + GAMBLING_PAYOUT = 7, - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 0, + [System.Runtime.Serialization.EnumMember(Value = @"LOYALTY")] + LOYALTY = 8, - [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] - CLEARED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"MERCHANT_DISBURSEMENT")] + MERCHANT_DISBURSEMENT = 9, - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] - COMPLETION = 2, + [System.Runtime.Serialization.EnumMember(Value = @"ONLINE_GAMBLING_PAYOUT")] + ONLINE_GAMBLING_PAYOUT = 10, - [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] - DECLINED = 3, + [System.Runtime.Serialization.EnumMember(Value = @"PENSION_DISBURSEMENT")] + PENSION_DISBURSEMENT = 11, - [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] - ERROR = 4, + [System.Runtime.Serialization.EnumMember(Value = @"PREPAID_LOADS")] + PREPAID_LOADS = 12, - [System.Runtime.Serialization.EnumMember(Value = @"ALL")] - ALL = 5, + [System.Runtime.Serialization.EnumMember(Value = @"CARD_BILL_PAYMENT")] + CARD_BILL_PAYMENT = 13, - } + [System.Runtime.Serialization.EnumMember(Value = @"BILL_PAYMENT")] + BILL_PAYMENT = 14, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Internal_cardState - { + [System.Runtime.Serialization.EnumMember(Value = @"CASH_CLAIM")] + CASH_CLAIM = 15, - [System.Runtime.Serialization.EnumMember(Value = @"ACTIVE")] - ACTIVE = 0, + [System.Runtime.Serialization.EnumMember(Value = @"CASH_IN")] + CASH_IN = 16, - [System.Runtime.Serialization.EnumMember(Value = @"SUSPENDED")] - SUSPENDED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"CASH_OUT")] + CASH_OUT = 17, - [System.Runtime.Serialization.EnumMember(Value = @"TERMINATED")] - TERMINATED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_AIR_TIME_PAYMENT")] + MOBILE_AIR_TIME_PAYMENT = 18, - [System.Runtime.Serialization.EnumMember(Value = @"UNSUPPORTED")] - UNSUPPORTED = 3, + [System.Runtime.Serialization.EnumMember(Value = @"MONEY_TRANSFER_BY_MERCHANT")] + MONEY_TRANSFER_BY_MERCHANT = 19, - [System.Runtime.Serialization.EnumMember(Value = @"UNACTIVATED")] - UNACTIVATED = 4, + [System.Runtime.Serialization.EnumMember(Value = @"FACE_TO_FACE_MERCHANT_PAYMENT")] + FACE_TO_FACE_MERCHANT_PAYMENT = 20, - [System.Runtime.Serialization.EnumMember(Value = @"LIMITED")] - LIMITED = 5, + [System.Runtime.Serialization.EnumMember(Value = @"GOVERNMENT_PAYMENT")] + GOVERNMENT_PAYMENT = 21, - } + [System.Runtime.Serialization.EnumMember(Value = @"PAYMENTS_GOODS_SERVICES")] + PAYMENTS_GOODS_SERVICES = 22, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Internal_transaction_messageCredit_debit_indicator - { + [System.Runtime.Serialization.EnumMember(Value = @"FUNDS_TRANSFER")] + FUNDS_TRANSFER = 23, - [System.Runtime.Serialization.EnumMember(Value = @"CREDIT")] - CREDIT = 0, + [System.Runtime.Serialization.EnumMember(Value = @"GENERAL_BUSINESS_TO_BUSINESS_TRANSFER")] + GENERAL_BUSINESS_TO_BUSINESS_TRANSFER = 24, - [System.Runtime.Serialization.EnumMember(Value = @"DEBIT")] - DEBIT = 1, + [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_TO_BUSINESS_TRANSFER")] + BUSINESS_TO_BUSINESS_TRANSFER = 25, - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 2, + [System.Runtime.Serialization.EnumMember(Value = @"CASH_DEPOSIT")] + CASH_DEPOSIT = 26, + + [System.Runtime.Serialization.EnumMember(Value = @"PURCHASE_REPAYMENT")] + PURCHASE_REPAYMENT = 27, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Fraud_stream_requestType + public enum Adv_auth_request_modelMti { - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.pending")] - Gpa_credit_pending = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.pending.reversal")] - Gpa_credit_pending_reversal = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.reversal")] - Gpa_credit_reversal = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit")] - Gpa_credit = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.ach")] - Gpa_credit_ach = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.otc")] - Gpa_credit_otc = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.debitcard")] - Gpa_credit_debitcard = 6, + [System.Runtime.Serialization.EnumMember(Value = @"0100")] + _0100 = 0, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit")] - Gpa_debit = 7, + [System.Runtime.Serialization.EnumMember(Value = @"0120")] + _0120 = 1, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.pending")] - Gpa_debit_pending = 8, + [System.Runtime.Serialization.EnumMember(Value = @"0190")] + _0190 = 2, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.pending.reversal")] - Gpa_debit_pending_reversal = 9, + [System.Runtime.Serialization.EnumMember(Value = @"0200")] + _0200 = 3, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.reversal")] - Gpa_debit_reversal = 10, + [System.Runtime.Serialization.EnumMember(Value = @"0220")] + _0220 = 4, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.grant")] - Gpa_grant = 11, + [System.Runtime.Serialization.EnumMember(Value = @"0400")] + _0400 = 5, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.networkload")] - Gpa_credit_networkload = 12, + [System.Runtime.Serialization.EnumMember(Value = @"0420")] + _0420 = 6, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.networkload.clearing")] - Gpa_credit_networkload_clearing = 13, + [System.Runtime.Serialization.EnumMember(Value = @"0620")] + _0620 = 7, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.networkload.reversal")] - Gpa_credit_networkload_reversal = 14, + [System.Runtime.Serialization.EnumMember(Value = @"0110")] + _0110 = 8, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.networkload")] - Gpa_debit_networkload = 15, + [System.Runtime.Serialization.EnumMember(Value = @"0130")] + _0130 = 9, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.networkload.clearing")] - Gpa_debit_networkload_clearing = 16, + [System.Runtime.Serialization.EnumMember(Value = @"0210")] + _0210 = 10, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.networkload.reversal")] - Gpa_debit_networkload_reversal = 17, + [System.Runtime.Serialization.EnumMember(Value = @"0410")] + _0410 = 11, - [System.Runtime.Serialization.EnumMember(Value = @"original.credit.authorization")] - Original_credit_authorization = 18, + [System.Runtime.Serialization.EnumMember(Value = @"0430")] + _0430 = 12, - [System.Runtime.Serialization.EnumMember(Value = @"original.credit.authorization.clearing")] - Original_credit_authorization_clearing = 19, + [System.Runtime.Serialization.EnumMember(Value = @"0230")] + _0230 = 13, - [System.Runtime.Serialization.EnumMember(Value = @"original.credit.authorization.reversal")] - Original_credit_authorization_reversal = 20, + } - [System.Runtime.Serialization.EnumMember(Value = @"original.credit.auth_plus_capture")] - Original_credit_auth_plus_capture = 21, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Adv_auth_request_modelNetwork + { - [System.Runtime.Serialization.EnumMember(Value = @"original.credit.auth_plus_capture.reversal")] - Original_credit_auth_plus_capture_reversal = 22, + [System.Runtime.Serialization.EnumMember(Value = @"MASTERCARD")] + MASTERCARD = 0, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.issueroperator")] - Gpa_credit_issueroperator = 23, + [System.Runtime.Serialization.EnumMember(Value = @"DISCOVER")] + DISCOVER = 1, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.issueroperator")] - Gpa_debit_issueroperator = 24, + [System.Runtime.Serialization.EnumMember(Value = @"PULSE")] + PULSE = 2, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.authorization")] - Gpa_debit_authorization = 25, + [System.Runtime.Serialization.EnumMember(Value = @"VISA")] + VISA = 3, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization")] - Gpa_credit_authorization = 26, + } - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization.reversal")] - Gpa_credit_authorization_reversal = 27, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Adv_auth_request_modelSub_network + { - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.chargeback")] - Gpa_credit_chargeback = 28, + [System.Runtime.Serialization.EnumMember(Value = @"VISANET")] + VISANET = 0, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.chargeback.reversal")] - Gpa_credit_chargeback_reversal = 29, + [System.Runtime.Serialization.EnumMember(Value = @"VISANETDEBIT")] + VISANETDEBIT = 1, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.billpayment")] - Gpa_credit_billpayment = 30, + [System.Runtime.Serialization.EnumMember(Value = @"VISAINTERLINK")] + VISAINTERLINK = 2, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization.billpayment")] - Gpa_credit_authorization_billpayment = 31, + [System.Runtime.Serialization.EnumMember(Value = @"VISAPLUS")] + VISAPLUS = 3, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization.billpayment.reversal")] - Gpa_credit_authorization_billpayment_reversal = 32, + [System.Runtime.Serialization.EnumMember(Value = @"MAESTRO")] + MAESTRO = 4, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.pending")] - Msa_credit_pending = 33, + [System.Runtime.Serialization.EnumMember(Value = @"CIRRUS")] + CIRRUS = 5, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.pending.reversal")] - Msa_credit_pending_reversal = 34, + [System.Runtime.Serialization.EnumMember(Value = @"MASTERCARDDEBIT")] + MASTERCARDDEBIT = 6, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.reversal")] - Msa_credit_reversal = 35, + } - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit")] - Msa_credit = 36, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Adv_auth_request_modelPos_pan_entry_mode + { - [System.Runtime.Serialization.EnumMember(Value = @"msa.debit.reversal")] - Msa_debit_reversal = 37, + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] + MANUAL = 0, - [System.Runtime.Serialization.EnumMember(Value = @"msa.debit.pending.reversal")] - Msa_debit_pending_reversal = 38, + [System.Runtime.Serialization.EnumMember(Value = @"MAG_STRIPE")] + MAG_STRIPE = 1, - [System.Runtime.Serialization.EnumMember(Value = @"msa.debit")] - Msa_debit = 39, + [System.Runtime.Serialization.EnumMember(Value = @"MAG_STRIPE_CONTACTLESS")] + MAG_STRIPE_CONTACTLESS = 2, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.authorization")] - Msa_credit_authorization = 40, + [System.Runtime.Serialization.EnumMember(Value = @"CHIP")] + CHIP = 3, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.authorization.reversal")] - Msa_credit_authorization_reversal = 41, + [System.Runtime.Serialization.EnumMember(Value = @"CHIP_CONTACTLESS")] + CHIP_CONTACTLESS = 4, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.chargeback")] - Msa_credit_chargeback = 42, + [System.Runtime.Serialization.EnumMember(Value = @"BAR_CODE")] + BAR_CODE = 5, - [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.chargeback.reversal")] - Msa_credit_chargeback_reversal = 43, + [System.Runtime.Serialization.EnumMember(Value = @"OCR")] + OCR = 6, - [System.Runtime.Serialization.EnumMember(Value = @"authorization")] - Authorization = 44, + [System.Runtime.Serialization.EnumMember(Value = @"MICR")] + MICR = 7, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.incremental")] - Authorization_incremental = 45, + [System.Runtime.Serialization.EnumMember(Value = @"CARD_ON_FILE")] + CARD_ON_FILE = 8, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.advice")] - Authorization_advice = 46, + [System.Runtime.Serialization.EnumMember(Value = @"CHIP_FALLBACK")] + CHIP_FALLBACK = 9, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.reversal")] - Authorization_reversal = 47, + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] + OTHER = 10, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.cashback")] - Authorization_cashback = 48, + } - [System.Runtime.Serialization.EnumMember(Value = @"authorization.quasi.cash")] - Authorization_quasi_cash = 49, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Adv_auth_request_modelCavv_result_code + { - [System.Runtime.Serialization.EnumMember(Value = @"authorization.atm.withdrawal")] - Authorization_atm_withdrawal = 50, + [System.Runtime.Serialization.EnumMember(Value = @"0")] + _0 = 0, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing")] - Authorization_clearing = 51, + [System.Runtime.Serialization.EnumMember(Value = @"1")] + _1 = 1, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.l2l3")] - Authorization_clearing_l2l3 = 52, + [System.Runtime.Serialization.EnumMember(Value = @"2")] + _2 = 2, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.network.fee")] - Authorization_clearing_network_fee = 53, + [System.Runtime.Serialization.EnumMember(Value = @"3")] + _3 = 3, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.representment")] - Authorization_clearing_representment = 54, + [System.Runtime.Serialization.EnumMember(Value = @"4")] + _4 = 4, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.reversal.issuerexpiration")] - Authorization_reversal_issuerexpiration = 55, + [System.Runtime.Serialization.EnumMember(Value = @"5")] + _5 = 5, - [System.Runtime.Serialization.EnumMember(Value = @"dispute.credit")] - Dispute_credit = 56, + [System.Runtime.Serialization.EnumMember(Value = @"6")] + _6 = 6, - [System.Runtime.Serialization.EnumMember(Value = @"dispute.debit")] - Dispute_debit = 57, + [System.Runtime.Serialization.EnumMember(Value = @"7")] + _7 = 7, - [System.Runtime.Serialization.EnumMember(Value = @"chargeback.pfs.debit")] - Chargeback_pfs_debit = 58, + [System.Runtime.Serialization.EnumMember(Value = @"8")] + _8 = 8, - [System.Runtime.Serialization.EnumMember(Value = @"chargeback.pfs.pending.debit")] - Chargeback_pfs_pending_debit = 59, + [System.Runtime.Serialization.EnumMember(Value = @"9")] + _9 = 9, - [System.Runtime.Serialization.EnumMember(Value = @"chargeback.pfs.credit")] - Chargeback_pfs_credit = 60, + [System.Runtime.Serialization.EnumMember(Value = @"A")] + A = 10, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback")] - Authorization_clearing_chargeback = 61, + [System.Runtime.Serialization.EnumMember(Value = @"B")] + B = 11, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.reversal")] - Authorization_clearing_chargeback_reversal = 62, + [System.Runtime.Serialization.EnumMember(Value = @"C")] + C = 12, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.completed")] - Authorization_clearing_chargeback_completed = 63, + [System.Runtime.Serialization.EnumMember(Value = @"D")] + D = 13, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.provisional.credit")] - Authorization_clearing_chargeback_provisional_credit = 64, + } - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.provisional.debit")] - Authorization_clearing_chargeback_provisional_debit = 65, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Adv_auth_request_modelIsa_indicator + { - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.writeoff")] - Authorization_clearing_chargeback_writeoff = 66, + [System.Runtime.Serialization.EnumMember(Value = @"S")] + S = 0, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.cashback")] - Authorization_clearing_cashback = 67, + [System.Runtime.Serialization.EnumMember(Value = @"C")] + C = 1, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.quasi.cash")] - Authorization_clearing_quasi_cash = 68, + [System.Runtime.Serialization.EnumMember(Value = @"R")] + R = 2, - [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.atm.withdrawal")] - Authorization_clearing_atm_withdrawal = 69, + [System.Runtime.Serialization.EnumMember(Value = @"M")] + M = 3, - [System.Runtime.Serialization.EnumMember(Value = @"account.funding.authorization")] - Account_funding_authorization = 70, + [System.Runtime.Serialization.EnumMember(Value = @"P")] + P = 4, - [System.Runtime.Serialization.EnumMember(Value = @"account.funding.authorization.clearing")] - Account_funding_authorization_clearing = 71, + [System.Runtime.Serialization.EnumMember(Value = @"BLANK_SPACE")] + BLANK_SPACE = 5, - [System.Runtime.Serialization.EnumMember(Value = @"account.funding.auth_plus_capture")] - Account_funding_auth_plus_capture = 72, + } - [System.Runtime.Serialization.EnumMember(Value = @"account.funding.authorization.reversal")] - Account_funding_authorization_reversal = 73, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Digital_wallet_token_deviceDevice_type + { - [System.Runtime.Serialization.EnumMember(Value = @"account.funding.auth_plus_capture.reversal")] - Account_funding_auth_plus_capture_reversal = 74, + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 0, - [System.Runtime.Serialization.EnumMember(Value = @"address.verification")] - Address_verification = 75, + [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_PHONE")] + MOBILE_PHONE = 1, - [System.Runtime.Serialization.EnumMember(Value = @"balanceinquiry")] - Balanceinquiry = 76, + [System.Runtime.Serialization.EnumMember(Value = @"WATCH")] + WATCH = 2, - [System.Runtime.Serialization.EnumMember(Value = @"refund")] - Refund = 77, + [System.Runtime.Serialization.EnumMember(Value = @"TABLET")] + TABLET = 3, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.credit.adjustment")] - Pindebit_credit_adjustment = 78, + [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_PHONE_OR_TABLET")] + MOBILE_PHONE_OR_TABLET = 4, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.debit.adjustment")] - Pindebit_debit_adjustment = 79, + [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_COMPUTER")] + PERSONAL_COMPUTER = 5, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.atm.withdrawal")] - Pindebit_atm_withdrawal = 80, + } - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.quasi.cash")] - Pindebit_quasi_cash = 81, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Digital_wallet_token_wallet_providerWallet_provider_risk_assessment + { - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.balanceinquiry")] - Pindebit_balanceinquiry = 82, + [System.Runtime.Serialization.EnumMember(Value = @"DECISION_GREEN")] + DECISION_GREEN = 0, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.cashback")] - Pindebit_cashback = 83, + [System.Runtime.Serialization.EnumMember(Value = @"DECISION_YELLOW")] + DECISION_YELLOW = 1, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.checkavs")] - Pindebit_checkavs = 84, + [System.Runtime.Serialization.EnumMember(Value = @"DECISION_RED")] + DECISION_RED = 2, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.financial.deposit")] - Pindebit_financial_deposit = 85, + } - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.refund")] - Pindebit_refund = 86, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Digital_wallet_token_wallet_providerWallet_provider_pan_source + { - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.reversal")] - Pindebit_reversal = 87, + [System.Runtime.Serialization.EnumMember(Value = @"ON_FILE")] + ON_FILE = 0, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.refund.reversal")] - Pindebit_refund_reversal = 88, + [System.Runtime.Serialization.EnumMember(Value = @"KEY_ENTERED")] + KEY_ENTERED = 1, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.transfer")] - Pindebit_transfer = 89, + [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_BANKING_APP")] + MOBILE_BANKING_APP = 2, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit")] - Pindebit = 90, + } - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.representment")] - Pindebit_representment = 91, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Iso8583_digital_wallet_tokenToken_type + { - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization")] - Pindebit_authorization = 92, + [System.Runtime.Serialization.EnumMember(Value = @"DEVICE_SECURE_ELEMENT")] + DEVICE_SECURE_ELEMENT = 0, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization.clearing")] - Pindebit_authorization_clearing = 93, + [System.Runtime.Serialization.EnumMember(Value = @"DEVICE_CLOUD_BASED")] + DEVICE_CLOUD_BASED = 1, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization.reversal")] - Pindebit_authorization_reversal = 94, + [System.Runtime.Serialization.EnumMember(Value = @"MERCHANT_CARD_ON_FILE")] + MERCHANT_CARD_ON_FILE = 2, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization.reversal.issuerexpiration")] - Pindebit_authorization_reversal_issuerexpiration = 95, + [System.Runtime.Serialization.EnumMember(Value = @"ECOMMERCE_DIGITAL_WALLET")] + ECOMMERCE_DIGITAL_WALLET = 3, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback")] - Pindebit_chargeback = 96, + [System.Runtime.Serialization.EnumMember(Value = @"PSEUDO_ACCOUNT")] + PSEUDO_ACCOUNT = 4, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.reversal")] - Pindebit_chargeback_reversal = 97, + } - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.completed")] - Pindebit_chargeback_completed = 98, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Iso8583_digital_wallet_tokenToken_status + { - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.provisional.credit")] - Pindebit_chargeback_provisional_credit = 99, + [System.Runtime.Serialization.EnumMember(Value = @"REQUESTED")] + REQUESTED = 0, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.provisional.debit")] - Pindebit_chargeback_provisional_debit = 100, + [System.Runtime.Serialization.EnumMember(Value = @"ACTIVE")] + ACTIVE = 1, - [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.writeoff")] - Pindebit_chargeback_writeoff = 101, + [System.Runtime.Serialization.EnumMember(Value = @"SUSPENDED")] + SUSPENDED = 2, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit")] - Directdeposit_credit = 102, + [System.Runtime.Serialization.EnumMember(Value = @"TERMINATED")] + TERMINATED = 3, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit")] - Directdeposit_debit = 103, + } - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.ach")] - Gpa_debit_ach = 104, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Iso8583_digital_wallet_tokenNetwork_decisioning + { + + [System.Runtime.Serialization.EnumMember(Value = @"DECISION_GREEN")] + DECISION_GREEN = 0, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.pending")] - Directdeposit_credit_pending = 105, + [System.Runtime.Serialization.EnumMember(Value = @"DECISION_YELLOW")] + DECISION_YELLOW = 1, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.pending")] - Directdeposit_debit_pending = 106, + [System.Runtime.Serialization.EnumMember(Value = @"DECISION_RED")] + DECISION_RED = 2, - [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.ach.pending")] - Gpa_credit_ach_pending = 107, + } - [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.ach.pending")] - Gpa_debit_ach_pending = 108, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Original_data_elementsMti + { - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.reject")] - Directdeposit_credit_reject = 109, + [System.Runtime.Serialization.EnumMember(Value = @"0100")] + _0100 = 0, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.reject")] - Directdeposit_debit_reject = 110, + [System.Runtime.Serialization.EnumMember(Value = @"0120")] + _0120 = 1, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.pending.reversal")] - Directdeposit_credit_pending_reversal = 111, + [System.Runtime.Serialization.EnumMember(Value = @"0200")] + _0200 = 2, - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.pending.reversal")] - Directdeposit_debit_pending_reversal = 112, + } - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.reversal")] - Directdeposit_credit_reversal = 113, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum InternalGPAOrderOrderState + { - [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.reversal")] - Directdeposit_debit_reversal = 114, + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 0, - [System.Runtime.Serialization.EnumMember(Value = @"fee.charge.pending")] - Fee_charge_pending = 115, + [System.Runtime.Serialization.EnumMember(Value = @"REVERSED")] + REVERSED = 1, - [System.Runtime.Serialization.EnumMember(Value = @"fee.charge")] - Fee_charge = 116, + [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] + CLEARED = 2, - [System.Runtime.Serialization.EnumMember(Value = @"fee.charge.refund")] - Fee_charge_refund = 117, + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] + COMPLETION = 3, - [System.Runtime.Serialization.EnumMember(Value = @"fee.charge.reversal")] - Fee_charge_reversal = 118, + [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] + DECLINED = 4, - [System.Runtime.Serialization.EnumMember(Value = @"funds.expire")] - Funds_expire = 119, + [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] + ERROR = 5, - [System.Runtime.Serialization.EnumMember(Value = @"programreserve.credit")] - Programreserve_credit = 120, + } - [System.Runtime.Serialization.EnumMember(Value = @"programreserve.debit")] - Programreserve_debit = 121, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Funding_tranlogTransactionState + { - [System.Runtime.Serialization.EnumMember(Value = @"reward.earn")] - Reward_earn = 122, + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 0, - [System.Runtime.Serialization.EnumMember(Value = @"transfer.peer")] - Transfer_peer = 123, + [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] + CLEARED = 1, - [System.Runtime.Serialization.EnumMember(Value = @"transfer.fee")] - Transfer_fee = 124, + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] + COMPLETION = 2, - [System.Runtime.Serialization.EnumMember(Value = @"account.credit")] - Account_credit = 125, + [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] + DECLINED = 3, - [System.Runtime.Serialization.EnumMember(Value = @"account.debit")] - Account_debit = 126, + [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] + ERROR = 4, - [System.Runtime.Serialization.EnumMember(Value = @"transfer.program")] - Transfer_program = 127, + [System.Runtime.Serialization.EnumMember(Value = @"ALL")] + ALL = 5, - [System.Runtime.Serialization.EnumMember(Value = @"token.activationrequest")] - Token_activationrequest = 128, + } - [System.Runtime.Serialization.EnumMember(Value = @"token.advice")] - Token_advice = 129, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Internal_authorization_transactionTransactionState + { - [System.Runtime.Serialization.EnumMember(Value = @"pushtocard.debit")] - Pushtocard_debit = 130, + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 0, - [System.Runtime.Serialization.EnumMember(Value = @"pushtocard.pending")] - Pushtocard_pending = 131, + [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] + CLEARED = 1, - [System.Runtime.Serialization.EnumMember(Value = @"pushtocard.reversal")] - Pushtocard_reversal = 132, + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] + COMPLETION = 2, - [System.Runtime.Serialization.EnumMember(Value = @"billpayment")] - Billpayment = 133, + [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] + DECLINED = 3, - [System.Runtime.Serialization.EnumMember(Value = @"billpayment.clearing")] - Billpayment_clearing = 134, + [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] + ERROR = 4, - [System.Runtime.Serialization.EnumMember(Value = @"billpayment.reversal")] - Billpayment_reversal = 135, + [System.Runtime.Serialization.EnumMember(Value = @"ALL")] + ALL = 5, - [System.Runtime.Serialization.EnumMember(Value = @"refund.authorization")] - Refund_authorization = 136, + } - [System.Runtime.Serialization.EnumMember(Value = @"refund.authorization.clearing")] - Refund_authorization_clearing = 137, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Internal_cardState + { - [System.Runtime.Serialization.EnumMember(Value = @"refund.authorization.reversal")] - Refund_authorization_reversal = 138, + [System.Runtime.Serialization.EnumMember(Value = @"ACTIVE")] + ACTIVE = 0, - [System.Runtime.Serialization.EnumMember(Value = @"ach.early.funds")] - Ach_early_funds = 139, + [System.Runtime.Serialization.EnumMember(Value = @"SUSPENDED")] + SUSPENDED = 1, - [System.Runtime.Serialization.EnumMember(Value = @"ach.early.funds.reversed")] - Ach_early_funds_reversed = 140, + [System.Runtime.Serialization.EnumMember(Value = @"TERMINATED")] + TERMINATED = 2, - [System.Runtime.Serialization.EnumMember(Value = @"ach.push.pending")] - Ach_push_pending = 141, + [System.Runtime.Serialization.EnumMember(Value = @"UNSUPPORTED")] + UNSUPPORTED = 3, - [System.Runtime.Serialization.EnumMember(Value = @"ach.pull.pending")] - Ach_pull_pending = 142, + [System.Runtime.Serialization.EnumMember(Value = @"UNACTIVATED")] + UNACTIVATED = 4, - [System.Runtime.Serialization.EnumMember(Value = @"ach.push")] - Ach_push = 143, + [System.Runtime.Serialization.EnumMember(Value = @"LIMITED")] + LIMITED = 5, - [System.Runtime.Serialization.EnumMember(Value = @"ach.pull")] - Ach_pull = 144, + } - [System.Runtime.Serialization.EnumMember(Value = @"ach.cancel")] - Ach_cancel = 145, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Internal_transaction_messageCredit_debit_indicator + { - [System.Runtime.Serialization.EnumMember(Value = @"ach.returned")] - Ach_returned = 146, + [System.Runtime.Serialization.EnumMember(Value = @"CREDIT")] + CREDIT = 0, - [System.Runtime.Serialization.EnumMember(Value = @"ach.pull.returned")] - Ach_pull_returned = 147, + [System.Runtime.Serialization.EnumMember(Value = @"DEBIT")] + DEBIT = 1, - [System.Runtime.Serialization.EnumMember(Value = @"ach.push.returned")] - Ach_push_returned = 148, + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 2, - [System.Runtime.Serialization.EnumMember(Value = @"ach.provisional.credit")] - Ach_provisional_credit = 149, + } - [System.Runtime.Serialization.EnumMember(Value = @"ach.provisional.credit.reversed")] - Ach_provisional_credit_reversed = 150, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Fraud_stream_requestType + { - [System.Runtime.Serialization.EnumMember(Value = @"ach.push.reversal.completed")] - Ach_push_reversal_completed = 151, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.pending")] + Gpa_credit_pending = 0, - [System.Runtime.Serialization.EnumMember(Value = @"ach.push.reversal.declined")] - Ach_push_reversal_declined = 152, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.pending.reversal")] + Gpa_credit_pending_reversal = 1, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.push.pending")] - Ach_jit_push_pending = 153, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.reversal")] + Gpa_credit_reversal = 2, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.pull.pending")] - Ach_jit_pull_pending = 154, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit")] + Gpa_credit = 3, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.push")] - Ach_jit_push = 155, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.ach")] + Gpa_credit_ach = 4, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.pull")] - Ach_jit_pull = 156, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.otc")] + Gpa_credit_otc = 5, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.cancel")] - Ach_jit_cancel = 157, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.debitcard")] + Gpa_credit_debitcard = 6, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.pull.returned")] - Ach_jit_pull_returned = 158, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit")] + Gpa_debit = 7, - [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.push.returned")] - Ach_jit_push_returned = 159, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.pending")] + Gpa_debit_pending = 8, - [System.Runtime.Serialization.EnumMember(Value = @"check.return.debit")] - Check_return_debit = 160, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.pending.reversal")] + Gpa_debit_pending_reversal = 9, - [System.Runtime.Serialization.EnumMember(Value = @"check.return.debit.reversal")] - Check_return_debit_reversal = 161, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.reversal")] + Gpa_debit_reversal = 10, - [System.Runtime.Serialization.EnumMember(Value = @"check.clearing.debit")] - Check_clearing_debit = 162, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.grant")] + Gpa_grant = 11, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull")] - Pullfromcard_pull = 163, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.networkload")] + Gpa_credit_networkload = 12, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.push.visa")] - Pullfromcard_push_visa = 164, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.networkload.clearing")] + Gpa_credit_networkload_clearing = 13, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.push.mc")] - Pullfromcard_push_mc = 165, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.networkload.reversal")] + Gpa_credit_networkload_reversal = 14, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull.reversal")] - Pullfromcard_pull_reversal = 166, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.networkload")] + Gpa_debit_networkload = 15, - [System.Runtime.Serialization.EnumMember(Value = @"accountfunding.pull")] - Accountfunding_pull = 167, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.networkload.clearing")] + Gpa_debit_networkload_clearing = 16, - [System.Runtime.Serialization.EnumMember(Value = @"accountfunding.pull.chargeback")] - Accountfunding_pull_chargeback = 168, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.networkload.reversal")] + Gpa_debit_networkload_reversal = 17, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.push.chargeback")] - Pullfromcard_push_chargeback = 169, + [System.Runtime.Serialization.EnumMember(Value = @"original.credit.authorization")] + Original_credit_authorization = 18, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull.mc.chargeback")] - Pullfromcard_pull_mc_chargeback = 170, + [System.Runtime.Serialization.EnumMember(Value = @"original.credit.authorization.clearing")] + Original_credit_authorization_clearing = 19, - [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull.visa.chargeback")] - Pullfromcard_pull_visa_chargeback = 171, + [System.Runtime.Serialization.EnumMember(Value = @"original.credit.authorization.reversal")] + Original_credit_authorization_reversal = 20, - [System.Runtime.Serialization.EnumMember(Value = @"escheatment.debit")] - Escheatment_debit = 172, + [System.Runtime.Serialization.EnumMember(Value = @"original.credit.auth_plus_capture")] + Original_credit_auth_plus_capture = 21, - [System.Runtime.Serialization.EnumMember(Value = @"escheatment.debit.reversal")] - Escheatment_debit_reversal = 173, + [System.Runtime.Serialization.EnumMember(Value = @"original.credit.auth_plus_capture.reversal")] + Original_credit_auth_plus_capture_reversal = 22, - [System.Runtime.Serialization.EnumMember(Value = @"escheatment.debit.clearing")] - Escheatment_debit_clearing = 174, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.issueroperator")] + Gpa_credit_issueroperator = 23, - [System.Runtime.Serialization.EnumMember(Value = @"zero.clearing")] - Zero_clearing = 175, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.issueroperator")] + Gpa_debit_issueroperator = 24, - [System.Runtime.Serialization.EnumMember(Value = @"credit.adjustment")] - Credit_adjustment = 176, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.authorization")] + Gpa_debit_authorization = 25, - [System.Runtime.Serialization.EnumMember(Value = @"debit.adjustment")] - Debit_adjustment = 177, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization")] + Gpa_credit_authorization = 26, - [System.Runtime.Serialization.EnumMember(Value = @"account.transfer")] - Account_transfer = 178, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization.reversal")] + Gpa_credit_authorization_reversal = 27, - [System.Runtime.Serialization.EnumMember(Value = @"account.transfer.reversal")] - Account_transfer_reversal = 179, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.chargeback")] + Gpa_credit_chargeback = 28, - [System.Runtime.Serialization.EnumMember(Value = @"deposit.network.sweep")] - Deposit_network_sweep = 180, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.chargeback.reversal")] + Gpa_credit_chargeback_reversal = 29, - [System.Runtime.Serialization.EnumMember(Value = @"interest.posting")] - Interest_posting = 181, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.billpayment")] + Gpa_credit_billpayment = 30, - [System.Runtime.Serialization.EnumMember(Value = @"unknown")] - Unknown = 182, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization.billpayment")] + Gpa_credit_authorization_billpayment = 31, - } + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.authorization.billpayment.reversal")] + Gpa_credit_authorization_billpayment_reversal = 32, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Fraud_stream_requestState - { + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.pending")] + Msa_credit_pending = 33, - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 0, + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.pending.reversal")] + Msa_credit_pending_reversal = 34, - [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] - CLEARED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.reversal")] + Msa_credit_reversal = 35, - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] - COMPLETION = 2, + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit")] + Msa_credit = 36, - [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] - DECLINED = 3, + [System.Runtime.Serialization.EnumMember(Value = @"msa.debit.reversal")] + Msa_debit_reversal = 37, - [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] - ERROR = 4, + [System.Runtime.Serialization.EnumMember(Value = @"msa.debit.pending.reversal")] + Msa_debit_pending_reversal = 38, - [System.Runtime.Serialization.EnumMember(Value = @"ALL")] - ALL = 5, + [System.Runtime.Serialization.EnumMember(Value = @"msa.debit")] + Msa_debit = 39, - } + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.authorization")] + Msa_credit_authorization = 40, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum AdvancedAuthPOIMoto_indicator - { + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.authorization.reversal")] + Msa_credit_authorization_reversal = 41, - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 0, + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.chargeback")] + Msa_credit_chargeback = 42, - [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] - MANUAL = 1, + [System.Runtime.Serialization.EnumMember(Value = @"msa.credit.chargeback.reversal")] + Msa_credit_chargeback_reversal = 43, - [System.Runtime.Serialization.EnumMember(Value = @"RECURRING")] - RECURRING = 2, + [System.Runtime.Serialization.EnumMember(Value = @"authorization")] + Authorization = 44, - [System.Runtime.Serialization.EnumMember(Value = @"INSTALLMENT")] - INSTALLMENT = 3, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.incremental")] + Authorization_incremental = 45, - [System.Runtime.Serialization.EnumMember(Value = @"OTHERS")] - OTHERS = 4, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.advice")] + Authorization_advice = 46, - [System.Runtime.Serialization.EnumMember(Value = @"EMPTY")] - EMPTY = 5, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.reversal")] + Authorization_reversal = 47, - [System.Runtime.Serialization.EnumMember(Value = @"AUTH_SUCCESS")] - AUTH_SUCCESS = 6, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.cashback")] + Authorization_cashback = 48, - [System.Runtime.Serialization.EnumMember(Value = @"NON_AUTH_3D_SECURE")] - NON_AUTH_3D_SECURE = 7, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.quasi.cash")] + Authorization_quasi_cash = 49, - [System.Runtime.Serialization.EnumMember(Value = @"NON_AUTH_SECURE_SUBMISSION")] - NON_AUTH_SECURE_SUBMISSION = 8, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.atm.withdrawal")] + Authorization_atm_withdrawal = 50, - } + [System.Runtime.Serialization.EnumMember(Value = @"authorization.pin.change")] + Authorization_pin_change = 51, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Account_funding_receiver_dataFunding_source - { + [System.Runtime.Serialization.EnumMember(Value = @"authorization.pin.unblock")] + Authorization_pin_unblock = 52, - [System.Runtime.Serialization.EnumMember(Value = @"CREDIT")] - CREDIT = 0, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing")] + Authorization_clearing = 53, - [System.Runtime.Serialization.EnumMember(Value = @"DEBIT")] - DEBIT = 1, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.l2l3")] + Authorization_clearing_l2l3 = 54, - [System.Runtime.Serialization.EnumMember(Value = @"PREPAID")] - PREPAID = 2, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.network.fee")] + Authorization_clearing_network_fee = 55, - [System.Runtime.Serialization.EnumMember(Value = @"DEPOSIT_ACCOUNT")] - DEPOSIT_ACCOUNT = 3, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.representment")] + Authorization_clearing_representment = 56, - [System.Runtime.Serialization.EnumMember(Value = @"CASH")] - CASH = 4, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.reversal.issuerexpiration")] + Authorization_reversal_issuerexpiration = 57, - [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_MONEY_ACCOUNT")] - MOBILE_MONEY_ACCOUNT = 5, + [System.Runtime.Serialization.EnumMember(Value = @"dispute.credit")] + Dispute_credit = 58, - [System.Runtime.Serialization.EnumMember(Value = @"NON_VISA_CREDIT")] - NON_VISA_CREDIT = 6, + [System.Runtime.Serialization.EnumMember(Value = @"dispute.debit")] + Dispute_debit = 59, - [System.Runtime.Serialization.EnumMember(Value = @"CHECK")] - CHECK = 7, + [System.Runtime.Serialization.EnumMember(Value = @"chargeback.pfs.debit")] + Chargeback_pfs_debit = 60, - [System.Runtime.Serialization.EnumMember(Value = @"ACH")] - ACH = 8, + [System.Runtime.Serialization.EnumMember(Value = @"chargeback.pfs.pending.debit")] + Chargeback_pfs_pending_debit = 61, - } + [System.Runtime.Serialization.EnumMember(Value = @"chargeback.pfs.credit")] + Chargeback_pfs_credit = 62, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Account_funding_receiver_dataReceiver_account_type - { + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback")] + Authorization_clearing_chargeback = 63, - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 0, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.reversal")] + Authorization_clearing_chargeback_reversal = 64, - [System.Runtime.Serialization.EnumMember(Value = @"RTN_BANK_ACCOUNT")] - RTN_BANK_ACCOUNT = 1, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.completed")] + Authorization_clearing_chargeback_completed = 65, - [System.Runtime.Serialization.EnumMember(Value = @"IBAN")] - IBAN = 2, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.provisional.credit")] + Authorization_clearing_chargeback_provisional_credit = 66, - [System.Runtime.Serialization.EnumMember(Value = @"CARD_ACCOUNT")] - CARD_ACCOUNT = 3, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.provisional.debit")] + Authorization_clearing_chargeback_provisional_debit = 67, - [System.Runtime.Serialization.EnumMember(Value = @"EMAIL")] - EMAIL = 4, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.chargeback.writeoff")] + Authorization_clearing_chargeback_writeoff = 68, - [System.Runtime.Serialization.EnumMember(Value = @"PHONE_NUMBER")] - PHONE_NUMBER = 5, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.cashback")] + Authorization_clearing_cashback = 69, - [System.Runtime.Serialization.EnumMember(Value = @"BANK_ACCOUNT_NUMBER_AND_BANK_IDENTIFICATION_CODE")] - BANK_ACCOUNT_NUMBER_AND_BANK_IDENTIFICATION_CODE = 6, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.quasi.cash")] + Authorization_clearing_quasi_cash = 70, - [System.Runtime.Serialization.EnumMember(Value = @"WALLET_ID")] - WALLET_ID = 7, + [System.Runtime.Serialization.EnumMember(Value = @"authorization.clearing.atm.withdrawal")] + Authorization_clearing_atm_withdrawal = 71, - [System.Runtime.Serialization.EnumMember(Value = @"SOCIAL_NETWORK_ID")] - SOCIAL_NETWORK_ID = 8, + [System.Runtime.Serialization.EnumMember(Value = @"account.funding.authorization")] + Account_funding_authorization = 72, - } + [System.Runtime.Serialization.EnumMember(Value = @"account.funding.authorization.clearing")] + Account_funding_authorization_clearing = 73, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Account_funding_requestTransaction_type - { + [System.Runtime.Serialization.EnumMember(Value = @"account.funding.auth_plus_capture")] + Account_funding_auth_plus_capture = 74, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT_TO_ACCOUNT")] - ACCOUNT_TO_ACCOUNT = 0, + [System.Runtime.Serialization.EnumMember(Value = @"account.funding.authorization.reversal")] + Account_funding_authorization_reversal = 75, - [System.Runtime.Serialization.EnumMember(Value = @"PERSON_TO_PERSON")] - PERSON_TO_PERSON = 1, + [System.Runtime.Serialization.EnumMember(Value = @"account.funding.auth_plus_capture.reversal")] + Account_funding_auth_plus_capture_reversal = 76, - [System.Runtime.Serialization.EnumMember(Value = @"WALLET_TRANSFER")] - WALLET_TRANSFER = 2, + [System.Runtime.Serialization.EnumMember(Value = @"address.verification")] + Address_verification = 77, - [System.Runtime.Serialization.EnumMember(Value = @"MONEY_TRANSFER_BY_BANK")] - MONEY_TRANSFER_BY_BANK = 3, + [System.Runtime.Serialization.EnumMember(Value = @"balanceinquiry")] + Balanceinquiry = 78, - [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_TO_BUSINESS")] - BUSINESS_TO_BUSINESS = 4, + [System.Runtime.Serialization.EnumMember(Value = @"refund")] + Refund = 79, - [System.Runtime.Serialization.EnumMember(Value = @"DISBURSEMENT")] - DISBURSEMENT = 5, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.credit.adjustment")] + Pindebit_credit_adjustment = 80, - [System.Runtime.Serialization.EnumMember(Value = @"GOVERNMENT_DISBURSEMENT")] - GOVERNMENT_DISBURSEMENT = 6, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.debit.adjustment")] + Pindebit_debit_adjustment = 81, - [System.Runtime.Serialization.EnumMember(Value = @"GAMBLING_PAYOUT")] - GAMBLING_PAYOUT = 7, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.atm.withdrawal")] + Pindebit_atm_withdrawal = 82, - [System.Runtime.Serialization.EnumMember(Value = @"LOYALTY")] - LOYALTY = 8, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.quasi.cash")] + Pindebit_quasi_cash = 83, - [System.Runtime.Serialization.EnumMember(Value = @"MERCHANT_DISBURSEMENT")] - MERCHANT_DISBURSEMENT = 9, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.balanceinquiry")] + Pindebit_balanceinquiry = 84, - [System.Runtime.Serialization.EnumMember(Value = @"ONLINE_GAMBLING_PAYOUT")] - ONLINE_GAMBLING_PAYOUT = 10, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.cashback")] + Pindebit_cashback = 85, - [System.Runtime.Serialization.EnumMember(Value = @"PENSION_DISBURSEMENT")] - PENSION_DISBURSEMENT = 11, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.checkavs")] + Pindebit_checkavs = 86, - [System.Runtime.Serialization.EnumMember(Value = @"PREPAID_LOADS")] - PREPAID_LOADS = 12, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.financial.deposit")] + Pindebit_financial_deposit = 87, - [System.Runtime.Serialization.EnumMember(Value = @"CARD_BILL_PAYMENT")] - CARD_BILL_PAYMENT = 13, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.refund")] + Pindebit_refund = 88, - [System.Runtime.Serialization.EnumMember(Value = @"BILL_PAYMENT")] - BILL_PAYMENT = 14, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.reversal")] + Pindebit_reversal = 89, - [System.Runtime.Serialization.EnumMember(Value = @"CASH_CLAIM")] - CASH_CLAIM = 15, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.refund.reversal")] + Pindebit_refund_reversal = 90, - [System.Runtime.Serialization.EnumMember(Value = @"CASH_IN")] - CASH_IN = 16, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.transfer")] + Pindebit_transfer = 91, - [System.Runtime.Serialization.EnumMember(Value = @"CASH_OUT")] - CASH_OUT = 17, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit")] + Pindebit = 92, - [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_AIR_TIME_PAYMENT")] - MOBILE_AIR_TIME_PAYMENT = 18, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.representment")] + Pindebit_representment = 93, - [System.Runtime.Serialization.EnumMember(Value = @"MONEY_TRANSFER_BY_MERCHANT")] - MONEY_TRANSFER_BY_MERCHANT = 19, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization")] + Pindebit_authorization = 94, - [System.Runtime.Serialization.EnumMember(Value = @"FACE_TO_FACE_MERCHANT_PAYMENT")] - FACE_TO_FACE_MERCHANT_PAYMENT = 20, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization.clearing")] + Pindebit_authorization_clearing = 95, - [System.Runtime.Serialization.EnumMember(Value = @"GOVERNMENT_PAYMENT")] - GOVERNMENT_PAYMENT = 21, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization.reversal")] + Pindebit_authorization_reversal = 96, - [System.Runtime.Serialization.EnumMember(Value = @"PAYMENTS_GOODS_SERVICES")] - PAYMENTS_GOODS_SERVICES = 22, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.authorization.reversal.issuerexpiration")] + Pindebit_authorization_reversal_issuerexpiration = 97, - [System.Runtime.Serialization.EnumMember(Value = @"FUNDS_TRANSFER")] - FUNDS_TRANSFER = 23, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback")] + Pindebit_chargeback = 98, - [System.Runtime.Serialization.EnumMember(Value = @"GENERAL_BUSINESS_TO_BUSINESS_TRANSFER")] - GENERAL_BUSINESS_TO_BUSINESS_TRANSFER = 24, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.reversal")] + Pindebit_chargeback_reversal = 99, - [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_TO_BUSINESS_TRANSFER")] - BUSINESS_TO_BUSINESS_TRANSFER = 25, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.completed")] + Pindebit_chargeback_completed = 100, - [System.Runtime.Serialization.EnumMember(Value = @"CASH_DEPOSIT")] - CASH_DEPOSIT = 26, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.provisional.credit")] + Pindebit_chargeback_provisional_credit = 101, - [System.Runtime.Serialization.EnumMember(Value = @"PURCHASE_REPAYMENT")] - PURCHASE_REPAYMENT = 27, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.provisional.debit")] + Pindebit_chargeback_provisional_debit = 102, - } + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.chargeback.writeoff")] + Pindebit_chargeback_writeoff = 103, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Adv_auth_request_modelMti - { + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.pin.change")] + Pindebit_pin_change = 104, - [System.Runtime.Serialization.EnumMember(Value = @"0100")] - _0100 = 0, + [System.Runtime.Serialization.EnumMember(Value = @"pindebit.pin.unblock")] + Pindebit_pin_unblock = 105, - [System.Runtime.Serialization.EnumMember(Value = @"0120")] - _0120 = 1, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit")] + Directdeposit_credit = 106, - [System.Runtime.Serialization.EnumMember(Value = @"0190")] - _0190 = 2, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit")] + Directdeposit_debit = 107, - [System.Runtime.Serialization.EnumMember(Value = @"0200")] - _0200 = 3, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.ach")] + Gpa_debit_ach = 108, - [System.Runtime.Serialization.EnumMember(Value = @"0220")] - _0220 = 4, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.pending")] + Directdeposit_credit_pending = 109, - [System.Runtime.Serialization.EnumMember(Value = @"0400")] - _0400 = 5, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.pending")] + Directdeposit_debit_pending = 110, - [System.Runtime.Serialization.EnumMember(Value = @"0420")] - _0420 = 6, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.credit.ach.pending")] + Gpa_credit_ach_pending = 111, - [System.Runtime.Serialization.EnumMember(Value = @"0620")] - _0620 = 7, + [System.Runtime.Serialization.EnumMember(Value = @"gpa.debit.ach.pending")] + Gpa_debit_ach_pending = 112, - [System.Runtime.Serialization.EnumMember(Value = @"0110")] - _0110 = 8, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.reject")] + Directdeposit_credit_reject = 113, - [System.Runtime.Serialization.EnumMember(Value = @"0130")] - _0130 = 9, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.reject")] + Directdeposit_debit_reject = 114, - [System.Runtime.Serialization.EnumMember(Value = @"0210")] - _0210 = 10, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.pending.reversal")] + Directdeposit_credit_pending_reversal = 115, - [System.Runtime.Serialization.EnumMember(Value = @"0410")] - _0410 = 11, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.pending.reversal")] + Directdeposit_debit_pending_reversal = 116, - [System.Runtime.Serialization.EnumMember(Value = @"0430")] - _0430 = 12, + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.credit.reversal")] + Directdeposit_credit_reversal = 117, + + [System.Runtime.Serialization.EnumMember(Value = @"directdeposit.debit.reversal")] + Directdeposit_debit_reversal = 118, - [System.Runtime.Serialization.EnumMember(Value = @"0230")] - _0230 = 13, + [System.Runtime.Serialization.EnumMember(Value = @"pin.change.reversal")] + Pin_change_reversal = 119, - } + [System.Runtime.Serialization.EnumMember(Value = @"pin.change.reversal.advice")] + Pin_change_reversal_advice = 120, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Adv_auth_request_modelNetwork - { + [System.Runtime.Serialization.EnumMember(Value = @"fee.charge.pending")] + Fee_charge_pending = 121, - [System.Runtime.Serialization.EnumMember(Value = @"MASTERCARD")] - MASTERCARD = 0, + [System.Runtime.Serialization.EnumMember(Value = @"fee.charge")] + Fee_charge = 122, - [System.Runtime.Serialization.EnumMember(Value = @"DISCOVER")] - DISCOVER = 1, + [System.Runtime.Serialization.EnumMember(Value = @"fee.charge.refund")] + Fee_charge_refund = 123, - [System.Runtime.Serialization.EnumMember(Value = @"PULSE")] - PULSE = 2, + [System.Runtime.Serialization.EnumMember(Value = @"fee.charge.reversal")] + Fee_charge_reversal = 124, - [System.Runtime.Serialization.EnumMember(Value = @"VISA")] - VISA = 3, + [System.Runtime.Serialization.EnumMember(Value = @"funds.expire")] + Funds_expire = 125, - } + [System.Runtime.Serialization.EnumMember(Value = @"programreserve.credit")] + Programreserve_credit = 126, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Adv_auth_request_modelSub_network - { + [System.Runtime.Serialization.EnumMember(Value = @"programreserve.debit")] + Programreserve_debit = 127, - [System.Runtime.Serialization.EnumMember(Value = @"VISANET")] - VISANET = 0, + [System.Runtime.Serialization.EnumMember(Value = @"reward.earn")] + Reward_earn = 128, - [System.Runtime.Serialization.EnumMember(Value = @"VISANETDEBIT")] - VISANETDEBIT = 1, + [System.Runtime.Serialization.EnumMember(Value = @"transfer.peer")] + Transfer_peer = 129, - [System.Runtime.Serialization.EnumMember(Value = @"VISAINTERLINK")] - VISAINTERLINK = 2, + [System.Runtime.Serialization.EnumMember(Value = @"transfer.fee")] + Transfer_fee = 130, - [System.Runtime.Serialization.EnumMember(Value = @"VISAPLUS")] - VISAPLUS = 3, + [System.Runtime.Serialization.EnumMember(Value = @"account.credit")] + Account_credit = 131, - [System.Runtime.Serialization.EnumMember(Value = @"MAESTRO")] - MAESTRO = 4, + [System.Runtime.Serialization.EnumMember(Value = @"account.debit")] + Account_debit = 132, - } + [System.Runtime.Serialization.EnumMember(Value = @"transfer.program")] + Transfer_program = 133, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Adv_auth_request_modelPos_pan_entry_mode - { + [System.Runtime.Serialization.EnumMember(Value = @"token.activationrequest")] + Token_activationrequest = 134, - [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] - MANUAL = 0, + [System.Runtime.Serialization.EnumMember(Value = @"token.advice")] + Token_advice = 135, - [System.Runtime.Serialization.EnumMember(Value = @"MAG_STRIPE")] - MAG_STRIPE = 1, + [System.Runtime.Serialization.EnumMember(Value = @"pushtocard.debit")] + Pushtocard_debit = 136, - [System.Runtime.Serialization.EnumMember(Value = @"MAG_STRIPE_CONTACTLESS")] - MAG_STRIPE_CONTACTLESS = 2, + [System.Runtime.Serialization.EnumMember(Value = @"pushtocard.pending")] + Pushtocard_pending = 137, - [System.Runtime.Serialization.EnumMember(Value = @"CHIP")] - CHIP = 3, + [System.Runtime.Serialization.EnumMember(Value = @"pushtocard.reversal")] + Pushtocard_reversal = 138, - [System.Runtime.Serialization.EnumMember(Value = @"CHIP_CONTACTLESS")] - CHIP_CONTACTLESS = 4, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.pending")] + Billpay_pending = 139, - [System.Runtime.Serialization.EnumMember(Value = @"BAR_CODE")] - BAR_CODE = 5, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.complete")] + Billpay_complete = 140, - [System.Runtime.Serialization.EnumMember(Value = @"OCR")] - OCR = 6, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.cancelled")] + Billpay_cancelled = 141, - [System.Runtime.Serialization.EnumMember(Value = @"MICR")] - MICR = 7, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.returned")] + Billpay_returned = 142, - [System.Runtime.Serialization.EnumMember(Value = @"CARD_ON_FILE")] - CARD_ON_FILE = 8, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.jit.pending")] + Billpay_jit_pending = 143, - [System.Runtime.Serialization.EnumMember(Value = @"CHIP_FALLBACK")] - CHIP_FALLBACK = 9, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.jit.complete")] + Billpay_jit_complete = 144, - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 10, + [System.Runtime.Serialization.EnumMember(Value = @"billpay.jit.cancelled")] + Billpay_jit_cancelled = 145, - } + [System.Runtime.Serialization.EnumMember(Value = @"billpay.jit.returned")] + Billpay_jit_returned = 146, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Adv_auth_request_modelCavv_result_code - { + [System.Runtime.Serialization.EnumMember(Value = @"billpayment")] + Billpayment = 147, - [System.Runtime.Serialization.EnumMember(Value = @"0")] - _0 = 0, + [System.Runtime.Serialization.EnumMember(Value = @"billpayment.clearing")] + Billpayment_clearing = 148, - [System.Runtime.Serialization.EnumMember(Value = @"1")] - _1 = 1, + [System.Runtime.Serialization.EnumMember(Value = @"billpayment.reversal")] + Billpayment_reversal = 149, - [System.Runtime.Serialization.EnumMember(Value = @"2")] - _2 = 2, + [System.Runtime.Serialization.EnumMember(Value = @"refund.authorization")] + Refund_authorization = 150, - [System.Runtime.Serialization.EnumMember(Value = @"3")] - _3 = 3, + [System.Runtime.Serialization.EnumMember(Value = @"refund.authorization.clearing")] + Refund_authorization_clearing = 151, - [System.Runtime.Serialization.EnumMember(Value = @"4")] - _4 = 4, + [System.Runtime.Serialization.EnumMember(Value = @"refund.authorization.reversal")] + Refund_authorization_reversal = 152, - [System.Runtime.Serialization.EnumMember(Value = @"5")] - _5 = 5, + [System.Runtime.Serialization.EnumMember(Value = @"ach.early.funds")] + Ach_early_funds = 153, - [System.Runtime.Serialization.EnumMember(Value = @"6")] - _6 = 6, + [System.Runtime.Serialization.EnumMember(Value = @"ach.early.funds.reversed")] + Ach_early_funds_reversed = 154, - [System.Runtime.Serialization.EnumMember(Value = @"7")] - _7 = 7, + [System.Runtime.Serialization.EnumMember(Value = @"ach.push.pending")] + Ach_push_pending = 155, - [System.Runtime.Serialization.EnumMember(Value = @"8")] - _8 = 8, + [System.Runtime.Serialization.EnumMember(Value = @"ach.pull.pending")] + Ach_pull_pending = 156, - [System.Runtime.Serialization.EnumMember(Value = @"9")] - _9 = 9, + [System.Runtime.Serialization.EnumMember(Value = @"ach.push")] + Ach_push = 157, - [System.Runtime.Serialization.EnumMember(Value = @"A")] - A = 10, + [System.Runtime.Serialization.EnumMember(Value = @"ach.pull")] + Ach_pull = 158, - [System.Runtime.Serialization.EnumMember(Value = @"B")] - B = 11, + [System.Runtime.Serialization.EnumMember(Value = @"ach.cancel")] + Ach_cancel = 159, - [System.Runtime.Serialization.EnumMember(Value = @"C")] - C = 12, + [System.Runtime.Serialization.EnumMember(Value = @"ach.returned")] + Ach_returned = 160, - [System.Runtime.Serialization.EnumMember(Value = @"D")] - D = 13, + [System.Runtime.Serialization.EnumMember(Value = @"ach.pull.returned")] + Ach_pull_returned = 161, - } + [System.Runtime.Serialization.EnumMember(Value = @"ach.push.returned")] + Ach_push_returned = 162, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Adv_auth_request_modelIsa_indicator - { + [System.Runtime.Serialization.EnumMember(Value = @"ach.provisional.credit")] + Ach_provisional_credit = 163, - [System.Runtime.Serialization.EnumMember(Value = @"S")] - S = 0, + [System.Runtime.Serialization.EnumMember(Value = @"ach.provisional.credit.reversed")] + Ach_provisional_credit_reversed = 164, - [System.Runtime.Serialization.EnumMember(Value = @"C")] - C = 1, + [System.Runtime.Serialization.EnumMember(Value = @"ach.push.reversal.completed")] + Ach_push_reversal_completed = 165, - [System.Runtime.Serialization.EnumMember(Value = @"R")] - R = 2, + [System.Runtime.Serialization.EnumMember(Value = @"ach.push.reversal.declined")] + Ach_push_reversal_declined = 166, - [System.Runtime.Serialization.EnumMember(Value = @"M")] - M = 3, + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.push.pending")] + Ach_jit_push_pending = 167, - [System.Runtime.Serialization.EnumMember(Value = @"P")] - P = 4, + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.pull.pending")] + Ach_jit_pull_pending = 168, - [System.Runtime.Serialization.EnumMember(Value = @"BLANK_SPACE")] - BLANK_SPACE = 5, + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.push")] + Ach_jit_push = 169, - } + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.pull")] + Ach_jit_pull = 170, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Digital_wallet_token_deviceDevice_type - { + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.cancel")] + Ach_jit_cancel = 171, - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 0, + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.pull.returned")] + Ach_jit_pull_returned = 172, - [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_PHONE")] - MOBILE_PHONE = 1, + [System.Runtime.Serialization.EnumMember(Value = @"ach.jit.push.returned")] + Ach_jit_push_returned = 173, - [System.Runtime.Serialization.EnumMember(Value = @"WATCH")] - WATCH = 2, + [System.Runtime.Serialization.EnumMember(Value = @"check.return.debit")] + Check_return_debit = 174, - [System.Runtime.Serialization.EnumMember(Value = @"TABLET")] - TABLET = 3, + [System.Runtime.Serialization.EnumMember(Value = @"check.return.debit.reversal")] + Check_return_debit_reversal = 175, - [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_PHONE_OR_TABLET")] - MOBILE_PHONE_OR_TABLET = 4, + [System.Runtime.Serialization.EnumMember(Value = @"check.clearing.debit")] + Check_clearing_debit = 176, - [System.Runtime.Serialization.EnumMember(Value = @"PERSONAL_COMPUTER")] - PERSONAL_COMPUTER = 5, + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull")] + Pullfromcard_pull = 177, - } + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.push.visa")] + Pullfromcard_push_visa = 178, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Digital_wallet_token_wallet_providerWallet_provider_risk_assessment - { + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.push.mc")] + Pullfromcard_push_mc = 179, - [System.Runtime.Serialization.EnumMember(Value = @"DECISION_GREEN")] - DECISION_GREEN = 0, + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull.reversal")] + Pullfromcard_pull_reversal = 180, - [System.Runtime.Serialization.EnumMember(Value = @"DECISION_YELLOW")] - DECISION_YELLOW = 1, + [System.Runtime.Serialization.EnumMember(Value = @"accountfunding.pull")] + Accountfunding_pull = 181, - [System.Runtime.Serialization.EnumMember(Value = @"DECISION_RED")] - DECISION_RED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"accountfunding.pull.chargeback")] + Accountfunding_pull_chargeback = 182, - } + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.push.chargeback")] + Pullfromcard_push_chargeback = 183, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Digital_wallet_token_wallet_providerWallet_provider_pan_source - { + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull.mc.chargeback")] + Pullfromcard_pull_mc_chargeback = 184, - [System.Runtime.Serialization.EnumMember(Value = @"ON_FILE")] - ON_FILE = 0, + [System.Runtime.Serialization.EnumMember(Value = @"pullfromcard.pull.visa.chargeback")] + Pullfromcard_pull_visa_chargeback = 185, - [System.Runtime.Serialization.EnumMember(Value = @"KEY_ENTERED")] - KEY_ENTERED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"escheatment.debit")] + Escheatment_debit = 186, - [System.Runtime.Serialization.EnumMember(Value = @"MOBILE_BANKING_APP")] - MOBILE_BANKING_APP = 2, + [System.Runtime.Serialization.EnumMember(Value = @"escheatment.debit.reversal")] + Escheatment_debit_reversal = 187, - } + [System.Runtime.Serialization.EnumMember(Value = @"escheatment.debit.clearing")] + Escheatment_debit_clearing = 188, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Iso8583_digital_wallet_tokenToken_type - { + [System.Runtime.Serialization.EnumMember(Value = @"zero.clearing")] + Zero_clearing = 189, - [System.Runtime.Serialization.EnumMember(Value = @"DEVICE_SECURE_ELEMENT")] - DEVICE_SECURE_ELEMENT = 0, + [System.Runtime.Serialization.EnumMember(Value = @"credit.adjustment")] + Credit_adjustment = 190, - [System.Runtime.Serialization.EnumMember(Value = @"DEVICE_CLOUD_BASED")] - DEVICE_CLOUD_BASED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"debit.adjustment")] + Debit_adjustment = 191, - [System.Runtime.Serialization.EnumMember(Value = @"MERCHANT_CARD_ON_FILE")] - MERCHANT_CARD_ON_FILE = 2, + [System.Runtime.Serialization.EnumMember(Value = @"account.transfer")] + Account_transfer = 192, - [System.Runtime.Serialization.EnumMember(Value = @"ECOMMERCE_DIGITAL_WALLET")] - ECOMMERCE_DIGITAL_WALLET = 3, + [System.Runtime.Serialization.EnumMember(Value = @"account.transfer.reversal")] + Account_transfer_reversal = 193, - [System.Runtime.Serialization.EnumMember(Value = @"PSEUDO_ACCOUNT")] - PSEUDO_ACCOUNT = 4, + [System.Runtime.Serialization.EnumMember(Value = @"deposit.network.sweep")] + Deposit_network_sweep = 194, - } + [System.Runtime.Serialization.EnumMember(Value = @"interest.posting")] + Interest_posting = 195, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Iso8583_digital_wallet_tokenToken_status - { + [System.Runtime.Serialization.EnumMember(Value = @"receivables.generate")] + Receivables_generate = 196, - [System.Runtime.Serialization.EnumMember(Value = @"REQUESTED")] - REQUESTED = 0, + [System.Runtime.Serialization.EnumMember(Value = @"receivables.purchase")] + Receivables_purchase = 197, - [System.Runtime.Serialization.EnumMember(Value = @"ACTIVE")] - ACTIVE = 1, + [System.Runtime.Serialization.EnumMember(Value = @"receivables.hold")] + Receivables_hold = 198, - [System.Runtime.Serialization.EnumMember(Value = @"SUSPENDED")] - SUSPENDED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"receivables.sale")] + Receivables_sale = 199, - [System.Runtime.Serialization.EnumMember(Value = @"TERMINATED")] - TERMINATED = 3, + [System.Runtime.Serialization.EnumMember(Value = @"receivables.generate.adjustment")] + Receivables_generate_adjustment = 200, - } + [System.Runtime.Serialization.EnumMember(Value = @"receivables.purchase.adjustment")] + Receivables_purchase_adjustment = 201, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Iso8583_digital_wallet_tokenNetwork_decisioning - { + [System.Runtime.Serialization.EnumMember(Value = @"receivables.hold.adjustment")] + Receivables_hold_adjustment = 202, - [System.Runtime.Serialization.EnumMember(Value = @"DECISION_GREEN")] - DECISION_GREEN = 0, + [System.Runtime.Serialization.EnumMember(Value = @"receivables.sale.adjustment")] + Receivables_sale_adjustment = 203, - [System.Runtime.Serialization.EnumMember(Value = @"DECISION_YELLOW")] - DECISION_YELLOW = 1, + [System.Runtime.Serialization.EnumMember(Value = @"pin.change.via.api")] + Pin_change_via_api = 204, - [System.Runtime.Serialization.EnumMember(Value = @"DECISION_RED")] - DECISION_RED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"unknown")] + Unknown = 205, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum Original_data_elementsMti + public enum Fraud_stream_requestState { - [System.Runtime.Serialization.EnumMember(Value = @"0100")] - _0100 = 0, + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] + CLEARED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] + COMPLETION = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] + DECLINED = 3, - [System.Runtime.Serialization.EnumMember(Value = @"0120")] - _0120 = 1, + [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] + ERROR = 4, - [System.Runtime.Serialization.EnumMember(Value = @"0200")] - _0200 = 2, + [System.Runtime.Serialization.EnumMember(Value = @"ALL")] + ALL = 5, } @@ -24811,26 +24791,221 @@ public enum Advanced_clearing_request_modelMti } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] - public enum TransactionUpdateModelState + public enum Withdrawal_request_modelAccount_type { - [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] - PENDING = 0, + [System.Runtime.Serialization.EnumMember(Value = @"checking")] + Checking = 0, - [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] - CLEARED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"savings")] + Savings = 1, - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] - COMPLETION = 2, + [System.Runtime.Serialization.EnumMember(Value = @"credit")] + Credit = 2, - [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] - DECLINED = 3, + } - [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] - ERROR = 4, + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Original_credit_sender_dataFunding_source + { - [System.Runtime.Serialization.EnumMember(Value = @"ALL")] - ALL = 5, + [System.Runtime.Serialization.EnumMember(Value = @"credit")] + Credit = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"debit")] + Debit = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"prepaid")] + Prepaid = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"deposit_account")] + Deposit_account = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"cash")] + Cash = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"mobile_money_payment")] + Mobile_money_payment = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"non_visa_credit")] + Non_visa_credit = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"check")] + Check = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"ach")] + Ach = 8, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Original_credit_sender_dataSender_account_type + { + + [System.Runtime.Serialization.EnumMember(Value = @"other")] + Other = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"rtn_bank_account")] + Rtn_bank_account = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"iban")] + Iban = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"card_account")] + Card_account = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"email")] + Email = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"phone_number")] + Phone_number = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"bank_account_number_and_identification_code")] + Bank_account_number_and_identification_code = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"wallet_id")] + Wallet_id = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"social_network_id")] + Social_network_id = 8, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Original_credit_sender_dataTransaction_purpose + { + + [System.Runtime.Serialization.EnumMember(Value = @"family_support")] + Family_support = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"labor_transfers")] + Labor_transfers = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"travel")] + Travel = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"education")] + Education = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"medical_treatment")] + Medical_treatment = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"emergency_need")] + Emergency_need = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"savings")] + Savings = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"gifts")] + Gifts = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"other")] + Other = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"salary")] + Salary = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"lending")] + Lending = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"crypto_currency")] + Crypto_currency = 11, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Original_credit_sender_dataDeferred_hold_by + { + + [System.Runtime.Serialization.EnumMember(Value = @"absent")] + Absent = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"visa")] + Visa = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"originator")] + Originator = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum Orignalcredit_request_modelType + { + + [System.Runtime.Serialization.EnumMember(Value = @"account_to_account")] + Account_to_account = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"person_to_person")] + Person_to_person = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"prepaid")] + Prepaid = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"wallet_transfer")] + Wallet_transfer = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"money_transfer_by_bank")] + Money_transfer_by_bank = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"business_to_business")] + Business_to_business = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"disbursement")] + Disbursement = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"government_disbursement")] + Government_disbursement = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"gambling_payout")] + Gambling_payout = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"loyalty")] + Loyalty = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"merchant_disbursement")] + Merchant_disbursement = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"online_gambling_payout")] + Online_gambling_payout = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"pension_disbursement")] + Pension_disbursement = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"prepaid_loads")] + Prepaid_loads = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"card_bill_payment")] + Card_bill_payment = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"bill_payment")] + Bill_payment = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"cash_claim")] + Cash_claim = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"cash_in")] + Cash_in = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"cash_out")] + Cash_out = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"mobile_air_time_payment")] + Mobile_air_time_payment = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"money_transfer_by_merchant")] + Money_transfer_by_merchant = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"face_to_face_merchant_payment")] + Face_to_face_merchant_payment = 21, + + [System.Runtime.Serialization.EnumMember(Value = @"government_payment")] + Government_payment = 22, + + [System.Runtime.Serialization.EnumMember(Value = @"payments_goods_services")] + Payments_goods_services = 23, + + [System.Runtime.Serialization.EnumMember(Value = @"purchase_repayment")] + Purchase_repayment = 24, } @@ -24855,6 +25030,30 @@ public enum Clearing_fileNetwork } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] + public enum TransactionUpdateModelState + { + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING")] + PENDING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"CLEARED")] + CLEARED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETION")] + COMPLETION = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DECLINED")] + DECLINED = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] + ERROR = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ALL")] + ALL = 5, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] public enum UserTransitionResponseStatus { @@ -24976,6 +25175,9 @@ public enum UserTransitionResponseReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")] @@ -25120,6 +25322,9 @@ public enum UserTransitionRequestReason_code [System.Runtime.Serialization.EnumMember(Value = @"31")] _31 = 31, + [System.Runtime.Serialization.EnumMember(Value = @"32")] + _32 = 32, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))")]