Ira Module - Response
The fields of the Data object supported by an Ira module request are defined
in alphabetical order below:
🟥 Data
| Type | Required |
|---|---|
| Object | yes |
The fields of the Data object supported by a Ira module request are defined
in alphabetical order below:
Fields:
🔸BeginBalance,🔹Calculate,🔹Compounding,🔸CurrentAge,🔹Deposit,🔹DepositFreq,🔸Rate,🔸RetireAge,🔹FVObjects:
🟦 Format
🔸 Data.BeginBalance
| Type | Required | Values | Default |
|---|---|---|---|
| String | yes | Currency | n/a |
The beginning balance is the amount which is currently present in the IRA account. Interest accrues on this initial amount (plus the periodic deposit amounts), much like interest accrues on the principal balance of a loan.
🔹 Data.Calculate
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | FV, Deposit | FV |
This field informs the SCE which of the two IRA calculations is to be performed.
In the sample above, the calculation type being requested is FV,
which directs the SCE to compute the future value of the IRA. Thus, the
periodic deposit value is specified in the appropriate field, and the future
value field is omitted.
🔹 Data.Compounding
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | Annual, Semiannual, Quarterly, Bimonthly, Monthly, Daily | Annual |
The Compounding field defines the periodicity at which interest is computed.
The specified compounding period affects the allowable values for the
DepositFreq field - please see the description below.
🔸 Data.CurrentAge
| Type | Required | Values | Default |
|---|---|---|---|
| String | yes | Integer | n/a |
The current age of the IRA account owner.
🔹 Data.Deposit
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | Currency | n/a |
The Deposit field specifies the periodic deposit amount to be made to the IRA
account. The periodicity of the deposit is dictated by the
DepositFrequency field, detailed below.
If you are computing the periodic deposit amount necessary to generate a specified future value (e.g. `"Calculate" : "FV"'), then omit this field from the request.
🔹 Data.DepositFreq
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | Annual, Semiannual, Quarterly, Bimonthly, Monthly | Annual |
This field specifies the periodicity of the deposit amount. Thus, if you wanted
to make monthly deposits to an IRA account, the field value should be
specified as monthly. The frequency of deposits limits the allowable
compounding frequencies (see table below).
| Deposit Frequency | Compounding Frequency Allowed |
|---|---|
| Annual | Annual, Semiannual, Quarterly, Bimonthly, Monthly, Daily |
| Semiannual | Semiannual, quarterly, Bimonthly, Monthly, Daily |
| Quarterly | Quarterly, Monthly, Daily |
| Bimonthly | Bimonthly, Monthly, Daily |
| Monthly | Monthly, Daily |
🔸 Data.Rate
| Type | Required | Values | Default |
|---|---|---|---|
| String | yes | Number in [-99.999...600] | n/a |
This field dictates the rate at which interest accrues throughout the term of the IRA.
🔸 Data.RetireAge
| Type | Required | Values | Default |
|---|---|---|---|
| String | yes | Integer | n/a |
The desired retirement age of the IRA account owner. This value must be greater
than that found in the CurrentAge field. By subtracting the current age from
the retirement age, the SCE determines the number of years the IRA account will
be allowed to grow.
🔹 Data.FV
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | Currency | n/a |
The future value is the balance of the IRA account at the borrower's specified
retirement age. The future value is equal to the present value plus all periodic
deposits plus all interest accrued during the IRA's term. If you are computing
the future value (e.g. "Calculate" : "FV"), then you may omit this field.
🟦 Data.Format
| Type | Required |
|---|---|
| Object | no |
The Format object is one of the first objects parsed from a request, as
various fields affect how date and numeric fields are parsed and validated.
Fields:
🔹CurrencyDecimals,🔹DateFormat,🔹DateSeparator,🔹DecimalSeparator,🔹StrictDP,🔹ThousandSeparatorObjects:
None
🔹 Data.Format.CurrencyDecimals
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | 0 or 2 | 2 |
When displaying and parsing Currency fields, this field determines the maximum
number of decimal places allowed after the
DecimalSeparator.
🔹 Data.Format.DateFormat
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | YMD, MDY, or DMY | YMD |
When displaying and parsing Date fields, this field determines the expected
format for all Date fields. The following DateFormat options
are allowed:
YMD- All dates should be formated asYYYY-MM-DD.MDY- All dates should be formated asMM-DD-YYYY.DMY- All dates should be formated asDD-MM-YYYY.
Note that the character which separates the individual month, day, and year
portions of the date is configurable via the
DateSeparator field.
🔹 Data.Format.DateSeparator
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | empty or a single character | - |
When displaying and parsing Date fields, this field determines the character used to separate the individual month, day, and year portions of a date field.
🔹 Data.Format.DecimalSeparator
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | empty or a single character | . |
When displaying and parsing Currency, Percentage, or Floating numeric fields, this field determines the character used to separate the fractional part from the whole.
🔹 Data.Format.StrictDP
| Type | Required | Values | Default |
|---|---|---|---|
| Boolean | no | true, false | false |
If the value of this field is true, then the SCE will strictly verify the
number of decimal places allowed for currency input values. Thus, if the calling
application sends in a request with a currency amount of 1000.005, the SCE will
return an error code.
If the value of this field is set to false, then currency values sent in
with an invalid number of decimal places will be rounded to the correct number
of decimal places by the SCE (using five/four rounding), and a warning message
with this information will be returned with the response.
🔹 Data.Format.ThousandSeparator
| Type | Required | Values | Default |
|---|---|---|---|
| String | no | empty or a single character | empty |
When displaying numeric fields, this field determines the character used to separate the thousands places from the hundreds. When parsing a numeric request field, if a thousand separator is specified in the request, then the SCE will now remove all occurrences of the specified thousand separator from the numeric field string before attempting to convert it to a number.