Register customer on PSP

View as Markdown
- This API is used to register an existing customer on another PSP - Before creating a customer on the PSP, the required fields on the PSP must be updated using the API. **Path variable** - `customerId:` Identifier of the customer **Request Body** | Field | Type | Required | Description | | --- | --- | --- | --- | | `pspId` | string | Yes | Identifier of the payment provider (e.g., `nium`, `finmo`). | 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 | | `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.
pspIdstringRequired

Response

OK
idstringformat: "uuid"
dobdate
typestring
emailstringformat: "email"
lastNamestring
createdAtdatetime
createdBystringformat: "uuid"
firstNamestring
updatedAtdatetime
updatedBystringformat: "uuid"
addressCitystring
companyInfoobject
phoneNumberstring
addressStreetstring
pspCustomerIdstring
addressCountrystring
addressZipCodestring
addressLocationstring
phoneCountryCodestring
countryOfResidencestring