Check Customer

View as Markdown
Retrieves a registered customer profile for the authenticated account. **Authentication:** - **REQUIRED**: Basic Auth only. **Query Parameters:** - `customer_id` (required): Customer identifier returned by `registerCustomer`. **Response:** - Returns flat sender profile fields, `customer_id`, optional timestamps, and `allowed` (country -> boolean). **Field code references:** - `ic_type` must be one of the supported identification document type codes: `NIC`, `PP`, `WEP`. - `occupation` must be one of the supported occupation codes: `OCC1` through `OCC11`.

Query parameters

customer_idstringOptional

Required: customer_id returned by registerCustomer

Response

OK
customer_idstring
name_firststring
name_laststring
genderstring
ic_numberstring
ic_typestring
ic_countrystring
occupationstring
country_of_residencestring
phonestring
emailstringformat: "email"
nationalitystring
dobdate
addressstring
ic_expiry_datedate
created_atdatetime
updated_atdatetime
allowedobject

Errors

404
Not Found Error