Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Feb 29, 2024
1 parent df364b3 commit e85b753
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 4 deletions.
7 changes: 6 additions & 1 deletion openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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,
Expand Down
17 changes: 16 additions & 1 deletion openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -140099,6 +140099,10 @@
"currency": {
"type": "string"
},
"payment_method": {
"maxLength": 5000,
"type": "string"
},
"routing_number": {
"maxLength": 5000,
"type": "string"
Expand Down
7 changes: 6 additions & 1 deletion openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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,
Expand Down
17 changes: 16 additions & 1 deletion openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118125,6 +118125,9 @@ paths:
type: string
currency:
type: string
payment_method:
maxLength: 5000
type: string
routing_number:
maxLength: 5000
type: string
Expand Down

0 comments on commit e85b753

Please sign in to comment.