Account Statement

This Webhook is used to retrieve the account statement and the latest balance of the account held by the user.

Request

You must add a accountStatement callback URI to the webhook profile to receive requests from us.

Parameters

INFO

The maximum difference between start_date and end_date is 365 days. i.e. 1 year.

Request format

{
    "head": {
        "api": "accountStatement",
        "apiVersion": "V1",
        "timeStamp": "2022-11-11 07:04:37 AM"
    },
    "encrypted_data": {
        "cipher_text": "wpfVRm9eYVuFbCraLswKV/nHMOmBI9xMCiycizLDa7W9IEoQvJ5ihQykyRnZURthAReDOCpnwqAuXLk7c2QVcwbDzfxg/P8nflafaI8jT/CVxn/NlE7XCYPoiHcCr0sjdxvFYgX0p21eCsb3/LACYXw7cMfdv6hL62mTG1d9TyZ5+BgMnB32YqydBhjdQX4OJ3FmiC3Km3PigvpD0iKT4nyB6axefYRCekffluL0+40=",
        "iv": "e81c22a91b173b28",
        "hash": "bade372d33876a16491ba9921ec9752b500cc728590bfa7e7461a41964cdca63"
    }
}

Response

MANDATORY

All parameters in the response are required to proceed.

INFO

If no transaction is found/ failed to fetch for any reason, the balance_amount in the response must be 0 (zero).

WARNING

The transactions array includes all transactions between the shared dates of the account.

The transactions array should be empty if there are no transactions associated with the respective account.

Parameters

Response format

{
    "head": {
        "api": "accountStatement",
        "apiVersion": "V1",
        "timeStamp": "2022-11-11 07:04:37 AM",
        "HTTP_CODE": 200
    },
    "encrypted_data": {
        "cipher_text": "UdB2DW6hp5EEVWaiR+bSh5uN1qzYGra4wh4XR1DU3idltQfB8DUxPFijyUprm45oUdSvuJhj3g60Y28m6epHIODY1O7+DYcaPSfpPLoDRcmDEGXpm0/WMRtCSj8yyG4onmVWeclbaD/hCb1Fl0dTY+LQvJnTaqtb+ZyCq5wXzmZ4ZwZfHYvpYQL5eSoUSvoWYHcmTbK08E3fpuEmrC3Hz9E+yIodwBRnnUyeaPoYnHkcdmsAURNWhNPmWe5WmIVrLksBWkJP/kkNh7NjzOk3Cgk8CBZXYebl53GagWsuS0w0CXxKWL2XBEJjcxXQwwqw8fqQ0g9oPAOL0xFPCPEwQNOyY7OfYl/iyZzxFlQVAVqv30axmHPbA+FiW+v4JTeWhH5TITAnSz09XZgBuZZyRejkR1nFl60zZnK6/f7tGNpki8GpTYJnRVYaX6RBdYrE7QUJrIt5npQyKC9Lfowv0bhugq97X0GhdNHGYFa/jQAS7sgxZyPhvT05fL/CgHEs0NDXhtBX4zeq5rMY3rox1bS8UqYDdbtC/ObqwRiVcAIwTlfQNr7wgaKGaliFlGX/T4XB7lc+TWJ7F2TQIStEk6dWXQwNLif6B9VFMTK00Yuff2bYW7BAMxbRBAYLCuBmChSqFOFm8aS1ST5Lcf1YqP7HzA4jJs5j2SmMJjvEoNHiQA+LTGU8Ppf1VIz158b2PKbx8pDau16sOgoiS95Y2/Ri6M2+XqEootjxmq1RxqSvsdn98OeB+j4btyOukms0zWblNpTVBcUAk8jL6N+r20a/N0q5krO15u6KAWQMD6BcD3eTfwIlMy7UecjWHFKyzBnucut/cUSkmFDPG6W/1Q==",
        "iv": "b2c52e5178f301f4",
        "hash": "cfaf6934f964e90030b2e981aa18c03c5975a5c87001bc8a1839fd656e06d7fe"
    }
}

Result Code

Success

  • 1001 - SUCCESS

Failed

  • 2021 - Invalid account

  • 2022 - Account number and mobile number do not match

Last updated