Skip to content

Commit

Permalink
OpenAPI Update (#568)
Browse files Browse the repository at this point in the history
Update OpenAPI for f3258c95d35e1b45f8fb56b929497c7749188965

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Dec 14, 2023
1 parent feec340 commit 5b38f1c
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -102976,6 +102976,22 @@
},
"type": "array"
},
"billing_behavior": {
"description": "Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time.`prorate_up_front` will bill for all phases within the current billing cycle up front.",
"enum": [
"prorate_on_next_phase",
"prorate_up_front"
],
"type": "string"
},
"end_behavior": {
"description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription.",
"enum": [
"cancel",
"release"
],
"type": "string"
},
"phases": {
"description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
"items": {
Expand Down Expand Up @@ -103844,6 +103860,15 @@
}
],
"description": "Provide any time periods to bill in advance."
},
"proration_behavior": {
"description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
"enum": [
"always_invoice",
"create_prorations",
"none"
],
"type": "string"
}
},
"title": "schedule_details_params",
Expand Down Expand Up @@ -105778,6 +105803,22 @@
},
"type": "array"
},
"billing_behavior": {
"description": "Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time.`prorate_up_front` will bill for all phases within the current billing cycle up front.",
"enum": [
"prorate_on_next_phase",
"prorate_up_front"
],
"type": "string"
},
"end_behavior": {
"description": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription.",
"enum": [
"cancel",
"release"
],
"type": "string"
},
"phases": {
"description": "List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.",
"items": {
Expand Down Expand Up @@ -106646,6 +106687,15 @@
}
],
"description": "Provide any time periods to bill in advance."
},
"proration_behavior": {
"description": "In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.",
"enum": [
"always_invoice",
"create_prorations",
"none"
],
"type": "string"
}
},
"title": "schedule_details_params",
Expand Down

0 comments on commit 5b38f1c

Please sign in to comment.