# Create Fixed Deposit Account

To create a fixed deposit account you first need to build the complete create fixed deposit account endpoint by passing version to the query path and authToken to the query params then you make a post request by passing IsDiscountDeposit, AccountName, AccountNo, Amount and Tenure and other required payload to the complete endpoint.&#x20;

{% hint style="info" %}
We have a Production URL and Staging URL you are advised to use the staging during development.&#x20;
{% endhint %}

&#x20;**Production URL** &#x20;

[***`http://api.mybankone.com/BankOneWebAPI/api/FixedDeposit/CreateFixedDepositAccount/version?authToken={{authoken}}`***](http://api.mybankone.com/BankOneWebAPI/api/FixedDeposit/CreateFixedDepositAccount/version?authToken={{authoken}})

**Staging URL**&#x20;

[***`http://staging.mybankone.com/BankOneWebAPI/api/FixedDeposit/CreateFixedDepositAccount/version?authToken={{authoken}}`***](http://staging.mybankone.com/BankOneWebAPI/api/FixedDeposit/CreateFixedDepositAccount/version?authToken={{authoken}})

Here is an example request with sample payload to the staging endpoint.

<mark style="color:blue;">`GET`</mark> `http://staging.mybankone.com/BankOneWebAPI/api/FixedDeposit/CreateFixedDepositAccount`

#### Path Parameters

| Name                                      | Type | Description                  |
| ----------------------------------------- | ---- | ---------------------------- |
| version<mark style="color:red;">\*</mark> | Int  | Current version for this API |

#### Query Parameters

| Name                                        | Type | Description                          |
| ------------------------------------------- | ---- | ------------------------------------ |
| authToken<mark style="color:red;">\*</mark> | Int  | Authentication code for this request |

#### Request Body

| Name                                                            | Type    | Description                                        |
| --------------------------------------------------------------- | ------- | -------------------------------------------------- |
| IsDiscountDeposit<mark style="color:red;">\*</mark>             | Boolean | Checks if the account is a discount deposit        |
| AccountName<mark style="color:red;">\*</mark>                   | String  | Customer's account name                            |
| AccountNo<mark style="color:red;">\*</mark>                     | String  | Customer's account number                          |
| Amount<mark style="color:red;">\*</mark>                        | String  | Amount to deposit into the account                 |
| Tenure<mark style="color:red;">\*</mark>                        | Int     | Deposit account tenure                             |
| ProductName<mark style="color:red;">\*</mark>                   | String  | Product name                                       |
| InterestRate<mark style="color:red;">\*</mark>                  | Int     | Deposit interest rate                              |
| MaturationDate<mark style="color:red;">\*</mark>                | Date    | Deposit maturation date                            |
| TotalFixedInterestPayable<mark style="color:red;">\*</mark>     | String  | Fixed interest                                     |
| TotalInterestPayable<mark style="color:red;">\*</mark>          | String  | Total interest payable                             |
| TotalInterestAccrued<mark style="color:red;">\*</mark>          | String  | Total interest  accrued                            |
| AccountOfficerName<mark style="color:red;">\*</mark>            | String  | Account officer's name                             |
| ShouldRollover<mark style="color:red;">\*</mark>                | Boolean | Checks if the fixed deposit can rollover           |
| ShouldRolloverWithInterest<mark style="color:red;">\*</mark>    | Boolean | Checks if fixed deposit can rollover with interest |
| DropInterestMonthly<mark style="color:red;">\*</mark>           | Boolean | Checks if it drops interest monthly                |
| AccountOfficerID<mark style="color:red;">\*</mark>              | String  | Account officer id                                 |
| AccountStatus<mark style="color:red;">\*</mark>                 | Int     | Account status                                     |
| AnnualPercentageYielding<mark style="color:red;">\*</mark>      | Int     | Annaul percentage yield                            |
| BranchID                                                        | Int     | Institution branch ID                              |
| CustomerID<mark style="color:red;">\*</mark>                    | Int     | Customer's ID                                      |
| MaturationStatus<mark style="color:red;">\*</mark>              | Int     | Maturation status                                  |
| Referee1CustomerID                                              | String  | Customer Referee                                   |
| Referee2CustomerID                                              | String  | Customer Referee                                   |
| ProductID                                                       | Int     | Product ID                                         |
| LiquidationAccount                                              | String  | Liquidation account                                |
| ApplyInterestMonthly<mark style="color:red;">\*</mark>          | Boolean | Checks whether to apply interest monthly           |
| StatementPreference\_Period<mark style="color:red;">\*</mark>   | Int     | Statement preference for a period of time          |
| StatementPreference\_Delivery<mark style="color:red;">\*</mark> | Int     | Statement preference for delivery                  |
| InterestAccrualCommenceDate<mark style="color:red;">\*</mark>   | Date    | Start date of interest accrual                     |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mybankone.com/fixed-deposit/fixed-deposits-api/create-fixed-deposit-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
