Skip to content

Commit 9144c82

Browse files
OpenAPI Update (#958)
* Update OpenAPI for d5c0875f9c7bda6824c65f4bd658378004c4c5bf * fix tests --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: David Brownman <xavdid@stripe.com>
1 parent 2512e5e commit 9144c82

File tree

4 files changed

+35524
-6284
lines changed

4 files changed

+35524
-6284
lines changed

embedded/openapi/fixtures3.json

Lines changed: 145 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,8 @@
577577
"status": "unavailable"
578578
},
579579
"three_d_secure": null,
580-
"wallet": null
580+
"wallet": null,
581+
"authorization_code": null
581582
},
582583
"type": "card"
583584
},
@@ -664,15 +665,15 @@
664665
"setup_intent": null,
665666
"shipping_address_collection": null,
666667
"shipping_cost": null,
667-
"shipping_details": null,
668668
"shipping_options": [],
669669
"status": "open",
670670
"submit_type": null,
671671
"subscription": null,
672672
"success_url": "https://example.com/success",
673673
"total_details": null,
674674
"ui_mode": "hosted",
675-
"url": "https://checkout.stripe.com/pay/c/cs_test_a1YS1URlnyQCN5fUUduORoQ7Pw41PJqDWkIVQCpJPqkfIhd6tVY8XB1OLY"
675+
"url": "https://checkout.stripe.com/pay/c/cs_test_a1YS1URlnyQCN5fUUduORoQ7Pw41PJqDWkIVQCpJPqkfIhd6tVY8XB1OLY",
676+
"shipping_details": null
676677
},
677678
"climate.order": {
678679
"amount_fees": 300,
@@ -2092,7 +2093,8 @@
20922093
"total_excluding_tax": 1000,
20932094
"total_tax_amounts": [],
20942095
"transfer_data": null,
2095-
"webhooks_delivered_at": 1234567890
2096+
"webhooks_delivered_at": 1234567890,
2097+
"automatically_finalizes_at": null
20962098
},
20972099
"invoiceitem": {
20982100
"amount": 1000,
@@ -2466,7 +2468,8 @@
24662468
"object": "issuing.settlement",
24672469
"settlement_service": "international",
24682470
"transaction_count": 2,
2469-
"transaction_volume": 3656
2471+
"transaction_volume": 3656,
2472+
"status": "complete"
24702473
},
24712474
"issuing.token": {
24722475
"card": "ic_1Pgag5B7WZ01zgkWephORn8N",
@@ -2725,7 +2728,8 @@
27252728
"submit_type": "auto",
27262729
"subscription_data": null,
27272730
"tax_id_collection": {
2728-
"enabled": false
2731+
"enabled": false,
2732+
"required": "never"
27292733
},
27302734
"transfer_data": null,
27312735
"url": "https://sangeekp-15t6ai--payment_links_ingress-mydev.dev.stripe.me/test_eVa16Q1Vd7yU1Ne8ww"
@@ -3496,24 +3500,7 @@
34963500
"interval_start": 1522540800
34973501
},
34983502
"report_type": "balance.summary.1",
3499-
"result": {
3500-
"created": 1721948551,
3501-
"expires_at": 1753484551,
3502-
"filename": "file_1Pgag7B7WZ01zgkWZFBKk3TC",
3503-
"id": "file_1Pgag7B7WZ01zgkWZFBKk3TC",
3504-
"links": {
3505-
"data": [],
3506-
"has_more": false,
3507-
"object": "list",
3508-
"url": "/v1/file_links?file=file_1Pgag7B7WZ01zgkWZFBKk3TC"
3509-
},
3510-
"object": "file",
3511-
"purpose": "finance_report_run",
3512-
"size": 16890,
3513-
"title": null,
3514-
"type": "csv",
3515-
"url": "https://sangeekp-15t6ai--upload-mydev.dev.stripe.me/v1/files/file_1Pgag7B7WZ01zgkWZFBKk3TC/contents"
3516-
},
3503+
"result": null,
35173504
"status": "succeeded",
35183505
"succeeded_at": 1234567890
35193506
},
@@ -3551,24 +3538,7 @@
35513538
"scheduled_query_run": {
35523539
"created": 1234567890,
35533540
"data_load_time": 1234567890,
3554-
"file": {
3555-
"created": 1721948551,
3556-
"expires_at": null,
3557-
"filename": "path",
3558-
"id": "file_1Pgag7B7WZ01zgkWJbdoNCXR",
3559-
"links": {
3560-
"data": [],
3561-
"has_more": false,
3562-
"object": "list",
3563-
"url": "/v1/file_links?file=file_1Pgag7B7WZ01zgkWJbdoNCXR"
3564-
},
3565-
"object": "file",
3566-
"purpose": "sigma_scheduled_query",
3567-
"size": 500,
3568-
"title": null,
3569-
"type": "csv",
3570-
"url": "https://sangeekp-15t6ai--upload-mydev.dev.stripe.me/v1/files/file_1Pgag7B7WZ01zgkWJbdoNCXR/contents"
3571-
},
3541+
"file": null,
35723542
"id": "sqr_1Pgc7AB7WZ01zgkWvpIic1Di",
35733543
"livemode": false,
35743544
"object": "scheduled_query_run",
@@ -4343,7 +4313,8 @@
43434313
"livemode": false,
43444314
"name": null,
43454315
"object": "test_helpers.test_clock",
4346-
"status": "ready"
4316+
"status": "ready",
4317+
"status_details": {}
43474318
},
43484319
"token": {
43494320
"card": {
@@ -4964,30 +4935,156 @@
49644935
},
49654936
"billing.alert": {
49664937
"alert_type": "usage_threshold",
4967-
"filter": null,
49684938
"id": "obj_123",
49694939
"livemode": true,
49704940
"object": "billing.alert",
49714941
"status": null,
49724942
"title": "title",
4973-
"usage_threshold_config": null
4943+
"usage_threshold": null
49744944
},
49754945
"billing.alert_triggered": {
49764946
"alert": {
49774947
"alert_type": "usage_threshold",
4978-
"filter": null,
49794948
"id": "obj_123",
49804949
"livemode": true,
49814950
"object": "billing.alert",
49824951
"status": null,
49834952
"title": "title",
4984-
"usage_threshold_config": null
4953+
"usage_threshold": null
49854954
},
49864955
"created": 1028554472,
49874956
"customer": "customer",
49884957
"livemode": true,
49894958
"object": "billing.alert_triggered",
49904959
"value": 111972721
4960+
},
4961+
"invoice_rendering_template": {
4962+
"created": 1028554472,
4963+
"id": "obj_123",
4964+
"livemode": true,
4965+
"metadata": null,
4966+
"nickname": null,
4967+
"object": "invoice_rendering_template",
4968+
"status": "active",
4969+
"version": 351608024
4970+
},
4971+
"billing.credit_balance_summary": {
4972+
"balances": [
4973+
{
4974+
"available_balance": {
4975+
"monetary": null,
4976+
"type": "monetary"
4977+
},
4978+
"ledger_balance": {
4979+
"monetary": null,
4980+
"type": "monetary"
4981+
}
4982+
}
4983+
],
4984+
"customer": {
4985+
"created": 1028554472,
4986+
"default_source": null,
4987+
"description": null,
4988+
"email": null,
4989+
"id": "obj_123",
4990+
"livemode": true,
4991+
"object": "customer",
4992+
"shipping": null
4993+
},
4994+
"livemode": true,
4995+
"object": "billing.credit_balance_summary"
4996+
},
4997+
"billing.credit_balance_transaction": {
4998+
"created": 1028554472,
4999+
"credit": null,
5000+
"credit_grant": {
5001+
"amount": {
5002+
"monetary": null,
5003+
"type": "monetary"
5004+
},
5005+
"applicability_config": {
5006+
"scope": {
5007+
"price_type": "metered"
5008+
}
5009+
},
5010+
"category": "paid",
5011+
"created": 1028554472,
5012+
"customer": {
5013+
"created": 1028554472,
5014+
"default_source": null,
5015+
"description": null,
5016+
"email": null,
5017+
"id": "obj_123",
5018+
"livemode": true,
5019+
"object": "customer",
5020+
"shipping": null
5021+
},
5022+
"effective_at": null,
5023+
"expires_at": null,
5024+
"id": "obj_123",
5025+
"livemode": true,
5026+
"metadata": {
5027+
"undefined": "metadata"
5028+
},
5029+
"name": null,
5030+
"object": "billing.credit_grant",
5031+
"test_clock": null,
5032+
"updated": 234430277,
5033+
"voided_at": null
5034+
},
5035+
"debit": null,
5036+
"effective_at": 247108043,
5037+
"id": "obj_123",
5038+
"livemode": true,
5039+
"object": "billing.credit_balance_transaction",
5040+
"test_clock": null,
5041+
"type": null
5042+
},
5043+
"billing.credit_grant": {
5044+
"amount": {
5045+
"monetary": null,
5046+
"type": "monetary"
5047+
},
5048+
"applicability_config": {
5049+
"scope": {
5050+
"price_type": "metered"
5051+
}
5052+
},
5053+
"category": "paid",
5054+
"created": 1028554472,
5055+
"customer": {
5056+
"created": 1028554472,
5057+
"default_source": null,
5058+
"description": null,
5059+
"email": null,
5060+
"id": "obj_123",
5061+
"livemode": true,
5062+
"object": "customer",
5063+
"shipping": null
5064+
},
5065+
"effective_at": null,
5066+
"expires_at": null,
5067+
"id": "obj_123",
5068+
"livemode": true,
5069+
"metadata": {
5070+
"undefined": "metadata"
5071+
},
5072+
"name": null,
5073+
"object": "billing.credit_grant",
5074+
"test_clock": null,
5075+
"updated": 234430277,
5076+
"voided_at": null
5077+
},
5078+
"margin": {
5079+
"active": true,
5080+
"created": 1028554472,
5081+
"id": "obj_123",
5082+
"livemode": true,
5083+
"metadata": null,
5084+
"name": null,
5085+
"object": "margin",
5086+
"percent_off": 1487902325,
5087+
"updated": 234430277
49915088
}
49925089
}
4993-
}
5090+
}

0 commit comments

Comments
 (0)