Skip to content

Commit

Permalink
Merge pull request #851 from stripe/remi/codegen-595f9a2
Browse files Browse the repository at this point in the history
Add support for `spending_controls` on Issuing `Card` and `Cardholder`
  • Loading branch information
remi-stripe authored Mar 26, 2020
2 parents 07675e1 + c84074f commit a7398a3
Show file tree
Hide file tree
Showing 5 changed files with 5,938 additions and 371 deletions.
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

0 comments on commit a7398a3

Please sign in to comment.