diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 694d5a2f..5c3c5212 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -190895,7 +190895,7 @@ "description": "The bank account this token will represent.", "properties": { "account_holder_name": { - "description": "The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.", + "description": "The name of the person or business that owns the bank account. This field is required when attaching the bank account to a `Customer` object.", "maxLength": 5000, "type": "string" }, @@ -190933,6 +190933,11 @@ "description": "The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts)", "type": "string" }, + "payment_method": { + "description": "The ID of a Payment Method with a `type` of `us_bank_account`. The Payment Method's bank account information will be copied and returned as a Bank Account Token. This parameter is exclusive with respect to all other parameters in the `bank_account` hash. You must include the top-level `customer` parameter if the Payment Method is attached to a `Customer` object. If the Payment Method is not attached to a `Customer` object, it will be consumed and cannot be used again. You may not use Payment Methods which were created by a Setup Intent with `attach_to_self=true`.", + "maxLength": 5000, + "type": "string" + }, "routing_number": { "description": "The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.", "maxLength": 5000, diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 4485119a..957f1b3f 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -179266,7 +179266,7 @@ paths: account_holder_name: description: >- The name of the person or business that owns the bank - account.This field is required when attaching the bank + account. This field is required when attaching the bank account to a `Customer` object. maxLength: 5000 type: string @@ -179308,6 +179308,21 @@ paths: country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts) type: string + payment_method: + description: >- + The ID of a Payment Method with a `type` of + `us_bank_account`. The Payment Method's bank account + information will be copied and returned as a Bank + Account Token. This parameter is exclusive with respect + to all other parameters in the `bank_account` hash. You + must include the top-level `customer` parameter if the + Payment Method is attached to a `Customer` object. If + the Payment Method is not attached to a `Customer` + object, it will be consumed and cannot be used again. + You may not use Payment Methods which were created by a + Setup Intent with `attach_to_self=true`. + maxLength: 5000 + type: string routing_number: description: >- The routing number, sort code, or other diff --git a/openapi/spec3.json b/openapi/spec3.json index 2d2bf3ac..f5add5c0 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -140099,6 +140099,10 @@ "currency": { "type": "string" }, + "payment_method": { + "maxLength": 5000, + "type": "string" + }, "routing_number": { "maxLength": 5000, "type": "string" diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index b7de6f34..cbadeca6 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -147109,7 +147109,7 @@ "description": "The bank account this token will represent.", "properties": { "account_holder_name": { - "description": "The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.", + "description": "The name of the person or business that owns the bank account. This field is required when attaching the bank account to a `Customer` object.", "maxLength": 5000, "type": "string" }, @@ -147147,6 +147147,11 @@ "description": "The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts)", "type": "string" }, + "payment_method": { + "description": "The ID of a Payment Method with a `type` of `us_bank_account`. The Payment Method's bank account information will be copied and returned as a Bank Account Token. This parameter is exclusive with respect to all other parameters in the `bank_account` hash. You must include the top-level `customer` parameter if the Payment Method is attached to a `Customer` object. If the Payment Method is not attached to a `Customer` object, it will be consumed and cannot be used again. You may not use Payment Methods which were created by a Setup Intent with `attach_to_self=true`.", + "maxLength": 5000, + "type": "string" + }, "routing_number": { "description": "The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.", "maxLength": 5000, diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index 527369f2..f7e06823 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -137550,7 +137550,7 @@ paths: account_holder_name: description: >- The name of the person or business that owns the bank - account.This field is required when attaching the bank + account. This field is required when attaching the bank account to a `Customer` object. maxLength: 5000 type: string @@ -137592,6 +137592,21 @@ paths: country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts) type: string + payment_method: + description: >- + The ID of a Payment Method with a `type` of + `us_bank_account`. The Payment Method's bank account + information will be copied and returned as a Bank + Account Token. This parameter is exclusive with respect + to all other parameters in the `bank_account` hash. You + must include the top-level `customer` parameter if the + Payment Method is attached to a `Customer` object. If + the Payment Method is not attached to a `Customer` + object, it will be consumed and cannot be used again. + You may not use Payment Methods which were created by a + Setup Intent with `attach_to_self=true`. + maxLength: 5000 + type: string routing_number: description: >- The routing number, sort code, or other diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index e57178bb..86bfb59b 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -118125,6 +118125,9 @@ paths: type: string currency: type: string + payment_method: + maxLength: 5000 + type: string routing_number: maxLength: 5000 type: string