Skip to content

Commit

Permalink
Merge pull request #929 from stripe/remi/codegen-9914a37
Browse files Browse the repository at this point in the history
Add support for `invoice.paid` event
  • Loading branch information
remi-stripe authored Jun 25, 2020
2 parents 41f2daa + fd10136 commit 4769119
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 3 additions & 7 deletions types/2020-03-02/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,7 @@ declare module 'stripe' {
currency: string;

/**
* The amount of the application fee (if any) that will be applied to the
* payment and transferred to the application owner's Stripe account. For
* more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
* The amount of the application fee (if any) that will be applied to the payment and transferred to the application owner's Stripe account. Must be greater than zero when provided. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
*/
application_fee_amount?: number;

Expand Down Expand Up @@ -1139,7 +1137,7 @@ declare module 'stripe' {
amount?: number;

/**
* The amount of the application fee (if any) for the resulting payment. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details.
* The amount of the application fee (if any) that will be applied to the payment and transferred to the application owner's Stripe account. Must be greater than zero when provided. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
*/
application_fee_amount?: number | null;

Expand Down Expand Up @@ -1673,9 +1671,7 @@ declare module 'stripe' {
amount_to_capture?: number;

/**
* The amount of the application fee (if any) that will be applied to the
* payment and transferred to the application owner's Stripe account. For
* more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
* The amount of the application fee (if any) that will be applied to the payment and transferred to the application owner's Stripe account. Must be greater than zero when provided. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
*/
application_fee_amount?: number;

Expand Down
2 changes: 2 additions & 0 deletions types/2020-03-02/WebhookEndpoints.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ declare module 'stripe' {
| 'invoice.deleted'
| 'invoice.finalized'
| 'invoice.marked_uncollectible'
| 'invoice.paid'
| 'invoice.payment_action_required'
| 'invoice.payment_failed'
| 'invoice.payment_succeeded'
Expand Down Expand Up @@ -481,6 +482,7 @@ declare module 'stripe' {
| 'invoice.deleted'
| 'invoice.finalized'
| 'invoice.marked_uncollectible'
| 'invoice.paid'
| 'invoice.payment_action_required'
| 'invoice.payment_failed'
| 'invoice.payment_succeeded'
Expand Down

0 comments on commit 4769119

Please sign in to comment.