You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -282,7 +283,7 @@ type BankAccountParams struct {
282
283
Country*string`form:"country"`
283
284
// The currency the bank account is in. This must be a country/currency pairing that [Stripe supports](https://stripe.com/docs/payouts).
284
285
Currency*string`form:"currency"`
285
-
// When set to true, this becomes the default external account for its currency.
286
+
// When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
// Delete a specified external account for a given account.
421
422
typeBankAccountDeleteParamsstruct {
422
-
Params`form:"*"`
423
-
Account*string`form:"-"`// Included in URL
423
+
Params`form:"*"`
424
+
Customer*string`form:"-"`// Included in URL
425
+
Account*string`form:"-"`// Included in URL
424
426
}
425
427
426
428
// One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the bank account that displays the last 4 digits of the account number, either a statement or a check.
@@ -444,8 +446,9 @@ type BankAccountUpdateDocumentsParams struct {
444
446
// You can re-enable a disabled bank account by performing an update call without providing any
445
447
// arguments or changes.
446
448
typeBankAccountUpdateParamsstruct {
447
-
Params`form:"*"`
448
-
Account*string`form:"-"`// Included in URL
449
+
Params`form:"*"`
450
+
Customer*string`form:"-"`// Included in URL
451
+
Account*string`form:"-"`// Included in URL
449
452
// The name of the person or business that owns the bank account.
// The account number for the bank account, in string form. Must be a checking account.
504
520
AccountNumber*string`form:"account_number"`
505
521
// The country in which the bank account is located.
506
522
Country*string`form:"country"`
507
523
// The currency the bank account is in. This must be a country/currency pairing that [Stripe supports](https://stripe.com/docs/payouts).
508
524
Currency*string`form:"currency"`
525
+
// When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
// Specifies which fields in the response should be expanded.
529
+
Expand []*string`form:"expand"`
530
+
// Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
531
+
Metadatamap[string]string`form:"metadata"`
509
532
// The ID of a Payment Method with a `type` of `us_bank_account`. The Payment Method's bank account information will be copied and
510
533
// returned as a Bank Account Token. This parameter is exclusive with respect to all other parameters in the `bank_account` hash.
511
534
// You must include the top-level `customer` parameter if the Payment Method is attached to a `Customer` object. If the Payment
@@ -518,12 +541,41 @@ type BankAccountCreateParams struct {
518
541
RoutingNumber*string`form:"routing_number"`
519
542
}
520
543
521
-
// AppendToAsSourceOrExternalAccount appends the given BankAccountCreateParams as either a source or external account.
0 commit comments