From 627e2b0da70e8b9b2f97ccf7851bbd98eae5defc Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Mon, 28 Aug 2023 19:43:30 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- openapi/api.yaml | 8 ++++++++ transaction.go | 3 +++ 2 files changed, 11 insertions(+) diff --git a/openapi/api.yaml b/openapi/api.yaml index f649648..0e0dbda 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -23040,6 +23040,13 @@ components: payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort. title: Action result + vat_number: + type: string + description: VAT number for the customer on this transaction. If the customer's + Billing Info country is BR or AR, then this will be their Tax Identifier. + For all other countries this will come from the VAT Number field in the + Billing Info. + title: VAT Number ExternalTransaction: type: object properties: @@ -25336,6 +25343,7 @@ components: - invalid_payment_method_hard - invalid_transaction - issuer_unavailable + - lifecycle_decline - merch_max_transaction_limit_exceeded - moneybot_disconnect - moneybot_unavailable diff --git a/transaction.go b/transaction.go index 18dc7da..d05cfd0 100644 --- a/transaction.go +++ b/transaction.go @@ -133,6 +133,9 @@ type Transaction struct { // Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort. ActionResult map[string]interface{} `json:"action_result,omitempty"` + + // VAT number for the customer on this transaction. If the customer's Billing Info country is BR or AR, then this will be their Tax Identifier. For all other countries this will come from the VAT Number field in the Billing Info. + VatNumber string `json:"vat_number,omitempty"` } // GetResponse returns the ResponseMetadata that generated this resource