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

API Updates #1153

Merged
merged 1 commit into from
May 5, 2021
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
4 changes: 2 additions & 2 deletions types/2020-08-27/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ declare module 'stripe' {

interface CardIssuing {
/**
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance).
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/docs/issuing/connect/tos_acceptance).
*/
tos_acceptance?: CardIssuing.TosAcceptance;
}
Expand Down Expand Up @@ -2824,7 +2824,7 @@ declare module 'stripe' {

interface CardIssuing {
/**
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance).
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/docs/issuing/connect/tos_acceptance).
*/
tos_acceptance?: CardIssuing.TosAcceptance;
}
Expand Down
10 changes: 10 additions & 0 deletions types/2020-08-27/Radar/EarlyFraudWarnings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ declare module 'stripe' {
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
*/
livemode: boolean;

/**
* ID of the Payment Intent this early fraud warning is for, optionally expanded.
*/
payment_intent?: string | Stripe.PaymentIntent;
}

interface EarlyFraudWarningRetrieveParams {
Expand All @@ -60,6 +65,11 @@ declare module 'stripe' {
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;

/**
* Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID.
*/
payment_intent?: string;
}

class EarlyFraudWarningsResource {
Expand Down