Object

Overview of the account.fixed_deposit object.

Shown below is a sample account.fixed_deposit object.

{
  "id": "fd_9asdasdsadasd2342asd",
  "object": "account.fixed_deposit",
  "type": "fixed_deposit",
  "linked_to_account_id": "sa_Ov7T4kb7SiRTuTELfq0BZNxcP",
  "amount": 100,
  "tenure_in_months": 10,
  "maturity_instruction": {
    "auto_renew": "no",
    "payout_frequency": "monthly"
  },
  "nominee": [
    {
      "name": "Ram Reddy",
      "relation": "son",
      "address": "221B Baker Street",
      "state_code": "KA",
      "city": "Bangalore",
      "postal_code": "560035",
      "date_of_birth": "2020-12-31",
      "guardian": {
        "name": "Gita Reddy",
        "relation": "mother",
        "address": "221B Baker Street",
        "state_code": "KA",
        "city": "Bangalore",
        "postal_code": "560035",
        "mobile_number": "9481184261"
      }
    }
  ],
  "status": "active",
  "account_number": "282139812831232",
  "device_data": {
    "latitude": 12.12,
    "longitude": 12.12,
    "ip_address": "56f6:239f:3eb7:68c8:2e81:9718:6ec5:a45c"
  },
  "interest_rate": 6,
  "maturity_amount": 106,
  "maturity_date": "2022-12-31",
  "settled_amount": 0,
  "closed_date": null,
  "metadata": {
    "some_data": 12345
  },
  "created_at": 1658991892,
  "updated_at": 1658991892,
  "is_sandbox": false
}

The table below lists the various parameters in the account.fixed_deposit object.

ParametersTypeDescription
idstringUnique identifier of the fixed deposit in the ZWITCH database.

Has to be 28 characters.

Example: fd_9asdasdsadasd2342asd

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • _
objectstringAPI object that is returned.

Possible value: account.fixed_deposit
typestringThe account type.

Possible value: fixed_deposit
linked_to_account_idstringUnique identifier (in the ZWITCH database) of the savings or current account to which the fixed deposit is linked.

Example: sa_Ov7T4kb7SiRTuTELfq0BZNxcP

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • _
amountfloatAmount to be deposited.

Example: 300
tenure_in_monthsintegerDuration of the fixed deposit, in months.

Example: 10
maturity_instructionobjectObject that contains maturity instructions for the fixed deposit.

Learn more about the maturity_instruction child object.
nomineearray of objectObject that contain details of the nominee.

Learn more about the nominee child object.
statusstringStatuses of the fixed deposit account.

Possible values:
  • account_activation_pending: The API call is successful, money has been deducted, the fixed deposit account number has been generated, and the request has been sent to our partner bank for processing.
  • active: The create fixed deposit account request has been processed by our partner bank.
  • closed: The fixed deposit account has been closed and money has been credited to the savings or current account linked to the fixed deposit.
account_numberstringThe unique identifier of the fixed deposit in the bank database.

Example: 282139812831232
device_dataobjectObject that contains the details of the device from which the create fixed deposit account request was triggered.

Learn more about the device_data child object.
interest_ratefloatRate of interest for the fixed deposit.

Example: 3.69
maturity_amountfloatTotal amount you will be paid if the fixed deposit reaches the maturity date.

  • The interest earned is paid:
    • At the time of maturity
    • When the fixed deposit is prematurely closed.
    • At defined time intervals during the tenure of the fixed deposit.
  • The principal is paid:
    • At the time of maturity
    • When the fixed deposit is prematurely closed.
    Example: 369
maturity_datestringEnd date of the fixed deposit.

Example: 2022-12-31
settled_amountfloatAmount paid when the fixed deposit is closed.

Depending on the maturity instructions, a fixed deposit:
  • Is either closed automatically on the maturity date.
  • Can be closed prematurely by the account holder.


    • Example: 369
closed_datestringDate when the fixed deposit was closed.

Depending on the maturity instructions, a fixed deposit:
  • Is either closed automatically closed on the maturity date.
  • Can be closed prematurely by the account holder.


    • Possible format:YYYY-MM-DD

      Has to be 10 characters.

      Example: 2027-12-31
metadataobjectKey-value pair that can be used to store additional information about the entity.

Note:
  • Maximum 5 key-value pairs.
  • Maximum 256 characters in the metadata object.
  • You cannot pass a URL.
  • You cannot use \.
