---
updatedAt: 2026-07-13T07:05:39.000Z
agentTools:
  projectIndex: https://docs.getsmileapi.com/llms.txt
---

# View Account Payload

View a user's particular account payload.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Smile API",
    "version": "1.14.0",
    "description": "The Smile API provides employment and income data from a single API. ",
    "contact": {
      "name": "Smile Technology Pte Ltd",
      "url": "https://www.getsmileapi.com",
      "email": "info@getsmileapi.com"
    },
    "termsOfService": "https://www.getsmileapi.com/terms-and-conditions"
  },
  "servers": [
    {
      "url": "https://sandbox.smileapi.io/v1",
      "description": "Sandbox"
    },
    {
      "url": "https://open.smileapi.io/v1",
      "description": "Production"
    }
  ],
  "paths": {
    "/accounts/{id}/payload": {
      "parameters": [
        {
          "$ref": "#/components/parameters/id"
        }
      ],
      "get": {
        "summary": "View Account Payload",
        "tags": [
          "Accounts"
        ],
        "operationId": "get-account-payload",
        "description": "View a user's particular account payload.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPayloadGetResponse"
                }
              }
            }
          }
        },
        "parameters": []
      }
    }
  },
  "components": {
    "schemas": {
      "ObjectMetadataRefCode": {
        "type": "string",
        "title": "ObjectMetadataRefCode",
        "description": "Request status code",
        "enum": [
          "OK",
          "CREATED",
          "INVALID_CREDENTIALS",
          "INVALID_PARAMETERS",
          "INVALID_TOKEN",
          "UNAUTHORIZED_ACCESS",
          "MISSING_RESOURCE",
          "REQUEST_LIMIT_EXCEEDED",
          "SERVER_ERROR",
          "UNSUPPORTED_METHOD",
          "SERVER_UNAVAILABLE",
          "TIME_LIMIT_EXCEEDED"
        ],
        "example": "OK",
        "x-internal": false
      },
      "ObjectMetadataRefMessage": {
        "type": "string",
        "title": "ObjectMetadataRefMessage",
        "description": "Message response to the request",
        "example": "Success",
        "x-internal": false
      },
      "ObjectMetadataRefRequestID": {
        "type": "string",
        "title": "ObjectMetadataRefRequestID",
        "description": "Unique ID that is added to the body of every response for easy traceability of the request in our logs.",
        "x-internal": false,
        "example": "5b79399a-6852-4234-bb0e-ad472648282d"
      },
      "RefObjectID": {
        "type": "string",
        "title": "Object ID",
        "description": "Unique ID of this object",
        "example": "17bbf36498de4d68a0d4f86c7b62f69f"
      },
      "RefDateTime": {
        "type": "string",
        "title": "Date and Time string",
        "format": "date-time",
        "example": "2021-04-14T09:30:24Z",
        "description": "Date and time"
      },
      "RefGender": {
        "type": "string",
        "title": "GenderEnum",
        "enum": [
          "Male",
          "Female",
          "Non-binary",
          null
        ],
        "example": "Male",
        "description": "Gender"
      },
      "RefMaritalStatus": {
        "type": "string",
        "title": "RefMaritalStatus",
        "enum": [
          "Divorced",
          "Married",
          "Separated",
          "Single",
          "Widowed",
          "Lifetime Partner",
          null
        ],
        "example": "Married",
        "description": "Marital status"
      },
      "RefCountry": {
        "type": "string",
        "nullable": true,
        "title": "Country ISO Codes",
        "enum": [
          "AF",
          "AX",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AQ",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BQ",
          "BA",
          "BW",
          "BV",
          "BR",
          "IO",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CA",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CX",
          "CC",
          "CO",
          "KM",
          "CG",
          "CD",
          "CK",
          "CR",
          "CI",
          "HR",
          "CU",
          "CW",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FO",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "TF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HM",
          "VA",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IM",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KP",
          "KR",
          "XK",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LS",
          "LR",
          "LY",
          "LI",
          "LT",
          "LU",
          "MO",
          "MK",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "FM",
          "MD",
          "MC",
          "MN",
          "ME",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "AN",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NF",
          "MP",
          "NO",
          "OM",
          "PK",
          "PW",
          "PS",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PN",
          "PL",
          "PT",
          "PR",
          "QA",
          "RS",
          "RE",
          "RO",
          "RU",
          "RW",
          "BL",
          "SH",
          "KN",
          "LC",
          "MF",
          "PM",
          "VC",
          "WS",
          "SM",
          "ST",
          "SA",
          "SN",
          "CS",
          "SC",
          "SL",
          "SG",
          "SX",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "GS",
          "SS",
          "ES",
          "LK",
          "SD",
          "SR",
          "SJ",
          "SZ",
          "SE",
          "CH",
          "SY",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TL",
          "TG",
          "TK",
          "TO",
          "TT",
          "TN",
          "TR",
          "XT",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "GB",
          "US",
          "UM",
          "UY",
          "UZ",
          "VU",
          "VE",
          "VN",
          "VG",
          "VI",
          "WF",
          "EH",
          "YE",
          "ZM",
          "ZW",
          null
        ],
        "description": "2 character alpha ISO-3166 codes",
        "example": "PH"
      },
      "RefContactType": {
        "type": "string",
        "nullable": true,
        "title": "Contact Types",
        "enum": [
          "Primary",
          "Secondary",
          "Work",
          "Personal",
          null
        ],
        "description": "Primary contact, with secondary marked as either 'Work' or 'Personal'",
        "example": "Primary"
      },
      "RefPhoneNumber": {
        "type": "string",
        "nullable": true,
        "title": "International Phone Number",
        "pattern": "^\\+[1-9]\\d{1,14}$",
        "description": "Phone numbers in international E.164 format",
        "example": "+639175551234"
      },
      "RefPhoneType": {
        "type": "string",
        "nullable": true,
        "title": "Ref-Phone-Type",
        "example": "Mobile",
        "enum": [
          "Mobile",
          "Fixed",
          "Unspecified",
          null
        ],
        "description": "Phone type"
      },
      "RefAddress": {
        "title": "Address Object",
        "type": "object",
        "description": "Address object",
        "properties": {
          "fullAddress": {
            "type": "string",
            "nullable": true,
            "description": "Full address"
          },
          "line1": {
            "type": "string",
            "nullable": true,
            "description": "Line 1 of street address"
          },
          "line2": {
            "type": "string",
            "nullable": true,
            "description": "Line 2 of street address"
          },
          "city": {
            "type": "string",
            "nullable": true,
            "description": "City"
          },
          "region": {
            "type": "string",
            "nullable": true,
            "description": "Geographic region such as state or province"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "description": "Post code"
          },
          "country": {
            "$ref": "#/components/schemas/RefCountry"
          },
          "latitude": {
            "type": "string",
            "nullable": true,
            "pattern": "^(\\+|-)?(?:90(?:(?:\\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\\.[0-9]{1,6})?))$",
            "description": "Latitude coordinates"
          },
          "longitude": {
            "type": "string",
            "nullable": true,
            "pattern": "^(\\+|-)?(?:180(?:(?:\\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\\.[0-9]{1,6})?))$",
            "description": "Longitude coordinates"
          },
          "type": {
            "type": "string",
            "nullable": true,
            "enum": [
              "Primary",
              "Secondary",
              null
            ],
            "description": "Whether address is primary or secondary"
          },
          "tags": {
            "type": "array",
            "default": [],
            "example": [
              "Primary",
              "Home"
            ],
            "items": {
              "type": "string",
              "enum": [
                "Primary",
                "Secondary",
                "Home",
                "Work",
                "Mailing",
                "Foreign",
                "Billing",
                "Permanent",
                "Shipping",
                null
              ]
            },
            "description": "Address tags, such as primary or secondary, home or work, etc."
          }
        },
        "required": [
          "type"
        ]
      },
      "IdentityPayload": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "fullName": {
            "type": "string",
            "example": "George Cimafranca Palomero, Jr",
            "description": "Full name"
          },
          "firstName": {
            "type": "string",
            "example": "George",
            "description": "First name",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "example": "Cimafranca",
            "description": "Middle name",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "example": "Palomero",
            "description": "Last name",
            "nullable": true
          },
          "suffix": {
            "type": "string",
            "example": "Jr",
            "description": "Suffix",
            "nullable": true
          },
          "gender": {
            "$ref": "#/components/schemas/RefGender"
          },
          "dob": {
            "type": "string",
            "format": "date",
            "description": "Date of birth",
            "nullable": true
          },
          "maritalStatus": {
            "$ref": "#/components/schemas/RefMaritalStatus"
          },
          "countryResidence": {
            "$ref": "#/components/schemas/RefCountry"
          },
          "citizenship": {
            "type": "string",
            "enum": [
              "Citizen",
              "Resident Alien",
              "Non-resident Alien",
              "Undocumented",
              "Others"
            ],
            "description": "Citizenship",
            "nullable": true
          },
          "photoUrl": {
            "type": "string",
            "example": "https://cdn.smileapi.io/image/avatar/v20211115191600/george.jpg",
            "description": "URL to photo or avatar",
            "nullable": true
          },
          "referenceId": {
            "type": "string",
            "description": "Reference profile ID from the data provider",
            "example": "~02c0bf6ae6a581ee2b",
            "nullable": true
          },
          "profileUrl": {
            "type": "string",
            "description": "Public profile URL",
            "example": "https://www.upwork.com/freelancers/~02c0bf6ae6a581ee2b",
            "nullable": true
          },
          "latestEmployerName": {
            "type": "string",
            "deprecated": true,
            "description": "The lastest employer name at now, it will be removed in the future."
          },
          "emails": {
            "type": "array",
            "description": "A collection of email addresses",
            "items": {
              "type": "object",
              "title": "email",
              "properties": {
                "address": {
                  "type": "string",
                  "format": "email",
                  "example": "gpalomero@yahoo.com",
                  "description": "Email address",
                  "nullable": true
                },
                "type": {
                  "$ref": "#/components/schemas/RefContactType"
                }
              },
              "required": [
                "address",
                "type"
              ]
            }
          },
          "phones": {
            "type": "array",
            "description": "A collection of phone numbers",
            "items": {
              "type": "object",
              "title": "phone",
              "properties": {
                "number": {
                  "$ref": "#/components/schemas/RefPhoneNumber"
                },
                "type": {
                  "$ref": "#/components/schemas/RefPhoneType"
                }
              },
              "required": [
                "number",
                "type"
              ]
            }
          },
          "socialProfiles": {
            "type": "array",
            "description": "A collection of social media URLs",
            "items": {
              "type": "object",
              "title": "socialProfile",
              "properties": {
                "socialUrl": {
                  "type": "string",
                  "example": "https://www.facebook.com/gpalomero",
                  "description": "URL to social media page",
                  "nullable": true
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "Twitter",
                    "Facebook",
                    "LinkedIn",
                    "Others"
                  ],
                  "example": "Facebook",
                  "description": "Social media type",
                  "nullable": true
                }
              },
              "required": [
                "socialUrl",
                "type"
              ]
            }
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefAddress"
            }
          }
        },
        "required": [
          "id",
          "fullName",
          "emails",
          "phones",
          "socialProfiles",
          "addresses"
        ]
      },
      "RatingPayload": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "currentRating": {
            "type": "number",
            "description": "Current rating",
            "example": 90,
            "nullable": true
          },
          "maxRating": {
            "type": "number",
            "description": "Maximum possible rating",
            "example": 100,
            "nullable": true
          },
          "calculatedPercentage": {
            "type": "number",
            "description": "Current rating expressed as percentage, calculated by currentRating/maxRating x 100",
            "example": 90,
            "nullable": true
          },
          "reviewsReceived": {
            "type": "number",
            "description": "Number of reviews the employee received, which is the basis for the current rating",
            "example": 12,
            "nullable": true
          },
          "likesReceived": {
            "type": "number",
            "description": "Recommendations or kudos received",
            "example": 8,
            "nullable": true
          },
          "jobsCompleted": {
            "type": "number",
            "description": "Jobs actually completed in the employment platform",
            "example": 12,
            "nullable": true
          }
        }
      },
      "DocumentPayload": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "name": {
            "type": "string",
            "description": "Document name",
            "example": "Facebook Social Media Marketing Professional Certificate"
          },
          "docId": {
            "type": "string",
            "description": "Document number",
            "example": "ABCD123456",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Document status，only for NBI verification, It's VALID if the NBI verification status is valid.",
            "example": "VALID",
            "nullable": true
          },
          "documentType": {
            "type": "string",
            "description": "Document Type",
            "example": "IDENTIFICATION",
            "enum": [
              "IDENTIFICATION",
              "PAYSLIP",
              "CLEARANCE",
              "CERTIFICATE"
            ]
          },
          "issueDate": {
            "type": "string",
            "description": "Issue date",
            "format": "date",
            "example": "2007-08-24",
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "description": "Expiry date",
            "format": "date",
            "example": "2010-08-24",
            "nullable": true
          },
          "fileUrl": {
            "type": "string",
            "description": "Publicly available URL reference for the document",
            "example": "https://images.credly.com/size/680x680/images/c4a900b7-8d1b-4e8f-a572-347985eeaa5c/Coursera_Badge__1_.png",
            "nullable": true
          },
          "remarks": {
            "type": "string",
            "description": "Remarks section",
            "example": "NO RECORD ON FILE",
            "nullable": true
          }
        }
      },
      "RefEmployer": {
        "type": "string",
        "title": "Employer",
        "nullable": true,
        "description": "Employer name",
        "example": "ABC Corporation"
      },
      "RefCurrency": {
        "type": "string",
        "title": "Currency ISO Codes",
        "description": "Currency in 3 character alpha ISO 4217",
        "enum": [
          "AFN",
          "DZD",
          "ARS",
          "AMD",
          "AWG",
          "AUD",
          "AZN",
          "BSD",
          "BHD",
          "THB",
          "PAB",
          "BBD",
          "BYN",
          "BZD",
          "BMD",
          "VES",
          "BOB",
          "BRL",
          "BND",
          "BGN",
          "BIF",
          "CAD",
          "CVE",
          "KYD",
          "GHS",
          "XOF",
          "XAF",
          "XPF",
          "CLP",
          "COP",
          "KMF",
          "CDF",
          "BAM",
          "NIO",
          "CRC",
          "HRK",
          "CZK",
          "GMD",
          "DKK",
          "MKD",
          "DJF",
          "STD",
          "DOP",
          "VND",
          "XCD",
          "EGP",
          "SVC",
          "ETB",
          "EUR",
          "FKP",
          "FJD",
          "HUF",
          "GIP",
          "HTG",
          "PYG",
          "GNF",
          "GYD",
          "HKD",
          "UAH",
          "ISK",
          "INR",
          "IRR",
          "IQD",
          "JMD",
          "JOD",
          "KES",
          "PGK",
          "LAK",
          "EEK",
          "KWD",
          "MWK",
          "AOA",
          "MMK",
          "GEL",
          "LVL",
          "LBP",
          "ALL",
          "HNL",
          "SLL",
          "LRD",
          "LYD",
          "SZL",
          "LTL",
          "LSL",
          "MGA",
          "MYR",
          "TMT",
          "MUR",
          "MZN",
          "MXN",
          "MDL",
          "MAD",
          "NGN",
          "ERN",
          "NAD",
          "NPR",
          "ANG",
          "ILS",
          "RON",
          "TWD",
          "NZD",
          "BTN",
          "KPW",
          "NOK",
          "PEN",
          "MRO",
          "TOP",
          "PKR",
          "MOP",
          "UYU",
          "PHP",
          "GBP",
          "BWP",
          "QAR",
          "GTQ",
          "ZAR",
          "OMR",
          "KHR",
          "MVR",
          "IDR",
          "RUB",
          "RWF",
          "SHP",
          "SAR",
          "RSD",
          "SCR",
          "SGD",
          "SBD",
          "KGS",
          "SOS",
          "TJS",
          "LKR",
          "SDG",
          "SRD",
          "SEK",
          "CHF",
          "SYP",
          "BDT",
          "WST",
          "TZS",
          "KZT",
          "TTD",
          "MNT",
          "TND",
          "TRY",
          "AED",
          "UGX",
          "CLF",
          "USD",
          "UZS",
          "VUV",
          "KRW",
          "YER",
          "JPY",
          "CNY",
          "ZMW",
          "ZWL",
          "PLN"
        ],
        "example": "PHP"
      },
      "RefPayPeriod": {
        "type": "string",
        "nullable": true,
        "title": "Pay Period",
        "description": "Pay period",
        "enum": [
          "Hourly",
          "Daily",
          "Weekly",
          "Semimonthly",
          "Monthly",
          "Bimonthly",
          "Quarterly",
          "Annually",
          "Variable",
          "Unspecified",
          null
        ],
        "example": "Annually"
      },
      "IncomePayload": {
        "type": "object",
        "required": [
          "id",
          "startDate",
          "currency"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "workItem": {
            "type": "string",
            "description": "Work performed (specially in the case of contract or freelance jobs)",
            "nullable": true
          },
          "employer": {
            "$ref": "#/components/schemas/RefEmployer"
          },
          "startDate": {
            "type": "string",
            "description": "Start date",
            "format": "date",
            "example": "2021-06-01"
          },
          "endDate": {
            "type": "string",
            "example": "2021-06-15",
            "format": "date",
            "description": "End date",
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/RefCurrency"
          },
          "frequency": {
            "$ref": "#/components/schemas/RefPayPeriod"
          },
          "baseAmount": {
            "type": "number",
            "description": "Base amount",
            "nullable": true
          },
          "grossAmount": {
            "type": "number",
            "description": "Gross amount",
            "nullable": true
          },
          "netAmount": {
            "type": "number",
            "description": "Net amount",
            "nullable": true
          }
        }
      },
      "TransactionPayload": {
        "type": "object",
        "required": [
          "id",
          "date",
          "currency",
          "amount"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "date": {
            "type": "string",
            "format": "date",
            "example": "2021-04-21",
            "description": "Date of transaction"
          },
          "description": {
            "type": "string",
            "description": "Description of the transaction",
            "example": "Payment for web design project",
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/RefCurrency"
          },
          "amount": {
            "type": "number",
            "example": 10000,
            "description": "Transaction amount"
          },
          "referenceId": {
            "type": "string",
            "description": "Reference transaction ID from data provider",
            "nullable": true
          }
        }
      },
      "EmploymentPayload": {
        "type": "object",
        "required": [
          "id",
          "startDate"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "name": {
            "type": "string",
            "description": "Work performed",
            "example": "Digital Marketing",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of work performed",
            "example": "Gathering and reporting relevant data, maintaining specific reports and dashboards, using platforms and programs to address marketing requirements, and updating specific marketing materials.",
            "nullable": true
          },
          "jobTitle": {
            "type": "string",
            "description": "Job title",
            "example": "Digital Marketing Assistant",
            "nullable": true
          },
          "department": {
            "type": "string",
            "description": "Department or organization in place of employment",
            "example": "Marketing",
            "nullable": true
          },
          "employeeNumber": {
            "type": "string",
            "description": "Employee number in the employment data provider",
            "example": "EMP-123456",
            "nullable": true
          },
          "employerNumber": {
            "type": "string",
            "description": "Employer number in the employment data provider",
            "example": "ER-654321",
            "nullable": true
          },
          "employer": {
            "$ref": "#/components/schemas/RefEmployer"
          },
          "status": {
            "type": "string",
            "description": "Status of employment",
            "example": "Permanent",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "description": "Start date",
            "format": "date",
            "example": "2016-02-24"
          },
          "endDate": {
            "type": "string",
            "description": "End date",
            "format": "date",
            "example": "2019-08-24",
            "nullable": true
          },
          "reportedDate": {
            "type": "string",
            "description": "Reported date",
            "format": "date",
            "example": "2019-08-25",
            "nullable": true
          }
        }
      },
      "ContributionPayload": {
        "type": "object",
        "required": [
          "id",
          "date",
          "currency",
          "amount"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "date": {
            "type": "string",
            "format": "date",
            "description": "Date of the contribution",
            "example": "2021-04-30"
          },
          "currency": {
            "$ref": "#/components/schemas/RefCurrency"
          },
          "amount": {
            "type": "number",
            "description": "Amount of the contribution",
            "example": 1375
          },
          "referenceId": {
            "type": "string",
            "description": "Reference contribution ID from the data provider",
            "example": "PA9634415"
          }
        }
      },
      "LiabilityPayload": {
        "type": "object",
        "required": [
          "id",
          "type",
          "startDate",
          "loanAmount",
          "currency",
          "amortizationFrequency"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "type": {
            "type": "string",
            "description": "the loan type",
            "example": "Salary Loan"
          },
          "referenceId": {
            "type": "string",
            "description": "the loan referenceId"
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "description": "the loan start date"
          },
          "endDate": {
            "type": "string",
            "format": "date",
            "description": "the loan end date"
          },
          "firstAmortizationDate": {
            "type": "string",
            "format": "date",
            "description": "the loan first amortization date"
          },
          "amortizationFrequency": {
            "$ref": "#/components/schemas/RefPayPeriod"
          },
          "currency": {
            "$ref": "#/components/schemas/RefCurrency"
          },
          "loanAmount": {
            "type": "number",
            "description": "loan amount"
          },
          "amortizationAmount": {
            "type": "number",
            "description": "loan amortization amount"
          },
          "outstandingBalance": {
            "type": "number",
            "description": "loan outstanding balance"
          },
          "nextPaymentAmount": {
            "type": "number",
            "description": "loan next payment amount"
          },
          "overduePaymentAmount": {
            "type": "number",
            "description": "loan total overdue amount"
          }
        }
      },
      "EincomePayload": {
        "type": "object",
        "required": [
          "id",
          "month",
          "currency",
          "baseAmount",
          "amount"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "month": {
            "type": "string",
            "description": "the month",
            "example": "2021-06"
          },
          "currency": {
            "$ref": "#/components/schemas/RefCurrency"
          },
          "baseAmount": {
            "type": "number",
            "deprecated": true,
            "description": "income amount, has been renamed to amount, baseAmount will be removed in the future",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "description": "income amount",
            "nullable": true
          }
        }
      },
      "LinkPayload": {
        "type": "object",
        "required": [
          "id",
          "endDate"
        ],
        "properties": {
          "id": {
            "type": "string",
            "example": "link-123456789012345678901234567890",
            "description": "Link request ID"
          },
          "startDate": {
            "$ref": "#/components/schemas/RefDateTime"
          },
          "endDate": {
            "$ref": "#/components/schemas/RefDateTime"
          },
          "records": {
            "type": "array",
            "description": "Link records",
            "default": [],
            "items": {
              "type": "object",
              "title": "LinkRecord",
              "required": [
                "count"
              ],
              "properties": {
                "count": {
                  "type": "integer",
                  "description": "The number of times the user has linked at least one account with other participating organizations"
                },
                "linkedAt": {
                  "type": "array",
                  "default": [],
                  "description": "The latest link time of each application",
                  "items": {
                    "$ref": "#/components/schemas/RefDateTime"
                  }
                }
              }
            }
          }
        }
      },
      "ObjectFeature": {
        "type": "object",
        "properties": {
          "incomes_count": {
            "type": "integer",
            "example": 9,
            "description": "The quantity of the estimated incomes"
          },
          "incomes_first_income_month_range": {
            "type": "integer",
            "example": -999,
            "description": "Calculate the interval from the first income record time to the current time by month"
          },
          "incomes_missing_month_max": {
            "type": "integer",
            "example": -999,
            "description": "From all estimated incomes, calculate the number of months between the last payment month and the next payment month, and then take the maximum value"
          },
          "incomes_missing_month_count": {
            "type": "integer",
            "example": -999,
            "description": "From all estimated incomes, calculate the months diff between current income month and the before income month, and count if the diff > 1"
          },
          "incomes_amount_sum": {
            "type": "number",
            "example": -999,
            "description": "From all estimated incomes, calculate the total of the amount"
          },
          "incomes_amount_average": {
            "type": "number",
            "example": 1100,
            "description": "From all estimated incomes, calculate the average amount of the total amount"
          },
          "incomes_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes, get the minimum amount"
          },
          "incomes_amount_max": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes, get the maximum amount"
          },
          "incomes_amount_median": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes, get the median amount"
          },
          "incomes_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes, get the median amount"
          },
          "incomes_last3_months_amount_sum": {
            "type": "number",
            "example": 6000,
            "description": "From all estimated incomes in last 3 months, calculate the total of the amount"
          },
          "incomes_last3_months_amount_average": {
            "type": "number",
            "example": 1100,
            "description": "From all estimated incomes in last 3 months, calculate the average amount of the total amount"
          },
          "incomes_last3_months_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 3 months, get the minimum amount"
          },
          "incomes_last3_months_amount_max": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 3 months, get the maximum amount"
          },
          "incomes_last3_months_amount_median": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 3 months, get the median amount"
          },
          "incomes_last3_months_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 3 months, get the standard deviation of the amount"
          },
          "incomes_last6_months_amount_sum": {
            "type": "number",
            "example": 6000,
            "description": "From all estimated incomes in last 6 months, calculate the total of the amount"
          },
          "incomes_last6_months_amount_average": {
            "type": "number",
            "example": 1100,
            "description": "From all estimated incomes in last 6 months, calculate the average amount of the total amount"
          },
          "incomes_last6_months_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 6 months, get the minimum amount"
          },
          "incomes_last6_months_amount_max": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 6 months, get the maximum amount"
          },
          "incomes_last6_months_amount_median": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 6 months, get the median amount"
          },
          "incomes_last6_months_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 6 months, get the standard deviation of the amount"
          },
          "incomes_last9_months_amount_sum": {
            "type": "number",
            "example": 6000,
            "description": "From all estimated incomes in last 9 months, calculate the total of the amount"
          },
          "incomes_last9_months_amount_average": {
            "type": "number",
            "example": 1100,
            "description": "From all estimated incomes in last 9 months, calculate the average amount of the total amount"
          },
          "incomes_last9_months_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 9 months, get the minimum amount"
          },
          "incomes_last9_months_amount_max": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 9 months, get the maximum amount"
          },
          "incomes_last9_months_amount_median": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 9 months, get the median amount"
          },
          "incomes_last9_months_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 9 months, get the standard deviation of the amount"
          },
          "incomes_last12_months_amount_sum": {
            "type": "number",
            "example": 6000,
            "description": "From all estimated incomes in last 12 months, calculate the total of the amount"
          },
          "incomes_last12_months_amount_average": {
            "type": "number",
            "example": 1100,
            "description": "From all estimated incomes in last 12 months, calculate the average amount of the total amount"
          },
          "incomes_last12_months_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 12 months, get the minimum amount"
          },
          "incomes_last12_months_amount_max": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 12 months, get the maximum amount"
          },
          "incomes_last12_months_amount_median": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 12 months, get the median amount"
          },
          "incomes_last12_months_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 12 months, get the standard deviation of the amount"
          },
          "incomes_last18_months_amount_sum": {
            "type": "number",
            "example": 6000,
            "description": "From all estimated incomes in last 18 months, calculate the total of the amount"
          },
          "incomes_last18_months_amount_average": {
            "type": "number",
            "example": 1100,
            "description": "From all estimated incomes in last 18 months, calculate the average amount of the total amount"
          },
          "incomes_last18_months_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 18 months, get the minimum amount"
          },
          "incomes_last18_months_amount_max": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 18 months, get the maximum amount"
          },
          "incomes_last18_months_amount_median": {
            "type": "number",
            "example": 1200,
            "description": "From all estimated incomes in last 18 months, get the median amount"
          },
          "incomes_last18_months_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 18 months, get the standard deviation of the amount"
          },
          "incomes_last18_months_max_amount_count": {
            "type": "number",
            "example": 1000,
            "description": "From all estimated incomes in last 18 months, find the maximum amount, and count the number of monthly income equal to the maximum amount"
          },
          "incomes_starting_amount": {
            "type": "number",
            "example": 1000,
            "description": "the estimated income from when the user has started earning income"
          },
          "incomes_current_amount": {
            "type": "number",
            "example": 1000,
            "description": "the amount from the latetest one record"
          },
          "incomes_latest_growth": {
            "type": "number",
            "example": 1000,
            "description": "For the latetest one record, calculate the growth of income from the same month last year"
          },
          "liabilities_loan_count": {
            "type": "integer",
            "example": 1000,
            "description": "For the latetest one record, calculate the count of records"
          },
          "liabilities_loan_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities, calculate the minimum of the amount"
          },
          "liabilities_loan_amount_max": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities, calculate the maximum of the amount"
          },
          "liabilities_loan_amount_total": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities, calculate the total of the amount"
          },
          "liabilities_loan_amount_average": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities, calculate the average of the amount"
          },
          "liabilities_loan_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities, calculate the standard deviation of the amount"
          },
          "liabilities_finished_loan_count": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities that outstandingBalance <= 0, calculate the count of the records"
          },
          "liabilities_outstanding_loan_count": {
            "type": "integer",
            "example": 10,
            "description": "From all liabilities that outstandingBalance > 0, calculate the count of the records"
          },
          "liabilities_outstanding_amount_max": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities that outstandingBalance > 0, calculate the count of the records"
          },
          "liabilities_outstanding_amount_total": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities that outstandingBalance > 0, calculate the total of the amount"
          },
          "liabilities_outstanding_amount_average": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities that outstandingBalance > 0, calculate the average of the amount"
          },
          "liabilities_overdue_loan_count": {
            "type": "integer",
            "example": 10,
            "description": "From all liabilities that overduePaymentAmount > 0, calculate the count of the records"
          },
          "liabilities_overdue_amount_total": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities that overduePaymentAmount > 0, calculate the total of the amount"
          },
          "liabilities_overdue_amount_average": {
            "type": "number",
            "example": 1000,
            "description": "From all liabilities that overduePaymentAmount > 0, calculate the average of the amount"
          },
          "liabilities_ongoing_amortization_amount_sum": {
            "type": "number",
            "example": 1000,
            "description": "Sum of all amortization amounts for ongoing/current liabilities (not yet fully paid off)"
          },
          "liabilities_ongoing_amortization_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "Smallest of all amortization amounts for ongoing/current liabilities (not yet fully paid off)"
          },
          "liabilities_ongoing_amortization_amount_max": {
            "type": "number",
            "example": 1000,
            "description": "Largest of all amortization amounts for ongoing/current liabilities (not yet fully paid off)"
          },
          "liabilities_ongoing_amortization_amount_average": {
            "type": "number",
            "example": 1000,
            "description": "Average of all amortization amounts for ongoing/current liabilities (not yet fully paid off)"
          },
          "liabilities_ongoing_amortization_amount_median": {
            "type": "number",
            "example": 1000,
            "description": "Median of all amortization amounts for ongoing/current liabilities (not yet fully paid off)"
          },
          "liabilities_ongoing_amortization_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "Standard deviation of all amortization amounts for ongoing/current liabilities (not yet fully paid off)"
          },
          "liabilities_payment_count": {
            "type": "number",
            "example": 10,
            "description": "Quantity of liability payments made (across all liability records)"
          },
          "liabilities_payment_amount_max": {
            "type": "number",
            "example": 1000,
            "description": "Largest amount of payments made for liabilities (across all liability records)."
          },
          "liabilities_payment_amount_min": {
            "type": "number",
            "example": 1000,
            "description": "Smallest amount of payments made for liabilities (across all liability records)."
          },
          "liabilities_payment_amount_median": {
            "type": "number",
            "example": 1000,
            "description": "Median amount of payments made for liabilities (across all liability records)."
          },
          "liabilities_payment_amount_average": {
            "type": "number",
            "example": 1000,
            "description": "Average amount of payments made for liabilities (across all liability records)."
          },
          "liabilities_payment_amount_sum": {
            "type": "number",
            "example": 1000,
            "description": "Total amount of payments made for liabilities (across all liability records)."
          },
          "liabilities_payment_amount_std": {
            "type": "number",
            "example": 1000,
            "description": "Standard deviation of payments made for liabilities (across all liability records)."
          },
          "employments_current_status": {
            "type": "string",
            "example": "EMPLOYED",
            "description": "The user's current employment status, may be one of: EMPLOYED, GIG (for gig economy workers), or UNEMPLOYED"
          },
          "employments_employer_count": {
            "type": "integer",
            "example": 3,
            "description": "Quantity of unique employers"
          },
          "employments_current_tenure": {
            "type": "integer",
            "example": 5,
            "description": "Quantity of months at current employer"
          },
          "identity_age": {
            "type": "integer",
            "example": 30,
            "description": "Age of the user based on date of birth"
          },
          "link_days_since_first": {
            "type": "integer",
            "example": 130,
            "description": "Number of days since the first account connection, if MAW is enabled."
          },
          "link_days_since_last": {
            "type": "integer",
            "example": 2,
            "description": "Number of days since the last account connection, if MAW is enabled."
          },
          "link_day3_count": {
            "type": "integer",
            "example": 2,
            "description": "Number of tenants this account has connected to in the last 3 days, if MAW is enabled."
          },
          "link_day7_count": {
            "type": "integer",
            "example": 5,
            "description": "Number of tenants this account has connected to in the last 7 days, if MAW is enabled."
          },
          "link_day30_count": {
            "type": "integer",
            "example": 8,
            "description": "Number of tenants this account has connected to in the last 30 days, if MAW is enabled."
          },
          "link_day90_count": {
            "type": "integer",
            "example": 12,
            "description": "Number of tenants this account has connected to in the last 90 days, if MAW is enabled."
          },
          "link_day180_count": {
            "type": "integer",
            "example": 12,
            "description": "Number of tenants this account has connected to in the last 180 days, if MAW is enabled."
          },
          "link_day365_count": {
            "type": "integer",
            "example": 12,
            "description": "Number of tenants this account has connected to in the last 365 days, if MAW is enabled."
          },
          "link_day730_count": {
            "type": "integer",
            "example": 12,
            "description": "Number of tenants this account has connected to in the last 730 days, if MAW is enabled."
          }
        }
      },
      "InsightPayload": {
        "type": "object",
        "required": [
          "id",
          "cutoffTime",
          "features"
        ],
        "properties": {
          "id": {
            "type": "string",
            "example": "insight-123456789012345678901234567890"
          },
          "cutoffTime": {
            "type": "string",
            "title": "Cutoff time for feature calculations.",
            "format": "date-time",
            "example": "2021-04-14T09:30:24Z",
            "description": "Date and time"
          },
          "features": {
            "$ref": "#/components/schemas/ObjectFeature"
          }
        }
      },
      "RefSourceType": {
        "type": "string",
        "nullable": true,
        "title": "Ref-Source-Type",
        "example": "Account",
        "enum": [
          "ACCOUNT",
          "UPLOAD",
          "ARCHIVE",
          "SOCIAL_SECURITY"
        ],
        "description": "Source Type"
      },
      "ObjectReferenceMetadata2": {
        "title": "Reference Metadata2",
        "type": "object",
        "description": "Metadata related to account-payload data",
        "properties": {
          "sourceId": {
            "type": "string",
            "description": "The ACCOUNT or ARCHIVE ID associated with this object"
          },
          "sourceType": {
            "$ref": "#/components/schemas/RefSourceType"
          },
          "userId": {
            "type": "string",
            "description": "The user ID associated with this object"
          },
          "providerId": {
            "type": "string",
            "description": "The provider ID associated with this object"
          }
        },
        "required": [
          "sourceId",
          "sourceType",
          "userId",
          "providerId"
        ]
      },
      "AccountPayload": {
        "required": [
          "metadata"
        ],
        "properties": {
          "metadata": {
            "$ref": "#/components/schemas/ObjectReferenceMetadata2"
          },
          "identity": {
            "$ref": "#/components/schemas/IdentityPayload"
          },
          "rating": {
            "$ref": "#/components/schemas/RatingPayload"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentPayload"
            }
          },
          "incomes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncomePayload"
            }
          },
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionPayload"
            }
          },
          "employments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmploymentPayload"
            }
          },
          "contributions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContributionPayload"
            }
          },
          "liabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LiabilityPayload"
            }
          },
          "eincomes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EincomePayload"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkPayload"
            }
          },
          "insight": {
            "$ref": "#/components/schemas/InsightPayload"
          }
        }
      },
      "AccountPayloadGetResponse": {
        "title": "Account Get Payload Response",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/ObjectMetadataRefCode"
          },
          "message": {
            "$ref": "#/components/schemas/ObjectMetadataRefMessage"
          },
          "requestId": {
            "$ref": "#/components/schemas/ObjectMetadataRefRequestID"
          },
          "data": {
            "$ref": "#/components/schemas/AccountPayload"
          }
        },
        "x-examples": {}
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "parameters": {
      "id": {
        "name": "id",
        "in": "path",
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "description": "ID of the specific object in the collection.",
        "required": true
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ]
}
```