Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 30, 2024
1 parent 0af0e11 commit 5a021fa
Show file tree
Hide file tree
Showing 4 changed files with 288 additions and 0 deletions.
83 changes: 83 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6219,6 +6219,27 @@
]
}
},
"card_generated_from_payment_method_details": {
"description": "",
"properties": {
"card_present": {
"$ref": "#/components/schemas/payment_method_details_card_present"
},
"type": {
"description": "The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.",
"maxLength": 5000,
"type": "string"
}
},
"required": [
"type"
],
"title": "card_generated_from_payment_method_details",
"type": "object",
"x-expandableFields": [
"card_present"
]
},
"card_issuing_account_terms_of_service": {
"description": "",
"properties": {
Expand Down Expand Up @@ -39592,6 +39613,15 @@
"maxLength": 5000,
"type": "string"
},
"generated_from": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_method_card_generated_card"
}
],
"description": "Details of the original PaymentMethod that created this object.",
"nullable": true
},
"iin": {
"description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
"maxLength": 5000,
Expand Down Expand Up @@ -39645,6 +39675,7 @@
"exp_month",
"exp_year",
"funding",
"generated_from",
"last4",
"networks",
"three_d_secure_usage",
Expand All @@ -39654,6 +39685,7 @@
"type": "object",
"x-expandableFields": [
"checks",
"generated_from",
"networks",
"three_d_secure_usage",
"wallet"
Expand Down Expand Up @@ -39690,6 +39722,57 @@
"type": "object",
"x-expandableFields": []
},
"payment_method_card_generated_card": {
"description": "",
"properties": {
"charge": {
"description": "The charge that created this object.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"payment_method_details": {
"anyOf": [
{
"$ref": "#/components/schemas/card_generated_from_payment_method_details"
}
],
"description": "Transaction-specific details of the payment method used in the payment.",
"nullable": true
},
"setup_attempt": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/setup_attempt"
}
],
"description": "The ID of the SetupAttempt that generated this PaymentMethod, if any.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/setup_attempt"
}
]
}
}
},
"required": [
"charge",
"payment_method_details",
"setup_attempt"
],
"title": "payment_method_card_generated_card",
"type": "object",
"x-expandableFields": [
"payment_method_details",
"setup_attempt"
]
},
"payment_method_card_present": {
"description": "",
"properties": {
Expand Down
61 changes: 61 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5894,6 +5894,24 @@ components:
- deleted_payment_source
- external_account
- payment_source
card_generated_from_payment_method_details:
description: ''
properties:
card_present:
$ref: '#/components/schemas/payment_method_details_card_present'
type:
description: >-
The type of payment method transaction-specific details from the
transaction that generated this `card` payment method. Always
`card_present`.
maxLength: 5000
type: string
required:
- type
title: card_generated_from_payment_method_details
type: object
x-expandableFields:
- card_present
card_issuing_account_terms_of_service:
description: ''
properties:
Expand Down Expand Up @@ -35944,6 +35962,11 @@ components:
`unknown`.
maxLength: 5000
type: string
generated_from:
anyOf:
- $ref: '#/components/schemas/payment_method_card_generated_card'
description: Details of the original PaymentMethod that created this object.
nullable: true
iin:
description: >-
Issuer identification number of the card. (For internal use only and
Expand Down Expand Up @@ -35991,6 +36014,7 @@ components:
- exp_month
- exp_year
- funding
- generated_from
- last4
- networks
- three_d_secure_usage
Expand All @@ -35999,6 +36023,7 @@ components:
type: object
x-expandableFields:
- checks
- generated_from
- networks
- three_d_secure_usage
- wallet
Expand Down Expand Up @@ -36033,6 +36058,42 @@ components:
title: payment_method_card_checks
type: object
x-expandableFields: []
payment_method_card_generated_card:
description: ''
properties:
charge:
description: The charge that created this object.
maxLength: 5000
nullable: true
type: string
payment_method_details:
anyOf:
- $ref: '#/components/schemas/card_generated_from_payment_method_details'
description: >-
Transaction-specific details of the payment method used in the
payment.
nullable: true
setup_attempt:
anyOf:
- maxLength: 5000
type: string
- $ref: '#/components/schemas/setup_attempt'
description: >-
The ID of the SetupAttempt that generated this PaymentMethod, if
any.
nullable: true
x-expansionResources:
oneOf:
- $ref: '#/components/schemas/setup_attempt'
required:
- charge
- payment_method_details
- setup_attempt
title: payment_method_card_generated_card
type: object
x-expandableFields:
- payment_method_details
- setup_attempt
payment_method_card_present:
description: ''
properties:
Expand Down
83 changes: 83 additions & 0 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5167,6 +5167,27 @@
]
}
},
"card_generated_from_payment_method_details": {
"description": "",
"properties": {
"card_present": {
"$ref": "#/components/schemas/payment_method_details_card_present"
},
"type": {
"description": "The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.",
"maxLength": 5000,
"type": "string"
}
},
"required": [
"type"
],
"title": "card_generated_from_payment_method_details",
"type": "object",
"x-expandableFields": [
"card_present"
]
},
"card_issuing_account_terms_of_service": {
"description": "",
"properties": {
Expand Down Expand Up @@ -33956,6 +33977,15 @@
"maxLength": 5000,
"type": "string"
},
"generated_from": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_method_card_generated_card"
}
],
"description": "Details of the original PaymentMethod that created this object.",
"nullable": true
},
"iin": {
"description": "Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)",
"maxLength": 5000,
Expand Down Expand Up @@ -34009,6 +34039,7 @@
"exp_month",
"exp_year",
"funding",
"generated_from",
"last4",
"networks",
"three_d_secure_usage",
Expand All @@ -34018,6 +34049,7 @@
"type": "object",
"x-expandableFields": [
"checks",
"generated_from",
"networks",
"three_d_secure_usage",
"wallet"
Expand Down Expand Up @@ -34054,6 +34086,57 @@
"type": "object",
"x-expandableFields": []
},
"payment_method_card_generated_card": {
"description": "",
"properties": {
"charge": {
"description": "The charge that created this object.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"payment_method_details": {
"anyOf": [
{
"$ref": "#/components/schemas/card_generated_from_payment_method_details"
}
],
"description": "Transaction-specific details of the payment method used in the payment.",
"nullable": true
},
"setup_attempt": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/setup_attempt"
}
],
"description": "The ID of the SetupAttempt that generated this PaymentMethod, if any.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/setup_attempt"
}
]
}
}
},
"required": [
"charge",
"payment_method_details",
"setup_attempt"
],
"title": "payment_method_card_generated_card",
"type": "object",
"x-expandableFields": [
"payment_method_details",
"setup_attempt"
]
},
"payment_method_card_present": {
"description": "",
"properties": {
Expand Down
Loading

0 comments on commit 5a021fa

Please sign in to comment.