diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index 9fc421c4..c428c7b2 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -2674,7 +2674,8 @@ "three_d_secure_usage": { "supported": true }, - "wallet": null + "wallet": null, + "generated_from": null }, "created": 1234567890, "customer": null, diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 08140bb5..f5c075b8 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -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": { @@ -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, @@ -39645,6 +39675,7 @@ "exp_month", "exp_year", "funding", + "generated_from", "last4", "networks", "three_d_secure_usage", @@ -39654,6 +39685,7 @@ "type": "object", "x-expandableFields": [ "checks", + "generated_from", "networks", "three_d_secure_usage", "wallet" @@ -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": {