Add Account

This API is used to add new accounts and update the latest status of existing user accounts.

MANDATORY

Method: POST

API URL: BASE_URL/account/add

INFO

Entity can trigger this API to update the latest status of existing accounts without the support of Account Fetch webhook.

Request

MANDATORY

All parameters in the request are required to proceed.

WARNING

The request should be in a array and include all the accounts of the user in the entity.

Parameters

ParameterTypeDescription

head

Object

API_ID

String

Unique ID generated from the dashboard. Eg: 1a21as51a351f1155f

API_KEY

String

Unique KEY generated from the dashboard. Eg: AAD5451FS654SD6F5SD46F3S1D5S

result

Object

code

Integer

Result code for the response. Find result codes

status

String

The status against the request. Allowed values: SUCCESS , FAILED

user

Object

mobile

String

Mobile number of user. Character length : 10 Eg: 9876543210

country_code

String

Country code for the mobile number.

Character length : 2

Eg: 91

accounts

Array of Objects

branch_code

String

Branch code where the account is maintained. Character length : 02 (Min), 12 (Max) Eg: BR001

branch_name

String

Name of the branch where the account is maintained.

Character length : 04 (Min), 20 (Max) Eg: KOCHIN MAIN

account_name

String

Name of the account holder registered with the entity. Character length : 30 (Max) Only UPPERCASE letters are allowed. Eg: RAJESH KJ

account_number

String

User account number. Character length : 04 (Min), 20 (Max) Eg: 123456789

account_type

String

This helps to identify the type of account. Refer

Allowed values: SA, CA, TL, OD

Eg: SA

account_class

String

Classification of account under account_type. Character length: 30 (Max) Eg: AGRICULTURAL LOAN

account_status

String

Current status of account. Refer Possible values: ACTIVE, INACTIVE, BLOCKED, CLOSED

Eg: ACTIVE

account_opening_date

String

Date of opening the account from the branch. Format: YYYY-MM-DD Eg: 2020-11-20

account_currency

String

Currency for transactions. Refer

Possible values: INR Eg: INR

account_daily_limit

String

Maximum amount that can be transferred through NEFT/ RTGS/ IMPS/ UPI. Character length : 6 (Max) [I.e. 999999] Eg: 44999

auth_salt

String

Salt value for hashing the authentication pin for debit transactions. [Applies to high-level configuration only.]

Character length : 32 (Max) Eg: abcdefghi1234567abcdefghi1234567

is_debit_allowed

Boolean

If debit transactions are not allowed for the account, keep it false. Default value is true. Possible values: true, false

Eg: true

is_credit_allowed

Boolean

If credit transactions are not allowed for the account, keep it false. Default value is true. Possible values: true, false

Eg: true

is_cash_debit_allowed

Boolean

If the account does not allow cash-based WITHDRAWALS, keep it false. Default value is true.

Possible values: true, false

Eg: true

is_cash_credit_allowed

Boolean

If the account does not allow cash-based DEPOSITS, keep it false. Default value is true.

Possible values: true, false

Eg: true

Request format

