diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index c59b4c7a..c6ae8556 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -5492,6 +5492,9 @@ "nullable": true, "type": "string" }, + "networks": { + "$ref": "#/components/schemas/token_card_networks" + }, "object": { "description": "String representing the object's type. Objects of the same type share the same value.", "enum": [ @@ -5539,7 +5542,8 @@ "type": "object", "x-expandableFields": [ "account", - "customer" + "customer", + "networks" ], "x-resourceId": "card", "x-stripeOperations": [ @@ -37473,6 +37477,12 @@ "nullable": true, "type": "string" }, + "display_brand": { + "description": "The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "exp_month": { "description": "Two-digit number representing the card's expiration month.", "type": "integer" @@ -63622,6 +63632,23 @@ "in_package": "" } }, + "token_card_networks": { + "description": "", + "properties": { + "preferred": { + "description": "The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "preferred" + ], + "title": "token_card_networks", + "type": "object", + "x-expandableFields": [] + }, "topup": { "description": "To top up your Stripe balance, you create a top-up object. You can retrieve\nindividual top-ups, as well as list all top-ups. Top-ups are identified by a\nunique, random ID.\n\nRelated guide: [Topping up your platform account](https://stripe.com/docs/connect/top-ups)", "properties": { @@ -147473,6 +147500,22 @@ "description": "Four-digit number representing the card's expiration year.", "type": "integer" }, + "networks": { + "description": "Contains information about card networks used to process the payment.", + "properties": { + "preferred": { + "description": "The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.", + "enum": [ + "cartes_bancaires", + "mastercard", + "visa" + ], + "type": "string" + } + }, + "title": "networks_params", + "type": "object" + }, "number": { "description": "The card number, as a string without any separators.", "maxLength": 5000, @@ -148204,6 +148247,23 @@ "exp_year": { "description": "Four-digit number representing the card's expiration year.", "type": "integer" + }, + "networks": { + "description": "Contains information about card networks used to process the payment.", + "properties": { + "preferred": { + "description": "The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.", + "enum": [ + "", + "cartes_bancaires", + "mastercard", + "visa" + ], + "type": "string" + } + }, + "title": "networks_update_api_param", + "type": "object" } }, "title": "update_api_param", @@ -189861,6 +189921,22 @@ "maxLength": 5000, "type": "string" }, + "networks": { + "description": "Contains information about card networks used to process the payment.", + "properties": { + "preferred": { + "description": "The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.", + "enum": [ + "cartes_bancaires", + "mastercard", + "visa" + ], + "type": "string" + } + }, + "title": "networks_param_specs", + "type": "object" + }, "number": { "description": "The card number, as a string without any separators.", "maxLength": 5000, diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 06439b3c..4da86f46 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -3574,6 +3574,9 @@ "nullable": true, "type": "string" }, + "networks": { + "$ref": "#/components/schemas/token_card_networks" + }, "object": { "description": "String representing the object's type. Objects of the same type share the same value.", "enum": [ @@ -3607,7 +3610,8 @@ "type": "object", "x-expandableFields": [ "account", - "customer" + "customer", + "networks" ], "x-resourceId": "card" }, @@ -25211,6 +25215,12 @@ "nullable": true, "type": "string" }, + "display_brand": { + "description": "The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "exp_month": { "description": "Two-digit number representing the card's expiration month.", "type": "integer" @@ -43190,6 +43200,20 @@ ], "x-resourceId": "token" }, + "token_card_networks": { + "description": "", + "properties": { + "preferred": { + "description": "The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "title": "token_card_networks", + "type": "object", + "x-expandableFields": [] + }, "topup": { "description": "To top up your Stripe balance, you create a top-up object. You can retrieve\nindividual top-ups, as well as list all top-ups. Top-ups are identified by a\nunique, random ID.\n\nRelated guide: [Topping up your platform account](https://stripe.com/docs/connect/top-ups)", "properties": { @@ -107192,6 +107216,20 @@ "exp_year": { "type": "integer" }, + "networks": { + "properties": { + "preferred": { + "enum": [ + "cartes_bancaires", + "mastercard", + "visa" + ], + "type": "string" + } + }, + "title": "networks_params", + "type": "object" + }, "number": { "maxLength": 5000, "type": "string" @@ -107878,6 +107916,21 @@ }, "exp_year": { "type": "integer" + }, + "networks": { + "properties": { + "preferred": { + "enum": [ + "", + "cartes_bancaires", + "mastercard", + "visa" + ], + "type": "string" + } + }, + "title": "networks_update_api_param", + "type": "object" } }, "title": "update_api_param", @@ -139959,6 +140012,20 @@ "maxLength": 5000, "type": "string" }, + "networks": { + "properties": { + "preferred": { + "enum": [ + "cartes_bancaires", + "mastercard", + "visa" + ], + "type": "string" + } + }, + "title": "networks_param_specs", + "type": "object" + }, "number": { "maxLength": 5000, "type": "string"