Request

Below are sample JSON request payload formats

curl --location --request POST 'https://api.insights-periculum.io/statements/transaction-analytics'
--header 'Authorization: Bearer string_encrypted_access_token'
--header 'Content-Type: application/json'
--data-raw '{
    "output": {
        "customerId": "20990311",
        "customerType": "INDIVIDUAL",
        "transactions": [
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward payment for Order#9323",
                "amount": 1000010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow payment for Order#4313",
                "amount": 1000010.0,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward payment for Order#2222",
                "amount": 1000010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow payment for Order#2312",
                "amount": 1000010.0,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward payment for Sajimi Plc",
                "amount": 1000010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfer for Eleganza",
                "amount": 760010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfer Olaleye Olaed Bank For Africa datbo",
                "amount": 240010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward payment for Sajimi datbo",
                "amount": 300010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfer 162188053",
                "amount": 100010.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow reference 1e09j30e29r30jr",
                "amount": 200010.0,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow transfer",
                "amount": 100010.0,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfer Adeyemo Bayo Uthman/0053065797/Access Bank datbo",
                "amount": 430000.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "amount": 3000.0,
                "details": "transfer for Order#9313",
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow transfer for Order#9323",
                "amount": 50000.0,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow transfer Solomon Ayobami Faniyi/9033256760/Paycom(Opay) fff",
                "amount": 15000.0,
                "balance": 5560271.35,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfer 2250972449/",
                "amount": 500000.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow for Wala Construction1407139366",
                "amount": 1000000.0,
                "type": "credit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfer Wala Construction1407139366/Access Bank datb",
                "amount": 1000000.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward transfe",
                "amount": 1000000.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "outward purchase for Roofing sheets",
                "amount": 100000.0,
                "type": "debit"
            },
            {
                "transactionDate": "2023-12-01T00:00:00",
                "details": "inflow transfer paycom(Opay) datb",
                "amount": 100000.0,
                "type": "credit"
            } 
        ]
    }
}'