Skip to content

Commit 6375cf6

Browse files
OpenAPI Update (#616)
Update OpenAPI for 1846fe4e75212f3efa2c45d03cee3668d3466b16 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 1b1b59f commit 6375cf6

File tree

4 files changed

+111
-22
lines changed

4 files changed

+111
-22
lines changed

embedded/openapi/fixtures3.beta.json

Lines changed: 58 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
"id": "card_1OMe4BCLDLpHmE6uOaydeTvZ",
452452
"last4": "4242",
453453
"metadata": {},
454-
"name": "Jenny Rosen",
454+
"name": null,
455455
"object": "card",
456456
"tokenization_method": null
457457
},
@@ -485,7 +485,7 @@
485485
"state": null
486486
},
487487
"email": null,
488-
"name": "Jenny Rosen",
488+
"name": null,
489489
"phone": null
490490
},
491491
"calculated_statement_descriptor": null,
@@ -813,7 +813,18 @@
813813
"return_url": "https://example.com/return",
814814
"setup_future_usage": "off_session",
815815
"setup_intent": null,
816-
"shipping": null
816+
"shipping": {
817+
"address": {
818+
"city": "San Francisco",
819+
"country": "US",
820+
"line1": "1234 Fake Street",
821+
"line2": null,
822+
"postal_code": "94102",
823+
"state": "CA"
824+
},
825+
"name": "Jenny Rosen",
826+
"phone": null
827+
}
817828
},
818829
"country_spec": {
819830
"default_currency": "usd",
@@ -1252,7 +1263,14 @@
12521263
},
12531264
"customer_session": {
12541265
"client_secret": "_PB0fJ3hjtNwv8q9uBE2WCHja97ziIdXj38YAVkF7DYVuqqj",
1255-
"components": {},
1266+
"components": {
1267+
"buy_button": {
1268+
"enabled": false
1269+
},
1270+
"pricing_table": {
1271+
"enabled": true
1272+
}
1273+
},
12561274
"created": 1234567890,
12571275
"customer": "cus_PB04OtV7Mglte4",
12581276
"expires_at": 1234567890,
@@ -1552,6 +1570,28 @@
15521570
"object": "file_link",
15531571
"url": "https://rwashburne-g8ezbf--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT01lM3JDTERMcEhtRTZ1fGZsX3Rlc3RfU1BWbWdMcFVLVTFIUHZpM0lpTFFDRmtm00yC4jtB6H"
15541572
},
1573+
{
1574+
"created": 1705517612,
1575+
"expired": false,
1576+
"expires_at": null,
1577+
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
1578+
"id": "link_1OZeEyBdtFoQDc8hkuUWhWwb",
1579+
"livemode": false,
1580+
"metadata": {},
1581+
"object": "file_link",
1582+
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw"
1583+
},
1584+
{
1585+
"created": 1705518728,
1586+
"expired": false,
1587+
"expires_at": null,
1588+
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
1589+
"id": "link_1OZeWyBdtFoQDc8hnxJ5gmNE",
1590+
"livemode": false,
1591+
"metadata": {},
1592+
"object": "file_link",
1593+
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfaTd5TldodW94MWM0M3pJSld1eDNRbkpL00x9dR5ays"
1594+
},
15551595
{
15561596
"created": 1705517612,
15571597
"expired": false,
@@ -2766,6 +2806,14 @@
27662806
"value": "off"
27672807
}
27682808
},
2809+
"customer_balance": {
2810+
"available": false,
2811+
"display_preference": {
2812+
"overridable": null,
2813+
"preference": "off",
2814+
"value": "off"
2815+
}
2816+
},
27692817
"eps": {
27702818
"available": false,
27712819
"display_preference": {
@@ -3751,7 +3799,8 @@
37513799
"application": null,
37523800
"application_fee_percent": null,
37533801
"automatic_tax": {
3754-
"enabled": false
3802+
"enabled": false,
3803+
"liability": null
37553804
},
37563805
"billing_cycle_anchor": 1234567890,
37573806
"billing_cycle_anchor_config": null,
@@ -4564,19 +4613,13 @@
45644613
"created": 1234567890,
45654614
"currency": "usd",
45664615
"customer": null,
4567-
"description": "OutboundPayment to a 3rd party",
4616+
"description": null,
45684617
"destination_payment_method": null,
4569-
"destination_payment_method_details": {
4570-
"destination": "ba_1OMe4dCLDLpHmE6uQd8de7sr",
4571-
"type": "us_bank_account"
4572-
},
4573-
"end_user_details": {
4574-
"ip_address": null,
4575-
"present": false
4576-
},
4618+
"destination_payment_method_details": null,
4619+
"end_user_details": null,
45774620
"expected_arrival_date": 1234567890,
45784621
"financial_account": "fa_1OMeeYCLDLpHmE6unDhjFTR3",
4579-
"hosted_regulatory_receipt_url": "https://rwashburne-g8ezbf--agrippa-mydev.dev.stripe.me/regulatory-receipt/CBQaFwoVYWNjdF8xT01lM3JDTERMcEhtRTZ1KMzD46sGMgbaXba3e5M6Nf3PjkWntrC4v07pbPdxpCdzgPRcMbTlpJHG-5eXkaD7K7UTpW_etqtlajtXtLyND-bpc2Yo",
4622+
"hosted_regulatory_receipt_url": null,
45804623
"id": "obp_1OMeeeCLDLpHmE6uj7LV979T",
45814624
"livemode": false,
45824625
"metadata": {},

embedded/openapi/fixtures3.json

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
"id": "card_1OPoudJN5vQBdWExoijT3YAB",
380380
"last4": "4242",
381381
"metadata": {},
382-
"name": "Jenny Rosen",
382+
"name": null,
383383
"object": "card",
384384
"tokenization_method": null
385385
},
@@ -413,7 +413,7 @@
413413
"state": null
414414
},
415415
"email": null,
416-
"name": "Jenny Rosen",
416+
"name": null,
417417
"phone": null
418418
},
419419
"calculated_statement_descriptor": null,
@@ -1132,7 +1132,14 @@
11321132
},
11331133
"customer_session": {
11341134
"client_secret": "_PMG9cUABRpWoToRKwjVQsfVNtZ0oe5m5LuRYsgOe68eoLHh",
1135-
"components": {},
1135+
"components": {
1136+
"buy_button": {
1137+
"enabled": false
1138+
},
1139+
"pricing_table": {
1140+
"enabled": true
1141+
}
1142+
},
11361143
"created": 1234567890,
11371144
"customer": "cus_PMG9sZduVeoHej",
11381145
"expires_at": 1234567890,
@@ -1444,6 +1451,28 @@
14441451
"object": "file_link",
14451452
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1hYY1VEMnFQN1F0SmVHfGZsX3Rlc3RfUzNDbHVhMWc0dEJuaWZVTFlQbXVSelhu00rmgafjqm"
14461453
},
1454+
{
1455+
"created": 1705517612,
1456+
"expired": false,
1457+
"expires_at": null,
1458+
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
1459+
"id": "link_1OZeEyBdtFoQDc8hkuUWhWwb",
1460+
"livemode": false,
1461+
"metadata": {},
1462+
"object": "file_link",
1463+
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw"
1464+
},
1465+
{
1466+
"created": 1705518728,
1467+
"expired": false,
1468+
"expires_at": null,
1469+
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
1470+
"id": "link_1OZeWyBdtFoQDc8hnxJ5gmNE",
1471+
"livemode": false,
1472+
"metadata": {},
1473+
"object": "file_link",
1474+
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfaTd5TldodW94MWM0M3pJSld1eDNRbkpL00x9dR5ays"
1475+
},
14471476
{
14481477
"created": 1705517612,
14491478
"expired": false,
@@ -2505,6 +2534,14 @@
25052534
"value": "off"
25062535
}
25072536
},
2537+
"customer_balance": {
2538+
"available": false,
2539+
"display_preference": {
2540+
"overridable": null,
2541+
"preference": "off",
2542+
"value": "off"
2543+
}
2544+
},
25082545
"eps": {
25092546
"available": false,
25102547
"display_preference": {
@@ -3334,7 +3371,8 @@
33343371
"application": null,
33353372
"application_fee_percent": null,
33363373
"automatic_tax": {
3337-
"enabled": false
3374+
"enabled": false,
3375+
"liability": null
33383376
},
33393377
"billing_cycle_anchor": 1234567890,
33403378
"billing_cycle_anchor_config": null,

embedded/openapi/spec3.beta.sdk.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12368,6 +12368,10 @@
1236812368
"$ref": "#/components/schemas/customer_session_resource_components_resource_pricing_table"
1236912369
}
1237012370
},
12371+
"required": [
12372+
"buy_button",
12373+
"pricing_table"
12374+
],
1237112375
"title": "CustomerSessionResourceComponents",
1237212376
"type": "object",
1237312377
"x-expandableFields": [
@@ -68948,7 +68952,7 @@
6894868952
"type": "string"
6894968953
},
6895068954
"structure": {
68951-
"description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.",
68955+
"description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.",
6895268956
"enum": [
6895368957
"",
6895468958
"free_zone_establishment",
@@ -70827,7 +70831,7 @@
7082770831
"type": "string"
7082870832
},
7082970833
"structure": {
70830-
"description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.",
70834+
"description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.",
7083170835
"enum": [
7083270836
"",
7083370837
"free_zone_establishment",
@@ -182355,7 +182359,7 @@
182355182359
"type": "string"
182356182360
},
182357182361
"structure": {
182358-
"description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.",
182362+
"description": "The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.",
182359182363
"enum": [
182360182364
"",
182361182365
"free_zone_establishment",

embedded/openapi/spec3.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8206,6 +8206,10 @@
82068206
"$ref": "#/components/schemas/customer_session_resource_components_resource_pricing_table"
82078207
}
82088208
},
8209+
"required": [
8210+
"buy_button",
8211+
"pricing_table"
8212+
],
82098213
"title": "CustomerSessionResourceComponents",
82108214
"type": "object",
82118215
"x-expandableFields": [

0 commit comments

Comments
 (0)