Where there is limited income information available, Smile can also provide additional derived income information from secondary data types such as:

  • social security contributions
  • annual salary calculations
  • computed earnings from transactions

Based on available historical data from the data provider, we calculate an estimated monthly income for the user and surface that information via our API, saving you additional computational overhead.

Estimated Incomes is currently in alpha.

The Estimated Income object

AttributeTypeDescription
idstringUnique ID of this estimated income object
monthstringThe month where this estimated income is for, in 'YYYY-MM' format
currencystringCurrency of the estimated income in standard three-letter ISO code
amountnumberIncome amount
metadataobjectAdditional information about the resource such as created date, data source, user id, etc.

The Meta Data object

AttributeTypeDescription
createdAtdate-timeDate/time when the account record was created
itemCreatedAtdate-timeDate/time when the estimated income record was created
accountId DeprecatedstringID of the user's account in the Smile Network
sourceIdstringID of the user's account or archive in the Smile Network
sourceTypestringIndicates whether the source associated with this object is an account or archive. Possible values: ACCOUNT, UPLOAD, ARCHIVE
providerIdstringID of the data provider of the user's account
userIdstringID of the user on the Smile Network

Sample Estimated Income data

Estimated income is always returned as a monthly amount.

{  
    "id": "einc-123abc456def789abc123def456abc78",  
    "month": "2022-07",  
    "currency": "PHP",  
    "amount": 8500,  
    "metadata": {  
        "createdAt": "2022-09-01T01:44:18Z",
        "itemCreatedAt": "2022-08-24T05:24:37Z",
        "sourceId": "a-123abc456def789abc123def456abc78",  
        "sourceType": "ACCOUNT",  
        "userId": "tenantId-123abc456def789abc123def456abc78",  
        "providerId": "abccorp",  
        "accountId": "a-123abc456def789abc123def456abc78"  
    }  
}, {  
    "id": "einc-123abc456def789abc123def456abc78",  
    "month": "2022-06",  
    "currency": "PHP",  
    "amount": 8500,  
    "metadata": {  
        "createdAt": "2022-09-01T01:44:18Z",  
        "itemCreatedAt": "2022-08-24T05:24:37Z",
        "sourceId": "a-123abc456def789abc123def456abc78",  
        "sourceType": "ACCOUNT",  
        "userId": "tenantId-123abc456def789abc123def456abc78",  
        "providerId": "abccorp",  
        "accountId": "a-123abc456def789abc123def456abc78"  
    }  
}

Endpoints

Webhooks

EINCOMES_ADDED

Fired when estimated income data has been derived from data shared by a user, either from transactions, contributions, or other data from the provider.

{
  "id": "et-123abc456def789abc123def456abc78",
  "version": 1,
  "type": "EINCOMES_ADDED",
  "createdAt": "2021-04-14T09:30:24Z",
  "data": {
    "userId": "tenantId-123abc456def789abc123def456abc78",
    "accountId": "a-123abc456def789abc123def456abc78",
    "count": 0
  }
}