Update Customer Account

Update an existing customer account by providing the unique id of the customer account you want to update to request body.

PUT /api/account/v1/updatecustomeraccount The id of the customer is the GUID returned when creating a customer or when running the Search Account API request.

The other fields allow you to update accountName, accountTierLevel, categoryOfAccount and SectorCode.

Headers

NameValue

Content-Type*

application/json

Authorization*

Bearer <token>

Request-Reference

{unique-reference}

Body

NameData Type (length)RequiredDescription

id

string

Unique identifier for the customer's account (GUID format)

AccountName

String

The customer's account name

accountTierLevel

integer

Account tier level. The enumerations are:

1 = Tier 1 (default),

2 = Tier 2, 3 = Tier 3

categoryOfAccount

string

Category of the account (e.g., private, staff) The enumerations are:

1 = Bank Staff,

2 = Bank Director, 3 = Other Customers, 4 = Private, 5 = Public

sectorCode

string

Code representing the sector of the account The enumerations are:

40100 = Agriculture, Forestry, and Fishing

40200 = Mining and Quarrying 40300 = Manufacturing

40500 = Real Estate Activities 40700 = General Commerce 40800 = Transportation and Storage

40900 = Finance and Insurance 41000 = General

41200 = Governments

41300 = Water Supply, Sewage, Waste Management, and Remediation Activities

41400 = Construction

41500 = Information and Communication

41600 = Professional, Scientific, and Technical Activities

41700 = Administrative and Support Service Activities

41800 = Education

41900 = Human Health and Social Work Activities

42000 = Arts, Entertainment, and Recreation

42100 = Activities of Extra-Territorial Organizations and Bodies

42200 = Power and Energy 42300 = Capital Market

42400 = Oil and Gas

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

Sample Request
curl --location -g --request PUT '{{baseurl}}/api/account/v1/updatecustomeraccount' \
--header 'Authorization: bearer {token}' \
--header 'request-reference: {unique_reference}' \
--header 'Content-Type: application/json' \
--data '{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "accountTierLevel": 0,
  "categoryOfAccount": "string",
  "sectorCode": "string"
}'

Response

{
  "status": true,
  "message": "string"
}

Last updated