Skip to content

Commit

Permalink
Update generated code for v1357
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 15, 2024
1 parent 58c96dc commit 8073854
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1356
v1357
98 changes: 96 additions & 2 deletions types/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,54 @@ declare module 'stripe' {

interface Alma {}

interface AmazonPay {}
interface AmazonPay {
funding?: AmazonPay.Funding;
}

namespace AmazonPay {
interface Funding {
card?: Funding.Card;

/**
* funding type of the underlying payment method.
*/
type: 'card' | null;
}

namespace Funding {
interface Card {
/**
* Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
*/
brand: string | null;

/**
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
*/
country: string | null;

/**
* Two-digit number representing the card's expiration month.
*/
exp_month: number | null;

/**
* Four-digit number representing the card's expiration year.
*/
exp_year: number | null;

/**
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
*/
funding: string | null;

/**
* The last four digits of the card.
*/
last4: string | null;
}
}
}

interface AuBecsDebit {
/**
Expand Down Expand Up @@ -2087,7 +2134,54 @@ declare module 'stripe' {

interface Rechnung {}

interface RevolutPay {}
interface RevolutPay {
funding?: RevolutPay.Funding;
}

namespace RevolutPay {
interface Funding {
card?: Funding.Card;

/**
* funding type of the underlying payment method.
*/
type: 'card' | null;
}

namespace Funding {
interface Card {
/**
* Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
*/
brand: string | null;

/**
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
*/
country: string | null;

/**
* Two-digit number representing the card's expiration month.
*/
exp_month: number | null;

/**
* Four-digit number representing the card's expiration year.
*/
exp_year: number | null;

/**
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
*/
funding: string | null;

/**
* The last four digits of the card.
*/
last4: string | null;
}
}
}

interface SamsungPay {
/**
Expand Down

0 comments on commit 8073854

Please sign in to comment.