Update a bank account or card

POST {{baseUrl}}/v1/accounts/:account/external_accounts/:id

Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency. Other bank account details are not editable by design.

You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.

Request Body

[{"name"=>"account_holder_name", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"account_holder_type", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"account_type", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"address_city", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"address_country", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"address_line1", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"address_line2", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"address_state", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"address_zip", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"default_for_currency", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"documents[bank_account_ownership_verification][files][0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"documents[bank_account_ownership_verification][files][1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"exp_month", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"exp_year", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"name", "value"=>"<string>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring