Skip to content

Commit

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

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed May 9, 2024
1 parent d350f46 commit 4a694ae
Show file tree
Hide file tree
Showing 2 changed files with 306 additions and 0 deletions.
159 changes: 159 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -29346,6 +29346,9 @@
"merchandise_not_as_described": {
"$ref": "#/components/schemas/issuing_dispute_merchandise_not_as_described_evidence"
},
"no_valid_authorization": {
"$ref": "#/components/schemas/issuing_dispute_no_valid_authorization_evidence"
},
"not_received": {
"$ref": "#/components/schemas/issuing_dispute_not_received_evidence"
},
Expand All @@ -29359,6 +29362,7 @@
"duplicate",
"fraudulent",
"merchandise_not_as_described",
"no_valid_authorization",
"not_received",
"other",
"service_not_as_described"
Expand All @@ -29380,6 +29384,7 @@
"duplicate",
"fraudulent",
"merchandise_not_as_described",
"no_valid_authorization",
"not_received",
"other",
"service_not_as_described"
Expand Down Expand Up @@ -29496,6 +29501,46 @@
"additional_documentation"
]
},
"issuing_dispute_no_valid_authorization_evidence": {
"description": "",
"properties": {
"additional_documentation": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/file"
}
],
"description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/file"
}
]
}
},
"explanation": {
"description": "Explanation of why the cardholder is disputing this transaction.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"required": [
"additional_documentation",
"explanation"
],
"title": "IssuingDisputeNoValidAuthorizationEvidence",
"type": "object",
"x-expandableFields": [
"additional_documentation"
]
},
"issuing_dispute_not_received_evidence": {
"description": "",
"properties": {
Expand Down Expand Up @@ -39417,6 +39462,15 @@
"description": "Contains information about card networks that can be used to process the payment.",
"nullable": true
},
"preferred_locales": {
"description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.",
"items": {
"maxLength": 5000,
"type": "string"
},
"nullable": true,
"type": "array"
},
"read_method": {
"description": "How card details were read in this transaction.",
"enum": [
Expand All @@ -39440,6 +39494,7 @@
"funding",
"last4",
"networks",
"preferred_locales",
"read_method"
],
"title": "payment_method_card_present",
Expand Down Expand Up @@ -40994,6 +41049,15 @@
"description": "Defines whether the authorized amount can be over-captured or not",
"type": "boolean"
},
"preferred_locales": {
"description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.",
"items": {
"maxLength": 5000,
"type": "string"
},
"nullable": true,
"type": "array"
},
"read_method": {
"description": "How card details were read in this transaction.",
"enum": [
Expand Down Expand Up @@ -41032,6 +41096,7 @@
"network",
"offline",
"overcapture_supported",
"preferred_locales",
"read_method",
"receipt"
],
Expand Down Expand Up @@ -127707,6 +127772,52 @@
],
"description": "Evidence provided when `reason` is 'merchandise_not_as_described'."
},
"no_valid_authorization": {
"anyOf": [
{
"properties": {
"additional_documentation": {
"anyOf": [
{
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
},
"explanation": {
"anyOf": [
{
"maxLength": 1500,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Explanation of why the cardholder is disputing this transaction."
}
},
"title": "no_valid_authorization",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Evidence provided when `reason` is 'no_valid_authorization'."
},
"not_received": {
"anyOf": [
{
Expand Down Expand Up @@ -127869,6 +127980,7 @@
"duplicate",
"fraudulent",
"merchandise_not_as_described",
"no_valid_authorization",
"not_received",
"other",
"service_not_as_described"
Expand Down Expand Up @@ -128538,6 +128650,52 @@
],
"description": "Evidence provided when `reason` is 'merchandise_not_as_described'."
},
"no_valid_authorization": {
"anyOf": [
{
"properties": {
"additional_documentation": {
"anyOf": [
{
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute."
},
"explanation": {
"anyOf": [
{
"maxLength": 1500,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Explanation of why the cardholder is disputing this transaction."
}
},
"title": "no_valid_authorization",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Evidence provided when `reason` is 'no_valid_authorization'."
},
"not_received": {
"anyOf": [
{
Expand Down Expand Up @@ -128700,6 +128858,7 @@
"duplicate",
"fraudulent",
"merchandise_not_as_described",
"no_valid_authorization",
"not_received",
"other",
"service_not_as_described"
Expand Down

0 comments on commit 4a694ae

Please sign in to comment.