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 #1134

Merged
merged 1 commit into from
Mar 31, 2021
Merged
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
87 changes: 87 additions & 0 deletions types/2020-08-27/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,8 @@ declare module 'stripe' {

branding: Settings.Branding;

card_issuing?: Settings.CardIssuing;

card_payments: Settings.CardPayments;

dashboard: Settings.Dashboard;
Expand Down Expand Up @@ -648,6 +650,29 @@ declare module 'stripe' {
secondary_color: string | null;
}

interface CardIssuing {
tos_acceptance?: CardIssuing.TosAcceptance;
}

namespace CardIssuing {
interface TosAcceptance {
/**
* The Unix timestamp marking when the account representative accepted the service agreement.
*/
date: number | null;

/**
* The IP address from which the account representative accepted the service agreement.
*/
ip: string | null;

/**
* The user agent of the browser from which the account representative accepted the service agreement.
*/
user_agent?: string;
}
}

interface CardPayments {
decline_on?: CardPayments.DeclineOn;

Expand Down Expand Up @@ -1638,6 +1663,11 @@ declare module 'stripe' {
*/
branding?: Settings.Branding;

/**
* Settings specific to the account's use of the Card Issuing product.
*/
card_issuing?: Settings.CardIssuing;

/**
* Settings specific to card charging on the account.
*/
Expand Down Expand Up @@ -1677,6 +1707,32 @@ declare module 'stripe' {
secondary_color?: string;
}

interface CardIssuing {
/**
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance).
*/
tos_acceptance?: CardIssuing.TosAcceptance;
}

namespace CardIssuing {
interface TosAcceptance {
/**
* The Unix timestamp marking when the account representative accepted the service agreement.
*/
date?: number;

/**
* The IP address from which the account representative accepted the service agreement.
*/
ip?: string;

/**
* The user agent of the browser from which the account representative accepted the service agreement.
*/
user_agent?: string;
}
}

interface CardPayments {
/**
* Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
Expand Down Expand Up @@ -2651,6 +2707,11 @@ declare module 'stripe' {
*/
branding?: Settings.Branding;

/**
* Settings specific to the account's use of the Card Issuing product.
*/
card_issuing?: Settings.CardIssuing;

/**
* Settings specific to card charging on the account.
*/
Expand Down Expand Up @@ -2690,6 +2751,32 @@ declare module 'stripe' {
secondary_color?: string;
}

interface CardIssuing {
/**
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance).
*/
tos_acceptance?: CardIssuing.TosAcceptance;
}

namespace CardIssuing {
interface TosAcceptance {
/**
* The Unix timestamp marking when the account representative accepted the service agreement.
*/
date?: number;

/**
* The IP address from which the account representative accepted the service agreement.
*/
ip?: string;

/**
* The user agent of the browser from which the account representative accepted the service agreement.
*/
user_agent?: string;
}
}

interface CardPayments {
/**
* Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
Expand Down