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

Add support for spending_controls on Issuing Card and Cardholder #851

Merged
merged 1 commit into from
Mar 26, 2020
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
6 changes: 3 additions & 3 deletions types/2020-03-02/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ declare module 'stripe' {
phone?: string | null;

/**
* The category identifying the legal structure of the company or legal entity.
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
*/
structure?: Company.Structure;

Expand Down Expand Up @@ -824,7 +824,7 @@ declare module 'stripe' {
phone?: string;

/**
* The category identifying the legal structure of the company or legal entity.
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
*/
structure?: Company.Structure | null;

Expand Down Expand Up @@ -1444,7 +1444,7 @@ declare module 'stripe' {
phone?: string;

/**
* The category identifying the legal structure of the company or legal entity.
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
*/
structure?: Company.Structure | null;

Expand Down
6 changes: 4 additions & 2 deletions types/2020-03-02/Issuing/Authorizations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ declare module 'stripe' {
reason: RequestHistory.Reason;

/**
* When an authorization is declined due to `authorization_controls`, this array contains details about the authorization controls that were violated. Otherwise, it is empty.
* [DEPRECATED] When an authorization is declined due to `authorization_controls`, this array contains details about the authorization controls that were violated. Otherwise, it is empty.
*/
violated_authorization_controls: Array<
violated_authorization_controls?: Array<
RequestHistory.ViolatedAuthorizationControl
>;
}
Expand All @@ -300,7 +300,9 @@ declare module 'stripe' {
| 'incorrect_expiry'
| 'insufficient_funds'
| 'not_allowed'
| 'spending_controls'
| 'suspected_fraud'
| 'verification_failed'
| 'webhook_approved'
| 'webhook_declined'
| 'webhook_timeout';
Expand Down
Loading