Skip to content

Commit

Permalink
OpenAPI Update (#844)
Browse files Browse the repository at this point in the history
Update OpenAPI for 5a021fa7ca349192b7f5d7622fdcf656edd0b019

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored May 30, 2024
1 parent 084022a commit 1378349
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
3 changes: 2 additions & 1 deletion embedded/openapi/fixtures3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2674,7 +2674,8 @@
"three_d_secure_usage": {
"supported": true
},
"wallet": null
"wallet": null,
"generated_from": null
},
"created": 1234567890,
"customer": null,
Expand Down
83 changes: 83 additions & 0 deletions embedded/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

0 comments on commit 1378349

Please sign in to comment.