Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #844

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading