From f4e0a5e9ccdc136c6c1760371cfdd05442ccfcda Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:00:22 +0000 Subject: [PATCH] Update generated code for v1401 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/Charge.java | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 801f5f8b6ee..786255474af 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1400 \ No newline at end of file +v1401 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/Charge.java b/src/main/java/com/stripe/model/Charge.java index 2b99be05443..7c40907237c 100644 --- a/src/main/java/com/stripe/model/Charge.java +++ b/src/main/java/com/stripe/model/Charge.java @@ -1901,6 +1901,17 @@ public static class Card extends StripeObject { @SerializedName("network_token") NetworkToken networkToken; + /** + * This is used by the financial networks to identify a transaction. Visa calls this the + * Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the + * Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network + * Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent + * the date (MM/DD). This field will be available for successful Visa, Mastercard, or American + * Express transactions and always null for other card brands. + */ + @SerializedName("network_transaction_id") + String networkTransactionId; + @SerializedName("overcapture") Overcapture overcapture;