{
    "head": {
        "api": "accountAdd",
        "apiVersion": "V1",
        "timeStamp": "2022-11-10 03:21:19 PM",
        "auth": {
            "API_ID": "6360b30096066b82e9697996",
            "API_KEY": "b54996b0-59a8-11ed-911b-87fca52fd2dc"
        }
    },
    "encrypted_data": {
        "cipher_text": "hDLsE1qBGwbHRxdcLy18c+fasWaEl/EvlVqum4f+ZkCbkcdNGWgLNSqD/Bz+wjOPX0WGkihxeyst9zPoXCUS8FWaTCFEOs2oPpW3gGmqIdBnVe7JMkqiEZ0pP207fcK5KSgBHt4u6EHeVqm07gTfHpadanMC7Am/4yI/bDgayOa4Mwsm1yfVSF5oBbYFZ+mDLwKLn+XoItg279vVxsbfFUV5TJbiE9TVOUlMpZCmqXOKPMz60CbaQ3YXQ3ky+npZXJFie1yDOSa4X2YOCoWrFLq1Z4tI7XTPyr0MaYPJ477gMXrgrjFrfwN77SEsEpGQcbWYIZm/tY3JtNCYXoVg5S0C2m+RoUX7AyB+gVIoLsScVFKXdLczCxb4K8zDUhFnDzuwbFGpI4Wv6umBOgi7d0BWVR0cn57x1hxG6YqwP2pMm+j9NDrxhTP32yLPc/HkKzk8traqFtVpBinEPSZa5FVuR+f0gplPucIn4YkRHRKcZHX7+PbmX3TVkaoGiXK93GmLI+N/Y/Le2rsOit3cCtAZMG/Jb1yOFL09OLMEnrkRDUvvK6z6GIfOviglh2zB+7OqHQ57rymK0lAgZQN3UupWM157QtjobNysQguiGV/oh4uGQR+SMzegmP6uAFQ1edtWCQUPV58hgWPLfXp47wqsPztlk7PZJoOTHFhpD1VVDRLixGUaWR0kgSN3YxMe+3uGgjTtgk4HXjchMBQ61OPNLcnOddZxe8Eju+Ldo2mbJDR6PREzqLsCYFHIucCEJBjCwwVIFrwRgsXQ7FR0MkqC26JgGmb6r2mSUEdscT+kQnb3t3Lu+RiVfoS9UJ3C/p+DS/zFSIYwLN3odofgbXKsRsdgVbW957LL9WaZDL1b+ADF0+m4VqxjecxtOdMLNKVfHeS917B51aMsWjOam7ysKVJG3gZJe8KMAIibVN3TgC5tsClS1ok8Cbt76m7cn+CLBQIvVzB8WIZ3BG+5YJwuHJLUL/a1h+mVuuzSDUef85dVHjvRJ/OmMqeRtaYhpF3pDfwerL74KIDMGGugD699rtoN+DCbivaWw/OgLu2AG9L+zTlZsTEUKuJLmWm7bZH+XfKG26jwctX9MYFFvnKrkBwz6fMZmp1adzOaJZUtg5TUV93fuusIpAJkUu28mY7lo7mTa8FjtnGBuudLufw0louuS2nLciBSSdjxEJ2uaNHFWXCvDyONW6e8ucX+HK3eYLqC8hIuyYm4nKEKwwIL+Lau8sYKk70+nhlH4WKIOnPG8Q+Lq+zCC6Ub5nsma7fg+s0PsffHa8Dw6YR3b2P14GzOmgpr3iunUbKXgYLa20bEfiy3OQgCr3/96fcewiX8+4Sc1Yoa3YVqdTOo3+2eCh1EEjOdc60bnmujQ7w=",
        "iv": "9ab6320a60d0d1cb",
        "hash": "6a06e43a0f5cf384846da5b786e71e548e49066a8812aef05686f7de486c9c57"
    }
}

Response

Parameters

INFO

All the parameters received in the request except API_ID & API_KEY are returned in the response. The response will include all accounts associated with the user created by the entity. Find request parameters.

Response format

{
    "head": {
        "api": "addAccount",
        "apiVersion": "V1",
        "timeStamp": "2022-11-10 03:21:19 PM",
        "HTTP_CODE": 200
    },
    "encrypted_data": {
        "cipher_text": "IEau7gnewJnsjF22MJGc3DHkrU4irzNt2mShi+RU31vCSc8nez3OBs8cVuKoS1IpaCehvMLw6OZhFFFl1yY3qpVQRkxXrSvEpZ2Mt58mHONfWUpZG38E0TJEcoFqb5SffjvcDoQwKtxYJ2BPbZG7vpKi+MvfYAq5r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56ZOod1fYWu7JUhjiai",
        "iv": "b24acc0b34621ed9",
        "hash": "ec5891ae7936232b6e4f4603378836320d8f397c81cd047368f76155d42e9708"
    }
}

Result Code

See the listed common result codes

Last updated