From 1c034069f8df24602e351a080e9b5f8585875bc6 Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Wed, 24 Jan 2024 20:35:15 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- Recurly/Resources/TransactionError.cs | 4 ++++ openapi/api.yaml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Recurly/Resources/TransactionError.cs b/Recurly/Resources/TransactionError.cs index 0855b444..d7171670 100644 --- a/Recurly/Resources/TransactionError.cs +++ b/Recurly/Resources/TransactionError.cs @@ -30,6 +30,10 @@ public class TransactionError : Resource [JsonConverter(typeof(RecurlyStringEnumConverter))] public Constants.DeclineCode? DeclineCode { get; set; } + /// Fraud information + [JsonProperty("fraud_info")] + public TransactionFraudInfo FraudInfo { get; set; } + /// Merchant message [JsonProperty("merchant_advice")] public string MerchantAdvice { get; set; } diff --git a/openapi/api.yaml b/openapi/api.yaml index 79ef24e9..8a8a6784 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -956,7 +956,7 @@ paths: Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode: recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion: \ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth: - \ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"22\"),\n\t\tCvv: + \ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"30\"),\n\t\tCvv: \ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation {\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected @@ -24833,6 +24833,8 @@ components: a transaction. Pass this value to Recurly.js so it can continue the challenge flow. maxLength: 22 + fraud_info: + "$ref": "#/components/schemas/TransactionFraudInfo" RelatedTypeEnum: type: string enum: