Update a connected account

POST {{url}}/api/v1/accounts/:connected_account_id/update

Request Body

{"account_details"=>{"beneficial_owners"=>[{"identification_type"=>"PERSONAL_ID", "nationality"=>"CN", "attachments"=>{"identity_files"=>[{"description"=>"{{filename}}", "file_id"=>"{{file_id}}", "tag"=>"PERSONAL_ID_FRONT"}, {"description"=>"{{filename}}", "file_id"=>"{{file_id}}", "tag"=>"PERSONAL_ID_BACK"}]}}], "business_details"=>{"address"=>{"country_code"=>"CN"}, "industry_category"=>"E-Commerce - Merchant", "purpose"=>"Payment to service providers - Shipping & Delivery Companies/Agencies", "url"=>"http://www.example.com", "attachments"=>{"business_documents"=>[{"description"=>"{{filename}}", "file_id"=>"{{file_id}}", "tag"=>"BUSINESS_LICENSE"}]}}, "legal_rep_details"=>{"attachments"=>{"identity_files"=>[{"description"=>"{{filename}}", "file_id"=>"{{file_id}}", "tag"=>"PERSONAL_ID_FRONT"}, {"description"=>"{{filename}}", "file_id"=>"{{file_id}}", "tag"=>"PERSONAL_ID_BACK"}]}, "identification_type"=>"PERSONAL_ID", "nationality"=>"CN"}}, "account_usage"=>{"card_usage"=>["NONE"], "collection_country_codes"=>["CN"], "collection_from"=>["CLIENTS_AND_OTHER_THIRD_PARTIES"], "expected_monthly_transaction_volume"=>{"amount"=>"100000.0"}, "payout_country_codes"=>["CN"], "payout_to"=>["CONNECTED_AWX_ACCOUNT", "VENDORS_SUPPLIERS_OR_OTHER_THIRD_PARTY_BANK_ACCOUNT", "WITHDRAWAL_TO_BANK_ACCOUNT_UNDER_THE_SAME_NAME"]}, "customer_agreements"=>{"agreed_to_data_usage"=>true, "agreed_to_terms_and_conditions"=>true, "opt_in_for_marketing"=>false}, "primary_contact"=>{"email"=>"test+{{$guid}}@example.com"}}