action yodlee_update_account {
label: "Update Account"
description: "The update account service is used to update manual and aggregated accounts.
The HTTP response code is 204 (Success without content).
Update manual account support is available for bank, card, investment, insurance, loan, otherAssets, otherLiabilities and realEstate containers only.
Note:
A real estate account update is only supported for SYSTEM and MANUAL valuation type. Attribute isEbillEnrolled is deprecated as it is applicable for bill accounts only."
provider: yodlee
method: PUT
path: "/accounts/{accountId}"
encoding: json
input: {
type: "object"
properties: {
account: {
type: "object"
properties: {
accountName: {
type: "string"
}
accountNumber: {
type: "string"
}
accountStatus: {
type: "string"
enum: ["ACTIVE", "INACTIVE", "TO_BE_CLOSED", "CLOSED", "DELETED"]
}
address: {
type: "object"
properties: {
address1: {
type: "string"
}
address2: {
type: "string"
}
address3: {
type: "string"
}
city: {
type: "string"
}
country: {
type: "string"
}
sourceType: {
type: "string"
}
state: {
type: "string"
}
street: {
type: "string"
}
type: {
type: "string"
enum: ["HOME", "BUSINESS", "POBOX", "RETAIL", "OFFICE", "SMALL_BUSINESS", "COMMUNICATION", "PERMANENT", "STATEMENT_ADDRESS", "PAYMENT", "PAYOFF", "UNKNOWN"]
}
zip: {
type: "string"
}
}
}
amountDue: {
type: "object"
required: ["amount", "currency"]
properties: {
amount: {
type: "number"
format: "double"
}
currency: {
type: "string"
enum: ["AUD", "BRL", "CAD", "EUR", "GBP", "HKD", "IDR", "INR", "JPY", "NZD", "SGD", "USD", "ZAR", "CNY", "VND", "MYR", "CHF"]
}
}
}
balance: {
type: "object"
additionalProperties: true
}
container: {
type: "string"
enum: ["bank", "creditCard", "investment", "insurance", "loan", "reward", "realEstate", "otherAssets", "otherLiabilities"]
}
dueDate: {
type: "string"
}
frequency: {
type: "string"
enum: ["DAILY", "ONE_TIME", "WEEKLY", "EVERY_2_WEEKS", "SEMI_MONTHLY", "MONTHLY", "QUARTERLY", "SEMI_ANNUALLY", "ANNUALLY", "EVERY_2_MONTHS", "EBILL", "FIRST_DAY_MONTHLY", "LAST_DAY_MONTHLY", "EVERY_4_WEEKS", "UNKNOWN", "OTHER"]
}
homeValue: {
type: "object"
additionalProperties: true
}
includeInNetWorth: {
type: "string"
}
isEbillEnrolled: {
type: "string"
}
memo: {
type: "string"
}
nickname: {
type: "string"
}
}
}
accountId: {
type: "integer"
format: "int64"
}
}
required: ["account", "accountId"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}