Skip to content

Commit 172fc55

Browse files
OpenAPI Update (#904)
Update OpenAPI for bc3d0504660472d5b680da0d1abca8efe61bbfd2 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 5128a58 commit 172fc55

File tree

1 file changed

+172
-0
lines changed

1 file changed

+172
-0
lines changed

embedded/openapi/spec3.json

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19380,6 +19380,15 @@
1938019380
"address": {
1938119381
"$ref": "#/components/schemas/address"
1938219382
},
19383+
"address_validation": {
19384+
"anyOf": [
19385+
{
19386+
"$ref": "#/components/schemas/issuing_card_shipping_address_validation"
19387+
}
19388+
],
19389+
"description": "Address validation details for the shipment.",
19390+
"nullable": true
19391+
},
1938319392
"carrier": {
1938419393
"description": "The delivery company that shipped a card.",
1938519394
"enum": [
@@ -19476,9 +19485,51 @@
1947619485
"type": "object",
1947719486
"x-expandableFields": [
1947819487
"address",
19488+
"address_validation",
1947919489
"customs"
1948019490
]
1948119491
},
19492+
"issuing_card_shipping_address_validation": {
19493+
"description": "",
19494+
"properties": {
19495+
"mode": {
19496+
"description": "The address validation capabilities to use.",
19497+
"enum": [
19498+
"disabled",
19499+
"normalization_only",
19500+
"validation_and_normalization"
19501+
],
19502+
"type": "string"
19503+
},
19504+
"normalized_address": {
19505+
"anyOf": [
19506+
{
19507+
"$ref": "#/components/schemas/address"
19508+
}
19509+
],
19510+
"description": "The normalized shipping address.",
19511+
"nullable": true
19512+
},
19513+
"result": {
19514+
"description": "The validation result for the shipping address.",
19515+
"enum": [
19516+
"indeterminate",
19517+
"likely_deliverable",
19518+
"likely_undeliverable"
19519+
],
19520+
"nullable": true,
19521+
"type": "string"
19522+
}
19523+
},
19524+
"required": [
19525+
"mode"
19526+
],
19527+
"title": "IssuingCardShippingAddressValidation",
19528+
"type": "object",
19529+
"x-expandableFields": [
19530+
"normalized_address"
19531+
]
19532+
},
1948219533
"issuing_card_shipping_customs": {
1948319534
"description": "",
1948419535
"properties": {
@@ -98472,6 +98523,23 @@
9847298523
"title": "required_address",
9847398524
"type": "object"
9847498525
},
98526+
"address_validation": {
98527+
"properties": {
98528+
"mode": {
98529+
"enum": [
98530+
"disabled",
98531+
"normalization_only",
98532+
"validation_and_normalization"
98533+
],
98534+
"type": "string"
98535+
}
98536+
},
98537+
"required": [
98538+
"mode"
98539+
],
98540+
"title": "address_validation_param",
98541+
"type": "object"
98542+
},
9847598543
"customs": {
9847698544
"properties": {
9847798545
"eori_number": {
@@ -99625,6 +99693,10 @@
9962599693
"explode": true,
9962699694
"style": "deepObject"
9962799695
},
99696+
"shipping": {
99697+
"explode": true,
99698+
"style": "deepObject"
99699+
},
9962899700
"spending_controls": {
9962999701
"explode": true,
9963099702
"style": "deepObject"
@@ -99682,6 +99754,106 @@
9968299754
"title": "encrypted_pin_param",
9968399755
"type": "object"
9968499756
},
99757+
"shipping": {
99758+
"description": "Updated shipping information for the card.",
99759+
"properties": {
99760+
"address": {
99761+
"properties": {
99762+
"city": {
99763+
"maxLength": 5000,
99764+
"type": "string"
99765+
},
99766+
"country": {
99767+
"maxLength": 5000,
99768+
"type": "string"
99769+
},
99770+
"line1": {
99771+
"maxLength": 5000,
99772+
"type": "string"
99773+
},
99774+
"line2": {
99775+
"maxLength": 5000,
99776+
"type": "string"
99777+
},
99778+
"postal_code": {
99779+
"maxLength": 5000,
99780+
"type": "string"
99781+
},
99782+
"state": {
99783+
"maxLength": 5000,
99784+
"type": "string"
99785+
}
99786+
},
99787+
"required": [
99788+
"city",
99789+
"country",
99790+
"line1",
99791+
"postal_code"
99792+
],
99793+
"title": "required_address",
99794+
"type": "object"
99795+
},
99796+
"address_validation": {
99797+
"properties": {
99798+
"mode": {
99799+
"enum": [
99800+
"disabled",
99801+
"normalization_only",
99802+
"validation_and_normalization"
99803+
],
99804+
"type": "string"
99805+
}
99806+
},
99807+
"required": [
99808+
"mode"
99809+
],
99810+
"title": "address_validation_param",
99811+
"type": "object"
99812+
},
99813+
"customs": {
99814+
"properties": {
99815+
"eori_number": {
99816+
"maxLength": 5000,
99817+
"type": "string"
99818+
}
99819+
},
99820+
"title": "customs_param",
99821+
"type": "object"
99822+
},
99823+
"name": {
99824+
"maxLength": 5000,
99825+
"type": "string"
99826+
},
99827+
"phone_number": {
99828+
"type": "string"
99829+
},
99830+
"require_signature": {
99831+
"type": "boolean"
99832+
},
99833+
"service": {
99834+
"enum": [
99835+
"express",
99836+
"priority",
99837+
"standard"
99838+
],
99839+
"type": "string",
99840+
"x-stripeBypassValidation": true
99841+
},
99842+
"type": {
99843+
"enum": [
99844+
"bulk",
99845+
"individual"
99846+
],
99847+
"type": "string"
99848+
}
99849+
},
99850+
"required": [
99851+
"address",
99852+
"name"
99853+
],
99854+
"title": "shipping_specs",
99855+
"type": "object"
99856+
},
9968599857
"spending_controls": {
9968699858
"description": "Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
9968799859
"properties": {

0 commit comments

Comments
 (0)