Financial Habits

This endpoint gives you valuable insights to the spending behaviour and patterns of an individual.

METHOD: POST

RESOURCE URL

{base-url}/api/v1/request/customer-insights/derived-attributes


Request body description

FieldField nameData typeMax lengthRequiredDescription
1identificationTypeString10TrueEither 'bvn' or 'phone'
2yearMonthString7TrueThe month and year in yyyy-MM

Response message description

FieldField nameData typeDescription
1responseCodeStringResponse code of the request
2responseMessageStringResponse mesaage of the request
3dataObjectResponse data containing the records of spending behaviour and pattern assigned to the identification Number and the date range


Sample Request

{
    "phone":"2347030393164",
    "yearMonth":"2024-07"
}

_Sample Response

_

{
    "responseCode": "00",
    "responseMessage": "Successful",
    "data": {
        "ageGroup": "Millennial",
        "spendingHabit": {
            "behaviouralCategory": "Shopper",
            "peakTransactionDay": "Saturday",
            "peakDayFrequency": 1,
            "peakPeriod": "Morning"
        },
        "percentDebitToPercentCreditMonthly": "100.0 %",
        "topSpendLocations": [
            "PAYCOM NIGERIA LIMITED JAYPAUL HOUSELANG",
            "TEAMAPT LIMITED LA LANG",
            "BAXI---------- IMO--RRN719915229889 LANG"
        ],
        "topInflowSource": [
            "PAYCOM NIGERIA LIMITED JAYPAUL HOUSELANG",
            "TEAMAPT LIMITED LA LANG",
            "BAXI---------- IMO--RRN719915229889 LANG"
        ]
    }
}