Skip to content

Commit

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

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jul 8, 2024
1 parent 5128a58 commit 172fc55
Showing 1 changed file with 172 additions and 0 deletions.
172 changes: 172 additions & 0 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -19380,6 +19380,15 @@
"address": {
"$ref": "#/components/schemas/address"
},
"address_validation": {
"anyOf": [
{
"$ref": "#/components/schemas/issuing_card_shipping_address_validation"
}
],
"description": "Address validation details for the shipment.",
"nullable": true
},
"carrier": {
"description": "The delivery company that shipped a card.",
"enum": [
Expand Down Expand Up @@ -19476,9 +19485,51 @@
"type": "object",
"x-expandableFields": [
"address",
"address_validation",
"customs"
]
},
"issuing_card_shipping_address_validation": {
"description": "",
"properties": {
"mode": {
"description": "The address validation capabilities to use.",
"enum": [
"disabled",
"normalization_only",
"validation_and_normalization"
],
"type": "string"
},
"normalized_address": {
"anyOf": [
{
"$ref": "#/components/schemas/address"
}
],
"description": "The normalized shipping address.",
"nullable": true
},
"result": {
"description": "The validation result for the shipping address.",
"enum": [
"indeterminate",
"likely_deliverable",
"likely_undeliverable"
],
"nullable": true,
"type": "string"
}
},
"required": [
"mode"
],
"title": "IssuingCardShippingAddressValidation",
"type": "object",
"x-expandableFields": [
"normalized_address"
]
},
"issuing_card_shipping_customs": {
"description": "",
"properties": {
Expand Down Expand Up @@ -98472,6 +98523,23 @@
"title": "required_address",
"type": "object"
},
"address_validation": {
"properties": {
"mode": {
"enum": [
"disabled",
"normalization_only",
"validation_and_normalization"
],
"type": "string"
}
},
"required": [
"mode"
],
"title": "address_validation_param",
"type": "object"
},
"customs": {
"properties": {
"eori_number": {
Expand Down Expand Up @@ -99625,6 +99693,10 @@
"explode": true,
"style": "deepObject"
},
"shipping": {
"explode": true,
"style": "deepObject"
},
"spending_controls": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -99682,6 +99754,106 @@
"title": "encrypted_pin_param",
"type": "object"
},
"shipping": {
"description": "Updated shipping information for the card.",
"properties": {
"address": {
"properties": {
"city": {
"maxLength": 5000,
"type": "string"
},
"country": {
"maxLength": 5000,
"type": "string"
},
"line1": {
"maxLength": 5000,
"type": "string"
},
"line2": {
"maxLength": 5000,
"type": "string"
},
"postal_code": {
"maxLength": 5000,
"type": "string"
},
"state": {
"maxLength": 5000,
"type": "string"
}
},
"required": [
"city",
"country",
"line1",
"postal_code"
],
"title": "required_address",
"type": "object"
},
"address_validation": {
"properties": {
"mode": {
"enum": [
"disabled",
"normalization_only",
"validation_and_normalization"
],
"type": "string"
}
},
"required": [
"mode"
],
"title": "address_validation_param",
"type": "object"
},
"customs": {
"properties": {
"eori_number": {
"maxLength": 5000,
"type": "string"
}
},
"title": "customs_param",
"type": "object"
},
"name": {
"maxLength": 5000,
"type": "string"
},
"phone_number": {
"type": "string"
},
"require_signature": {
"type": "boolean"
},
"service": {
"enum": [
"express",
"priority",
"standard"
],
"type": "string",
"x-stripeBypassValidation": true
},
"type": {
"enum": [
"bulk",
"individual"
],
"type": "string"
}
},
"required": [
"address",
"name"
],
"title": "shipping_specs",
"type": "object"
},
"spending_controls": {
"description": "Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.",
"properties": {
Expand Down

0 comments on commit 172fc55

Please sign in to comment.