m2pfintech
API LibraryCustomer Management

Update Registered Account

Updates the bank account information for a registered customer. This API allows modifying account details such as account status, account type, currency, default account flag, initial funding amount, primary flag, and scheme code.

POST
/update-manager/account

Authorization

tenantAuth
tenant<token>

The DCMS tenant name for multi-tenant isolation. Every API call must include this header to identify the client organization.

In: header

Header Parameters

tenant*string

The DCMS client or tenant name for multi-tenant isolation.

Request Body

application/json

entityId*string

Unique customer entity identifier whose account is being updated.

accountInfo*

Updated list of account details.

Response Body

application/json

curl -X POST "https://api.dcms.example.com/v1/update-manager/account" \  -H "tenant: ACME_BANK" \  -H "Content-Type: application/json" \  -d '{    "entityId": "req11",    "accountInfo": [      {        "accountNo": 8000000,        "accountStatus": "ACTIVE",        "accountType": "SAVING",        "accountsCurrency": "INR",        "defaultAccount": true,        "initialFunding": "8000",        "isPrimary": false,        "schemeCode": "2003"      }    ]  }'
{
  "result": {
    "entityId": "req11"
  },
  "exception": null,
  "pagination": null
}