close_account
https://[domain]/ws/fb/new-request
- 
                                                Close client account. 
- 
                                                Customer Type: Fully Disclosed, Non-Disclosed and Advisor-Clients. 
 Processing Time
Processing Time
                                            Requests are processed between 8am EST to 11am EST. Requests received outside of these hours will be processed the following day.
 Request Parameters
Request Parameters
                                            | Name | Type | Description | 
|---|---|---|
| Name | Type | Description | 
| client_ib_acct_id | String | IBKR account ID of the advisor/broker client account requesting to be closed. | 
| id | ID is a unique identifier which you create for each funding request. | 
 | 
| close_reason | String | Reason for closing the IBKR Account. | 
| method | ACHUS ACHCA WIRE | ACHUS includes: 
 ACHCA: Canadian Electronic Funds Transfer WIRE: Electronic fund transfer through the fed wire system. | 
| saved_instruction_name | String | Name of the previously created instruction. | 
XSD
<xsd:complexType name="close_account" maxOccurs="unbounded" >
<xsd:sequence>
 <xsd:element name="account_number" type="string" maxOccurs="1" />
 <xsd:element name="id" type="Non-Negative-Integer " maxOccurs="1" />
 <xsd:element name="close_reason" type="string " maxOccurs="1" />
 <xsd:element name="withdrawal_info" usage="required if the account is funded" type="string " maxOccurs="1" />
     <xsd:attribute name="method" type="xsd:string" use="required">
     <xsd:attribute name="saved_instruction_name" type="xsd:string" use="required">
</xsd:sequence>Sample
<?xml version="1" encoding="UTF-8"?><instruction_set
    xmlns="http://www.interactivebrokers.com/fbfb_instruction_set"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.interactivebrokers.com/fbfb_instruction_set fbfb_instruction_set.xsd "
    creation_date="2019-01-11" id="2" version="1.1">
    <close_account id="2450">
        <client_ib_acct_id>U1234567</client_ib_acct_id>
        <close_reason> No longer needed </close_reason>
        <withdrawal_info>
            <method>WIRE</method>
            <saved_instruction_name> Test Bank Instr. </saved_instruction_name>
        </withdrawal_info>
    </close_account>
</instruction_set><?xml version="1" encoding="UTF-8"?><instruction_set
    xmlns="http://www.interactivebrokers.com/fbfb_instruction_set"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.interactivebrokers.com/fbfb_instruction_set fbfb_instruction_set.xsd "
    creation_date="2019-01-11" id="2" version="1.1">
    <close_account id="2450">
        <client_ib_acct_id>U1234567</client_ib_acct_id>
        <close_reason> No longer needed </close_reason>
    </close_account>
</instruction_set> Response Parameters
Response Parameters
                                            | Name | Type | Description | 
|---|---|---|
| creation_date | YYYY-MM-DD | Date/Time which the file was processed by IBKR. | 
| id | Id of the instruction to which this node is a response | 
 | 
| instr_id | Id of the instruction to which this node is a response | ID is a unique identifier which you create for each funding request. | 
| status | PENDING PROCESSED REJECTED | Current status of the instruction associated with the instr_id. | 
| code | String | Error code- (included only if there is an error) | 
| description | String | Description of the error (included only if there is an error) | 
| ib_instr_id | String | ID defined by IBKR. | 
Sample
<?xml version="1" encoding="UTF-8" standalone="true"?><instr_result_set creation_date="2020-04-09-04:00" version="1.2" id="2" xmlns="http://www.interactivebrokers.com/fbfb_result_set">
    <result>
        <instr_id>2</instr_id>
        <status>PENDING</status>
        <ib_instr_id>1</ib_instr_id>
        <code/>
        <description/>
    </result>
</instr_result_set>




