> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidoc-v1.maniscloud.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidoc-v1.maniscloud.com/_mcp/server.

# Get customer by id

GET https://api/v1/customers/%7BcustomerId%7D

Reference: https://apidoc-v1.maniscloud.com/manis-unified-api-v-1-0/customer/get-customer-by-id

## Servers

- `https:/` (https://{url}, default)
- `https:/` (https://{devurl})

## Response

### 200

OK

## Examples

**Response**

```json
"{\n    \"id\": \"1343344d-4542-4997-8156-72fd328a65c2\",\n    \"pspCustomers\": [\n        {\n            \"pspId\": \"finmo\",\n            \"pspCustomerId\": \"customer_8424ce5495344c338091fddd778aaf42\",\n            \"status\": \"APPROVED\",\n            \"createdDate\": \"2025-06-11T09:41:41.195Z\",\n            \"createdBy\": \"7eea1a78-6e23-49e4-a6c7-31d3181edb56\"\n        },\n        {\n            \"pspId\": \"nium\",\n            \"pspCustomerId\": \"093f7007-2c44-4c2b-b5e7-e161d75c405a\",\n            \"status\": \"APPROVED\",\n            \"createdDate\": \"2025-06-11T10:03:37.663Z\",\n            \"createdBy\": \"7eea1a78-6e23-49e4-a6c7-31d3181edb56\"\n        }\n    ],\n    \"type\": \"COMPANY\",\n    \"accountUsagePurpose\": \"Testing Purpose\",\n    \"companyInfo\": {\n        \"name\": \"EGS\",\n        \"website\": \"eastgate.com\",\n        \"registrationNumber\": \"1122334455\",\n        \"incorporationCountry\": \"US\",\n        \"incorporationDate\": \"1998-01-01\",\n        \"email\": \"egs@mail.com\",\n        \"phoneCountryCode\": \"+1\",\n        \"phoneNumber\": \"920192912\",\n        \"addressCountry\": \"US\",\n        \"addressZipCode\": \"100\",\n        \"addressCity\": \"string\",\n        \"addressStreet\": \"string\",\n        \"addressLocation\": \"string\",\n        \"createdAt\": \"2025-06-11T09:41:39.838Z\",\n        \"createdBy\": \"7eea1a78-6e23-49e4-a6c7-31d3181edb56\",\n        \"updatedAt\": \"2025-06-11T09:41:39.838Z\",\n        \"updatedBy\": \"7eea1a78-6e23-49e4-a6c7-31d3181edb56\",\n    },\n    \"firstName\": \"East\",\n    \"lastName\": \"Gate\",\n    \"countryOfResidence\": \"VN\",\n    \"email\": \"string@mail.com\",\n    \"phoneCountryCode\": \"+1\",\n    \"phoneNumber\": \"920192912\",\n    \"addressCountry\": \"US\",\n    \"addressZipCode\": \"100\",\n    \"addressCity\": \"City\",\n    \"addressStreet\": \"Street\",\n    \"addressLocation\": \"Location 1\",\n    \"dob\": \"1999-01-30\",\"createdAt\": \"2025-06-11T09:41:39.838Z\",\n    \"createdBy\": \"7eea1a78-6e23-49e4-a6c7-31d3181edb56\",\n    \"updatedAt\": \"2025-06-11T09:41:39.838Z\",\n    \"updatedBy\": \"7eea1a78-6e23-49e4-a6c7-31d3181edb56\"\n}"
```

**SDK Code**

```python Customer_Get customer by id_example
import requests

url = "https://https/api/v1/customers/%7BcustomerId%7D"

response = requests.get(url)

print(response.json())
```

```javascript Customer_Get customer by id_example
const url = 'https://https/api/v1/customers/%7BcustomerId%7D';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Customer_Get customer by id_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/api/v1/customers/%7BcustomerId%7D"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Customer_Get customer by id_example
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/customers/%7BcustomerId%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java Customer_Get customer by id_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/api/v1/customers/%7BcustomerId%7D")
  .asString();
```

```php Customer_Get customer by id_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/api/v1/customers/%7BcustomerId%7D');

echo $response->getBody();
```

```csharp Customer_Get customer by id_example
using RestSharp;

var client = new RestClient("https://https/api/v1/customers/%7BcustomerId%7D");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Customer_Get customer by id_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/customers/%7BcustomerId%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```