Example: "key_1": "DD"
created_atinteger Unix timestamp when the create fixed deposit account API request was received by ZWITCH.

Example: 1640179951
updated_atinteger Unix timestamp when the fixed deposit account undergoes a status change.

Example: 1640179951
is_sandboxbooleanPossible values:
  • true: API was triggered in sandbox mode
  • false: API was triggered in live mode

[Child Object] Maturity Instruction Object

The table below lists the various parameters in the maturity_instruction child object. This object is part of the account.fixed_deposit object.

ParametersTypeDescription
auto_renewstringDefine what should happen to the fixed deposit on maturity.

Possible values
  • interest_and_principal: On maturity, the principal and interest earned are reinvested into the fixed deposit and the fixed deposit is renewed for the same tenure.
  • no: On maturity, the fixed deposit is closed and the remaining balance is transferred to the savings or current account linked to the fixed deposit.
payout_frequencystringRequired only when the auto_renew parameter is set to no.

Time intervals at which the interest earned on the fixed deposit is paid to the account holder.

Possible values:
  • monthly
  • quarterly

[Child Object] Nominee Object

The table below lists the various parameters in the nominee child object. This object is part of the account.fixed_deposit object.

ParametersTypeDescription
namestringNominee's name.

Maximum 70 characters.

Example: Ram Reddy

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • .
  • /
  • \
  • -
  • _
  • ,
  • (
  • )
  • '
relationstringNominee's relation to the Account holder.

Use the Relations API to get a list of accepted values.

Example: son
addressstringNominee's address.

Maximum 135 characters.

Example: 221B, Baker Street

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • .
  • /
  • \
  • -
  • ,
  • #
landmarkstringLandmark for the address.

Maximum 135 characters.

Example: Opposite Wollaton House

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • .
  • /
  • \
  • -
  • ,
  • #
citystringNominee's city.

Example: Bangalore

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • space
  • _
  • ()
state_codestringNominee's state code.

Use the State Codes API to get a list of accepted values.

Example: KA
postal_codestringNominee's pincode.

Has to be 6 digits.

Example: 560005

Supported characters:
  • 0-9
date_of_birthstringNominee's date of birth according to their KYC document.

Accepted format:YYYY-MM-DD

Has to be 10 characters.

Example: 1987-12-31

Supported characters:
  • 0-9
  • -
guardianobject Mandatory if the nominee is under the age of 18 .

Object that contains the nominee's guardian details.

Learn more about the guardian child object.

[Child Object] Guardian Object

The table below lists the various parameters in the guardian child object. This object is part of the nominee child object.

ParametersTypeDescription
namestringGuardian's name.

Maximum 70 characters.

Example: Gita Reddy

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • .
  • /
  • \
  • -
  • _
  • ,
  • (
  • )
  • '
relationstringGuardian's relation to the nominee.

Use the Relations API to get a list of accepted values.

Example: mother
addressstringGuardian's address according to their KYC document.

Maximum 135 characters.

Example: 221B Baker Street

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • .
  • /
  • \
  • -
  • ,
  • #
state_codestringGuardian's state code according to their KYC document.

Use the State Codes API to get a list of accepted values.

Example: KA
citystringGuardian's city according to their KYC document.

Example: Bangalore

Supported characters:
  • A-Z
  • a-z
  • 0-9
  • space
  • _
  • ()
postal_codestringGuardian's pincode according to their KYC document.

Has to be 6 digits.

Example: 560005

Supported characters:
  • 0-9
mobile_numberstringGuardian's mobile number.

Has to be 10 digits.

Example: 9876543210

Supported characters:
  • 0-9

[Child Object] Device Data Object

The table below lists the various parameters in the device_data child object. This object is part of the account.fixed_deposit object.

ParametersTypeDescription
latitudefloatLatitude of the device from which the create fixed deposit account is sent.

Note:
  • Has to be between -90 and 90.
  • Minimum: 2 decimals
  • Maximum: 14 decimals
Example: 12.9013

Supported characters:
  • 0-9
  • .
longitudefloatLongitude of the device from which the create fixed deposit account is sent.

Note:
  • Has to be between -180 and 180.
  • Minimum: 2 decimals
  • Maximum: 14 decimals
Example: 12.9013

Supported characters:
  • 0-9
  • .
ip_addressstringIP address of the device from which the create fixed deposit account is sent.

Supported IP address formats:
  • IPv4 address
  • IPv6 address
Example: 96fe:8cf3:4550:9632:e66b:d552:0124:275a