Update customer info
This API is used to update customer information in the Manis database, as well as that of PSP customers.
**Path variable**
- `customerId:` Identifier of the customer
**Request Body:**
| Field | Type | Required For | Description |
| --- | --- | --- | --- |
| `type` | string | All providers | Customer type. Acceptable values: `INDIVIDUAL` or `COMPANY`. |
| `accountUsagePurpose` | string | Finmo only | Purpose of the account usage (required by Finmo). |
| `firstName` | string | All providers | Customer’s first name. |
| `lastName` | string | All providers | Customer’s last name. |
| `dob` | string | Finmo only | Date of birth in `YYYY-MM-DD` format. |
| `countryOfResidence` | string | Finmo only | Country where the customer resides (ISO 3166-1 alpha-2 code). |
| `email` | string | Finmo only | Customer's email address. |
| `phoneCountryCode` | string | Finmo only | Country code for the phone number (e.g., `+1`). |
| `phoneNumber` | string | Finmo only | Customer’s phone number. |
| `addressCountry` | string | All providers | Country of the address (ISO 3166-1 alpha-2 code). |
| `addressZipCode` | string | All providers | ZIP or postal code. |
| `addressCity` | string | All providers | City of the address. |
| `addressState` | string | All providers | State or province. |
| `addressStreet` | string | All providers | Street name and number. |
| `addressLocation` | string | All providers | Additional location info (e.g., building, floor). |
| `identificationType` | string | Finmo only | Type of ID document (e.g., `PASSPORT`, `NATIONAL_ID`). |
| `identificationValue` | string | Finmo only | ID number as shown in the identification document. |
| `identificationDocumentId` | string | Finmo only | Document ID from **Upload Customer Document API** for identification. |
| `addressProofDocumentId` | string | Finmo only | Document ID from **Upload Customer Document API** for address proof. |
| `companyInfo` | object | Required if `type = COMPANY` | Company details block. Required when creating a company-type customer. |
`Comapny Information:`
| Field | Type | Required For `type = COMPANY` | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Legal name of the company. |
| `website` | string | Yes | Company website URL. |
| `registrationNumber` | string | Yes | Company registration number. |
| `incorporationCountry` | string | Yes | Country where the company is incorporated (ISO 3166-1 alpha-2 code). |
| `incorporationDate` | string | Yes | Incorporation date in `YYYY-MM-DD` format. |
| `email` | string | Yes | Company contact email. |
| `phoneCountryCode` | string | Yes | Country code for the company phone number. |
| `phoneNumber` | string | Yes | Company phone number. |
| `addressCountry` | string | Yes | Company address country. |
| `addressZipCode` | string | Yes | ZIP or postal code. |
| `addressCity` | string | Yes | City of the company address. |
| `addressState` | string | yes | State or province. |
| `addressStreet` | string | Yes | Street address. |
| `addressLocation` | string | Yes | Additional address details (e.g., unit, building). |
| `incorporationCertificateDocumentId` | string | Yes | Document ID for the incorporation certificate (from Upload API). |
| `addressProofDocumentId` | string | Yes | Document ID for company address proof (from Upload API). |
Response Body
200 OK
| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Identifier of the customer in Manis |
| `type` | string | Customer type. Acceptable values: `INDIVIDUAL` or `COMPANY`. |
| `accountUsagePurpose` | string | Purpose of the account usage (required by Finmo). |
| `firstName` | string | Customer’s first name. |
| `lastName` | string | Customer’s last name. |
| `dob` | string | Date of birth in `YYYY-MM-DD` format. |
| `countryOfResidence` | string | Country where the customer resides (ISO 3166-1 alpha-2 code). |
| `email` | string | Customer's email address. |
| `phoneCountryCode` | string | Country code for the phone number (e.g., `+1`). |
| `phoneNumber` | string | Customer’s phone number. |
| `addressCountry` | string | Country of the address (ISO 3166-1 alpha-2 code). |
| `addressZipCode` | string | ZIP or postal code. |
| `addressCity` | string | City of the address. |
| `addressState` | string | State or province. |
| `addressStreet` | string | Street name and number. |
| `addressLocation` | string | Additional location info (e.g., building, floor). |
| `identificationType` | string | Type of ID document (e.g., `PASSPORT`, `NATIONAL_ID`). |
| `identificationValue` | string | ID number as shown in the identification document. |
| `identificationDocumentId` | string | Document ID from **Upload Customer Document API** for identification. |
| `addressProofDocumentId` | string | Document ID from **Upload Customer Document API** for address proof. |
| `companyInfo` | object | Company details block. Required when creating a company-type customer. |
| `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | |
| `createdBy` | string | |
| `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | |
| `updatedBy` | string | |
| `pspResults` | object | result from each PSP registed customer |
| └─`pspId` | string | Identifier of the PSP |
| └─`pspName` | string | Name of the PSP |
| └─`success` | boolean | Status of request update to PSP registed |
`Comapny Information:`
| Field | Type | Description |
| --- | --- | --- |
| `name` | string | Legal name of the company. |
| `website` | string | Company website URL. |
| `registrationNumber` | string | Company registration number. |
| `incorporationCountry` | string | Country where the company is incorporated (ISO 3166-1 alpha-2 code). |
| `incorporationDate` | string | Incorporation date in `YYYY-MM-DD` format. |
| `email` | string | Company contact email. |
| `phoneCountryCode` | string | Country code for the company phone number. |
| `phoneNumber` | string | Company phone number. |
| `addressCountry` | string | Company address country. |
| `addressZipCode` | string | ZIP or postal code. |
| `addressCity` | string | City of the company address. |
| `addressState` | string | State or province. |
| `addressStreet` | string | Street address. |
| `addressLocation` | string | Additional address details (e.g., unit, building). |
| `incorporationCertificateDocumentId` | string | Document ID for the incorporation certificate (from Upload API). |
| `addressProofDocumentId` | string | Document ID for company address proof (from Upload API). |
| `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | |
| `createdBy` | string | |
| `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | |
| `updatedBy` | string | |
400 BAD REQUEST - 403 FORBIDDEN - 401 UNAUTHORIZED - 500 INTERNAL ERROR
| **Field** | type |
| --- | --- |
| timestamp | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |
| title | string |
| type | string |
| status | number |
| soaCode | string |
| detail | string |
Request
This endpoint expects an object.
dob
type
email
lastName
firstName
addressCity
companyInfo
phoneNumber
addressStreet
addressCountry
addressZipCode
addressLocation
phoneCountryCode
countryOfResidence
accountUsagePurpose
Response
OK
id
dob
type
email
lastName
createdAt
createdBy
firstName
updatedAt
updatedBy
pspResults
addressCity
phoneNumber
addressStreet
addressCountry
addressZipCode
addressLocation
phoneCountryCode
countryOfResidence

