Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code for beta #2253

Merged
merged 4 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1454
v1460
6 changes: 3 additions & 3 deletions types/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ declare module 'stripe' {
network_token?: Card.NetworkToken | null;

/**
* 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.
* 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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
*/
network_transaction_id: string | null;

Expand Down Expand Up @@ -1323,7 +1323,7 @@ declare module 'stripe' {
network: string | null;

/**
* 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.
* 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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
*/
network_transaction_id: string | null;

Expand Down Expand Up @@ -1753,7 +1753,7 @@ declare module 'stripe' {
network: string | null;

/**
* 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.
* 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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
*/
network_transaction_id: string | null;

Expand Down
2 changes: 1 addition & 1 deletion types/ConfirmationTokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ declare module 'stripe' {
network: string | null;

/**
* 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.
* 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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
*/
network_transaction_id: string | null;

Expand Down
2 changes: 1 addition & 1 deletion types/PaymentMethods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ declare module 'stripe' {
network: string | null;

/**
* 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.
* 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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
*/
network_transaction_id: string | null;

Expand Down
4 changes: 2 additions & 2 deletions types/Refunds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ declare module 'stripe' {
/**
* For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
*/
network_decline_code?: string | null;
network_decline_code: string | null;

/**
* The reference assigned to the refund.
Expand Down Expand Up @@ -355,7 +355,7 @@ declare module 'stripe' {
/**
* For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
*/
network_decline_code?: string | null;
network_decline_code: string | null;

/**
* The reference assigned to the refund.
Expand Down
20 changes: 0 additions & 20 deletions types/Terminal/Readers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,6 @@ declare module 'stripe' {
* Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
*/
payment_method?: Stripe.PaymentMethod;

/**
* This field will be deprecated. Please use `account` instead.
*/
stripe_account?: string;
}

namespace CollectPaymentMethod {
Expand Down Expand Up @@ -419,11 +414,6 @@ declare module 'stripe' {
* Most recent PaymentIntent processed by the reader.
*/
payment_intent: string | Stripe.PaymentIntent;

/**
* This field will be deprecated. Please use `account` instead.
*/
stripe_account?: string;
}

interface ProcessPaymentIntent {
Expand All @@ -441,11 +431,6 @@ declare module 'stripe' {
* Represents a per-transaction override of a reader configuration
*/
process_config?: ProcessPaymentIntent.ProcessConfig;

/**
* This field will be deprecated. Please use `account` instead.
*/
stripe_account?: string;
}

namespace ProcessPaymentIntent {
Expand Down Expand Up @@ -552,11 +537,6 @@ declare module 'stripe' {
* Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
*/
reverse_transfer?: boolean;

/**
* This field will be deprecated. Please use `account` instead.
*/
stripe_account?: string;
}

namespace RefundPayment {
Expand Down
Loading