Skip to content

Commit

Permalink
Update generated code for v1431
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 7, 2025
1 parent ab3ec04 commit 9faf216
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1430
v1431
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,11 @@ declare module 'stripe' {
}

interface Outcome {
/**
* An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
*/
advice_code: Outcome.AdviceCode | null;

/**
* 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.
*/
Expand Down Expand Up @@ -359,6 +364,11 @@ declare module 'stripe' {
}

namespace Outcome {
type AdviceCode =
| 'confirm_card_data'
| 'do_not_try_again'
| 'try_again_later';

interface Rule {
/**
* The action taken on the payment.
Expand Down

0 comments on commit 9faf216

Please sign in to comment.