Get Customer by ID
curl --request GET \
--url https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId} \
--header 'x-api-key: <api-key>'import requests
url = "https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "e26f9c7b-180c-4ad6-b523-b3c9b0dd8010",
"organizationId": "112e889b-0833-41fc-b0ea-284062dce2b8",
"firstName": "Tunde",
"lastName": "Ogunleye",
"middleName": "Tunde",
"dob": "1964-08-04T00:00:00",
"customerTypeId": "d6ccce2c-0c4b-40cc-8a73-5bbe6338252d",
"customerTierId": 2,
"alias": null,
"countryId": "c9cc064a-69e7-4719-96df-2f399c8bf798",
"city": "Mushin area",
"address": "4 ogunsanya",
"mobileNumber": "08080224478",
"emailAddress": "gbenga.adebayo@example.com",
"dateCreated": null,
"isCorporateVerified": ""
},
"status": 200,
"message": ""
}
Individual
Get Customer by ID
This endpoint retrieves customer using their unique identifier
GET
/
customers
/
get
/
id
/
{customerId}
Get Customer by ID
curl --request GET \
--url https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId} \
--header 'x-api-key: <api-key>'import requests
url = "https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://wallet.dev.embedded.kolomoni.net/api/v1/customers/get/id/{customerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "e26f9c7b-180c-4ad6-b523-b3c9b0dd8010",
"organizationId": "112e889b-0833-41fc-b0ea-284062dce2b8",
"firstName": "Tunde",
"lastName": "Ogunleye",
"middleName": "Tunde",
"dob": "1964-08-04T00:00:00",
"customerTypeId": "d6ccce2c-0c4b-40cc-8a73-5bbe6338252d",
"customerTierId": 2,
"alias": null,
"countryId": "c9cc064a-69e7-4719-96df-2f399c8bf798",
"city": "Mushin area",
"address": "4 ogunsanya",
"mobileNumber": "08080224478",
"emailAddress": "gbenga.adebayo@example.com",
"dateCreated": null,
"isCorporateVerified": ""
},
"status": 200,
"message": ""
}
The unique identifier for the customer. Example:
‘e7aef26c-87cf-4c2e-a018-49d7914bb1bc’
{
"data": {
"id": "e26f9c7b-180c-4ad6-b523-b3c9b0dd8010",
"organizationId": "112e889b-0833-41fc-b0ea-284062dce2b8",
"firstName": "Tunde",
"lastName": "Ogunleye",
"middleName": "Tunde",
"dob": "1964-08-04T00:00:00",
"customerTypeId": "d6ccce2c-0c4b-40cc-8a73-5bbe6338252d",
"customerTierId": 2,
"alias": null,
"countryId": "c9cc064a-69e7-4719-96df-2f399c8bf798",
"city": "Mushin area",
"address": "4 ogunsanya",
"mobileNumber": "08080224478",
"emailAddress": "gbenga.adebayo@example.com",
"dateCreated": null,
"isCorporateVerified": ""
},
"status": 200,
"message": ""
}

