From bcae77dff31718be0b6f944d750e56b1a5f533d8 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:30:16 +0000 Subject: [PATCH] Update generated code for v1402 --- 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 9fc97dcb222..98d845ab65d 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1399 \ No newline at end of file +v1402 \ 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 8833d021d1a..e5ca12f37e2 100644 --- a/src/main/java/com/stripe/model/Charge.java +++ b/src/main/java/com/stripe/model/Charge.java @@ -1873,6 +1873,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;