Skip to content

Commit dca9e02

Browse files
OpenAPI Update (#736)
Update OpenAPI for 487814e0fb4ade658c2c08caa8491bcb032a0e2b Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent a1291e6 commit dca9e02

File tree

2 files changed

+45
-45
lines changed

2 files changed

+45
-45
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -86166,13 +86166,13 @@
8616686166
"items": {
8616786167
"properties": {
8616886168
"name": {
86169-
"description": "The name of the custom field. This may be up to 30 characters.",
86170-
"maxLength": 30,
86169+
"description": "The name of the custom field. This may be up to 40 characters.",
86170+
"maxLength": 40,
8617186171
"type": "string"
8617286172
},
8617386173
"value": {
86174-
"description": "The value of the custom field. This may be up to 30 characters.",
86175-
"maxLength": 30,
86174+
"description": "The value of the custom field. This may be up to 140 characters.",
86175+
"maxLength": 140,
8617686176
"type": "string"
8617786177
}
8617886178
},
@@ -92101,13 +92101,13 @@
9210192101
"items": {
9210292102
"properties": {
9210392103
"name": {
92104-
"description": "The name of the custom field. This may be up to 30 characters.",
92105-
"maxLength": 30,
92104+
"description": "The name of the custom field. This may be up to 40 characters.",
92105+
"maxLength": 40,
9210692106
"type": "string"
9210792107
},
9210892108
"value": {
92109-
"description": "The value of the custom field. This may be up to 30 characters.",
92110-
"maxLength": 30,
92109+
"description": "The value of the custom field. This may be up to 140 characters.",
92110+
"maxLength": 140,
9211192111
"type": "string"
9211292112
}
9211392113
},
@@ -92889,13 +92889,13 @@
9288992889
"items": {
9289092890
"properties": {
9289192891
"name": {
92892-
"description": "The name of the custom field. This may be up to 30 characters.",
92893-
"maxLength": 30,
92892+
"description": "The name of the custom field. This may be up to 40 characters.",
92893+
"maxLength": 40,
9289492894
"type": "string"
9289592895
},
9289692896
"value": {
92897-
"description": "The value of the custom field. This may be up to 30 characters.",
92898-
"maxLength": 30,
92897+
"description": "The value of the custom field. This may be up to 140 characters.",
92898+
"maxLength": 140,
9289992899
"type": "string"
9290092900
}
9290192901
},
@@ -103470,13 +103470,13 @@
103470103470
"items": {
103471103471
"properties": {
103472103472
"name": {
103473-
"description": "The name of the custom field. This may be up to 30 characters.",
103474-
"maxLength": 30,
103473+
"description": "The name of the custom field. This may be up to 40 characters.",
103474+
"maxLength": 40,
103475103475
"type": "string"
103476103476
},
103477103477
"value": {
103478-
"description": "The value of the custom field. This may be up to 30 characters.",
103479-
"maxLength": 30,
103478+
"description": "The value of the custom field. This may be up to 140 characters.",
103479+
"maxLength": 140,
103480103480
"type": "string"
103481103481
}
103482103482
},
@@ -104427,7 +104427,7 @@
104427104427
},
104428104428
"/v1/invoices/create_preview": {
104429104429
"post": {
104430-
"description": "<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>\n\n<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>\n\n<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass a <code>proration_date</code> parameter when doing the actual subscription update. The value passed in should be the same as the <code>subscription_proration_date</code> returned on the upcoming invoice resource. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_proration_date</code> on the upcoming invoice resource.</p>",
104430+
"description": "<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>\n\n<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>\n\n<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the <code>subscription_details.proration_date</code> parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_details.proration_date</code> value passed in the request.</p>",
104431104431
"operationId": "PostInvoicesCreatePreview",
104432104432
"requestBody": {
104433104433
"content": {
@@ -107317,7 +107317,7 @@
107317107317
},
107318107318
"/v1/invoices/upcoming": {
107319107319
"get": {
107320-
"description": "<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>\n\n<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>\n\n<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass a <code>proration_date</code> parameter when doing the actual subscription update. The value passed in should be the same as the <code>subscription_proration_date</code> returned on the upcoming invoice resource. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_proration_date</code> on the upcoming invoice resource.</p>",
107320+
"description": "<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>\n\n<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>\n\n<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the <code>subscription_proration_date</code> parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_proration_date</code> value passed in the request.</p>",
107321107321
"operationId": "GetInvoicesUpcoming",
107322107322
"parameters": [
107323107323
{
@@ -114232,13 +114232,13 @@
114232114232
"items": {
114233114233
"properties": {
114234114234
"name": {
114235-
"description": "The name of the custom field. This may be up to 30 characters.",
114236-
"maxLength": 30,
114235+
"description": "The name of the custom field. This may be up to 40 characters.",
114236+
"maxLength": 40,
114237114237
"type": "string"
114238114238
},
114239114239
"value": {
114240-
"description": "The value of the custom field. This may be up to 30 characters.",
114241-
"maxLength": 30,
114240+
"description": "The value of the custom field. This may be up to 140 characters.",
114241+
"maxLength": 140,
114242114242
"type": "string"
114243114243
}
114244114244
},
@@ -146435,13 +146435,13 @@
146435146435
"items": {
146436146436
"properties": {
146437146437
"name": {
146438-
"description": "The name of the custom field. This may be up to 30 characters.",
146439-
"maxLength": 30,
146438+
"description": "The name of the custom field. This may be up to 40 characters.",
146439+
"maxLength": 40,
146440146440
"type": "string"
146441146441
},
146442146442
"value": {
146443-
"description": "The value of the custom field. This may be up to 30 characters.",
146444-
"maxLength": 30,
146443+
"description": "The value of the custom field. This may be up to 140 characters.",
146444+
"maxLength": 140,
146445146445
"type": "string"
146446146446
}
146447146447
},
@@ -147714,13 +147714,13 @@
147714147714
"items": {
147715147715
"properties": {
147716147716
"name": {
147717-
"description": "The name of the custom field. This may be up to 30 characters.",
147718-
"maxLength": 30,
147717+
"description": "The name of the custom field. This may be up to 40 characters.",
147718+
"maxLength": 40,
147719147719
"type": "string"
147720147720
},
147721147721
"value": {
147722-
"description": "The value of the custom field. This may be up to 30 characters.",
147723-
"maxLength": 30,
147722+
"description": "The value of the custom field. This may be up to 140 characters.",
147723+
"maxLength": 140,
147724147724
"type": "string"
147725147725
}
147726147726
},

0 commit comments

Comments
 (0)