diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index 8a6daf40..561c151a 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -834,7 +834,8 @@ }, "routing_number": "110000000", "status_details": {} - } + }, + "customer": null }, "return_url": "https://example.com/return", "setup_future_usage": "off_session", diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 7e53e23e..5a4a6389 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -10003,6 +10003,26 @@ "cashapp": { "$ref": "#/components/schemas/payment_method_cashapp" }, + "customer": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/customer" + } + ], + "description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/customer" + } + ] + } + }, "customer_balance": { "$ref": "#/components/schemas/payment_method_customer_balance" }, @@ -10138,6 +10158,7 @@ }, "required": [ "billing_details", + "customer", "type" ], "title": "ConfirmationTokensResourcePaymentMethodPreview", @@ -10157,6 +10178,7 @@ "card", "card_present", "cashapp", + "customer", "customer_balance", "eps", "fpx", diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index de127027..5df03474 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -7076,6 +7076,26 @@ "cashapp": { "$ref": "#/components/schemas/payment_method_cashapp" }, + "customer": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/customer" + } + ], + "description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/customer" + } + ] + } + }, "customer_balance": { "$ref": "#/components/schemas/payment_method_customer_balance" }, @@ -7222,6 +7242,7 @@ "card", "card_present", "cashapp", + "customer", "customer_balance", "eps", "fpx",