Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #697

Merged
merged 1 commit into from Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion embedded/openapi/spec3.beta.sdk.json
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
4 changes: 4 additions & 0 deletions embedded/openapi/spec3.json
Expand Up @@ -140099,6 +140099,10 @@
"currency": {
"type": "string"
},
"payment_method": {
"maxLength": 5000,
"type": "string"
},
"routing_number": {
"maxLength": 5000,
"type": "string"
Expand Down