Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 13, 2023
1 parent 53906b2 commit 72a4af3
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 15 deletions.
2 changes: 1 addition & 1 deletion openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -10140,7 +10140,7 @@
}
},
"delinquent": {
"description": "If Stripe bills the customer's latest invoice by automatically charging and the latest charge fails, it sets `delinquent`` to `true``. If Stripe bills the invoice by sending it, and the invoice isn't paid by the due date, it also sets `delinquent`` to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.",
"description": "Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.\n\nIf you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.",
"nullable": true,
"type": "boolean"
},
Expand Down
15 changes: 11 additions & 4 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9585,15 +9585,22 @@ components:
- $ref: '#/components/schemas/payment_source'
delinquent:
description: >-
If Stripe bills the customer's latest invoice by automatically
charging and the latest charge fails, it sets `delinquent`` to
`true``. If Stripe bills the invoice by sending it, and the invoice
isn't paid by the due date, it also sets `delinquent`` to `true`.
Tracks the most recent state change on any invoice belonging to the
customer. Paying an invoice or marking it uncollectible via the API
will set this field to false. An automatic payment failure or
passing the `invoice.due_date` will set this field to `true`.


If an invoice becomes uncollectible by
[dunning](https://stripe.com/docs/billing/automatic-collection),
`delinquent` doesn't reset to `false`.


If you care whether the customer has paid their most recent
subscription invoice, use `subscription.status` instead. Paying or
marking uncollectible any customer invoice regardless of whether it
is the latest invoice for a subscription will always set this field
to `false`.
nullable: true
type: boolean
description:
Expand Down
2 changes: 1 addition & 1 deletion openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6392,7 +6392,7 @@
"x-stripeBypassValidation": true
},
"delinquent": {
"description": "If Stripe bills the customer's latest invoice by automatically charging and the latest charge fails, it sets `delinquent`` to `true``. If Stripe bills the invoice by sending it, and the invoice isn't paid by the due date, it also sets `delinquent`` to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.",
"description": "Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.\n\nIf you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.",
"nullable": true,
"type": "boolean"
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -8385,7 +8385,7 @@
}
},
"delinquent": {
"description": "If Stripe bills the customer's latest invoice by automatically charging and the latest charge fails, it sets `delinquent`` to `true``. If Stripe bills the invoice by sending it, and the invoice isn't paid by the due date, it also sets `delinquent`` to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.",
"description": "Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.\n\nIf an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.\n\nIf you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.",
"nullable": true,
"type": "boolean"
},
Expand Down
15 changes: 11 additions & 4 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8052,15 +8052,22 @@ components:
- $ref: '#/components/schemas/payment_source'
delinquent:
description: >-
If Stripe bills the customer's latest invoice by automatically
charging and the latest charge fails, it sets `delinquent`` to
`true``. If Stripe bills the invoice by sending it, and the invoice
isn't paid by the due date, it also sets `delinquent`` to `true`.
Tracks the most recent state change on any invoice belonging to the
customer. Paying an invoice or marking it uncollectible via the API
will set this field to false. An automatic payment failure or
passing the `invoice.due_date` will set this field to `true`.


If an invoice becomes uncollectible by
[dunning](https://stripe.com/docs/billing/automatic-collection),
`delinquent` doesn't reset to `false`.


If you care whether the customer has paid their most recent
subscription invoice, use `subscription.status` instead. Paying or
marking uncollectible any customer invoice regardless of whether it
is the latest invoice for a subscription will always set this field
to `false`.
nullable: true
type: boolean
description:
Expand Down
15 changes: 11 additions & 4 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6493,15 +6493,22 @@ components:
x-stripeBypassValidation: true
delinquent:
description: >-
If Stripe bills the customer's latest invoice by automatically
charging and the latest charge fails, it sets `delinquent`` to
`true``. If Stripe bills the invoice by sending it, and the invoice
isn't paid by the due date, it also sets `delinquent`` to `true`.
Tracks the most recent state change on any invoice belonging to the
customer. Paying an invoice or marking it uncollectible via the API
will set this field to false. An automatic payment failure or
passing the `invoice.due_date` will set this field to `true`.


If an invoice becomes uncollectible by
[dunning](https://stripe.com/docs/billing/automatic-collection),
`delinquent` doesn't reset to `false`.


If you care whether the customer has paid their most recent
subscription invoice, use `subscription.status` instead. Paying or
marking uncollectible any customer invoice regardless of whether it
is the latest invoice for a subscription will always set this field
to `false`.
nullable: true
type: boolean
description:
Expand Down

0 comments on commit 72a4af3

Please sign in to comment.