Skip to content

Commit a4062dc

Browse files
OpenAPI Update (#697)
Update OpenAPI for e85b7536e935aae61399a5ab052907bb88f0d970 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent daf47f6 commit a4062dc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190895,7 +190895,7 @@
190895190895
"description": "The bank account this token will represent.",
190896190896
"properties": {
190897190897
"account_holder_name": {
190898-
"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.",
190898+
"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.",
190899190899
"maxLength": 5000,
190900190900
"type": "string"
190901190901
},
@@ -190933,6 +190933,11 @@
190933190933
"description": "The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts)",
190934190934
"type": "string"
190935190935
},
190936+
"payment_method": {
190937+
"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`.",
190938+
"maxLength": 5000,
190939+
"type": "string"
190940+
},
190936190941
"routing_number": {
190937190942
"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.",
190938190943
"maxLength": 5000,

embedded/openapi/spec3.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140099,6 +140099,10 @@
140099140099
"currency": {
140100140100
"type": "string"
140101140101
},
140102+
"payment_method": {
140103+
"maxLength": 5000,
140104+
"type": "string"
140105+
},
140102140106
"routing_number": {
140103140107
"maxLength": 5000,
140104140108
"type": "string"

0 commit comments

Comments
 (0)