Skip to content

Commit

Permalink
Update generated code for v1358
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 15, 2024
1 parent 8073854 commit bca6dd9
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1357
v1358
10 changes: 10 additions & 0 deletions types/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,16 @@ declare module 'stripe' {
}

interface Outcome {
/**
* For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
*/
network_advice_code: string | null;

/**
* For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
*/
network_decline_code: string | null;

/**
* Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
*/
Expand Down
10 changes: 10 additions & 0 deletions types/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,16 @@ declare module 'stripe' {
*/
message?: string;

/**
* For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
*/
network_advice_code?: string;

/**
* For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
*/
network_decline_code?: string;

/**
* If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
*/
Expand Down
10 changes: 10 additions & 0 deletions types/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,16 @@ declare module 'stripe' {
*/
message?: string;

/**
* For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
*/
network_advice_code?: string;

/**
* For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
*/
network_decline_code?: string;

/**
* If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
*/
Expand Down
10 changes: 10 additions & 0 deletions types/QuotePreviewInvoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,16 @@ declare module 'stripe' {
*/
message?: string;

/**
* For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
*/
network_advice_code?: string;

/**
* For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
*/
network_decline_code?: string;

/**
* If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
*/
Expand Down
10 changes: 10 additions & 0 deletions types/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,16 @@ declare module 'stripe' {
*/
message?: string;

/**
* For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
*/
network_advice_code?: string;

/**
* For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
*/
network_decline_code?: string;

/**
* If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
*/
Expand Down
10 changes: 10 additions & 0 deletions types/SetupIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,16 @@ declare module 'stripe' {
*/
message?: string;

/**
* For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
*/
network_advice_code?: string;

/**
* For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
*/
network_decline_code?: string;

/**
* If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
*/
Expand Down

0 comments on commit bca6dd9

Please sign in to comment.