Get Wallet By Customer ID
curl --request GET \
--url https://wallet.dev.embedded.kolomoni.net/api/v1/wallets/get/list/{customerId} \
--header 'x-api-key: <api-key>'import requests
url = "https://wallet.dev.embedded.kolomoni.net/api/v1/wallets/get/list/{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/wallets/get/list/{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/wallets/get/list/{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/wallets/get/list/{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/wallets/get/list/{customerId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://wallet.dev.embedded.kolomoni.net/api/v1/wallets/get/list/{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{
"code": "00",
"success": true,
"message": "Retrieved Successfully",
"data": [
{
"id": "bcf33963-ef76-4669-beee-9ea8de0f9595",
"walletGroupId": null,
"customerId": "59d7dcb9-07aa-4220-9606-7fb2091e9e0b",
"availableBalance": 0,
"ledgerBalance": 0,
"walletRestrictionId": "d4f3f51e-bd11-4056-8fea-6a98f42780b5",
"walletClassificationId": "46c26b30-5cfd-42a6-858c-4db47a551ea9",
"currencyId": "c47a497e-210c-4ff7-a661-25ff71d01a5c",
"isInternal": false,
"isDefault": false,
"name": "Sabo Pharmacy Ltd",
"overdraft": null,
"virtualAccount": {
"accountNumber": "0948233369",
"bankCode": "090480",
"bankName": "Kolomoni MFB"
},
"mobNum": null,
"customerTypeId": "00000000-0000-0000-0000-000000000000"
},
{
"id": "74b71b3c-b60a-41ba-bc39-ffff0517a994",
"walletGroupId": null,
"customerId": "59d7dcb9-07aa-4220-9606-7fb2091e9e0b",
"availableBalance": 0,
"ledgerBalance": 0,
"walletRestrictionId": "d4f3f51e-bd11-4056-8fea-6a98f42780b5",
"walletClassificationId": "46c26b30-5cfd-42a6-858c-4db47a551ea9",
"currencyId": "c47a497e-210c-4ff7-a661-25ff71d01a5c",
"isInternal": false,
"isDefault": false,
"name": "Adunni Foods Ltd",
"overdraft": null,
"virtualAccount": {
"accountNumber": "0944178440",
"bankCode": "090480",
"bankName": "Kolomoni MFB"
},
"mobNum": null,
"customerTypeId": "00000000-0000-0000-0000-000000000000"
}
]
}
{
"code": "400",
"success": false,
"message": "Invalid Customer ID specified",
"data": null
}
{
"code": "404",
"success": false,
"message": "Invalid Customer",
"data": null
}
{
"code": "401",
"success": false,
"message": "Unauthorized access",
"data": null
}
{
"code": "500",
"success": false,
"message": "An unexpected error occurred",
"data": null
}
Wallet
Get Wallet By Customer ID
The endpoint retrieves the details of a specific wallet using its associated account number..
GET
/
api
/
v1
/
wallets
/
get
/
list
/
{customerId}
Get Wallet By Customer ID
curl --request GET \
--url https://wallet.dev.embedded.kolomoni.net/api/v1/wallets/get/list/{customerId} \
--header 'x-api-key: <api-key>'import requests
url = "https://wallet.dev.embedded.kolomoni.net/api/v1/wallets/get/list/{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/wallets/get/list/{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/wallets/get/list/{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/wallets/get/list/{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/wallets/get/list/{customerId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://wallet.dev.embedded.kolomoni.net/api/v1/wallets/get/list/{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{
"code": "00",
"success": true,
"message": "Retrieved Successfully",
"data": [
{
"id": "bcf33963-ef76-4669-beee-9ea8de0f9595",
"walletGroupId": null,
"customerId": "59d7dcb9-07aa-4220-9606-7fb2091e9e0b",
"availableBalance": 0,
"ledgerBalance": 0,
"walletRestrictionId": "d4f3f51e-bd11-4056-8fea-6a98f42780b5",
"walletClassificationId": "46c26b30-5cfd-42a6-858c-4db47a551ea9",
"currencyId": "c47a497e-210c-4ff7-a661-25ff71d01a5c",
"isInternal": false,
"isDefault": false,
"name": "Sabo Pharmacy Ltd",
"overdraft": null,
"virtualAccount": {
"accountNumber": "0948233369",
"bankCode": "090480",
"bankName": "Kolomoni MFB"
},
"mobNum": null,
"customerTypeId": "00000000-0000-0000-0000-000000000000"
},
{
"id": "74b71b3c-b60a-41ba-bc39-ffff0517a994",
"walletGroupId": null,
"customerId": "59d7dcb9-07aa-4220-9606-7fb2091e9e0b",
"availableBalance": 0,
"ledgerBalance": 0,
"walletRestrictionId": "d4f3f51e-bd11-4056-8fea-6a98f42780b5",
"walletClassificationId": "46c26b30-5cfd-42a6-858c-4db47a551ea9",
"currencyId": "c47a497e-210c-4ff7-a661-25ff71d01a5c",
"isInternal": false,
"isDefault": false,
"name": "Adunni Foods Ltd",
"overdraft": null,
"virtualAccount": {
"accountNumber": "0944178440",
"bankCode": "090480",
"bankName": "Kolomoni MFB"
},
"mobNum": null,
"customerTypeId": "00000000-0000-0000-0000-000000000000"
}
]
}
{
"code": "400",
"success": false,
"message": "Invalid Customer ID specified",
"data": null
}
{
"code": "404",
"success": false,
"message": "Invalid Customer",
"data": null
}
{
"code": "401",
"success": false,
"message": "Unauthorized access",
"data": null
}
{
"code": "500",
"success": false,
"message": "An unexpected error occurred",
"data": null
}
{
"code": "00",
"success": true,
"message": "Retrieved Successfully",
"data": [
{
"id": "bcf33963-ef76-4669-beee-9ea8de0f9595",
"walletGroupId": null,
"customerId": "59d7dcb9-07aa-4220-9606-7fb2091e9e0b",
"availableBalance": 0,
"ledgerBalance": 0,
"walletRestrictionId": "d4f3f51e-bd11-4056-8fea-6a98f42780b5",
"walletClassificationId": "46c26b30-5cfd-42a6-858c-4db47a551ea9",
"currencyId": "c47a497e-210c-4ff7-a661-25ff71d01a5c",
"isInternal": false,
"isDefault": false,
"name": "Sabo Pharmacy Ltd",
"overdraft": null,
"virtualAccount": {
"accountNumber": "0948233369",
"bankCode": "090480",
"bankName": "Kolomoni MFB"
},
"mobNum": null,
"customerTypeId": "00000000-0000-0000-0000-000000000000"
},
{
"id": "74b71b3c-b60a-41ba-bc39-ffff0517a994",
"walletGroupId": null,
"customerId": "59d7dcb9-07aa-4220-9606-7fb2091e9e0b",
"availableBalance": 0,
"ledgerBalance": 0,
"walletRestrictionId": "d4f3f51e-bd11-4056-8fea-6a98f42780b5",
"walletClassificationId": "46c26b30-5cfd-42a6-858c-4db47a551ea9",
"currencyId": "c47a497e-210c-4ff7-a661-25ff71d01a5c",
"isInternal": false,
"isDefault": false,
"name": "Adunni Foods Ltd",
"overdraft": null,
"virtualAccount": {
"accountNumber": "0944178440",
"bankCode": "090480",
"bankName": "Kolomoni MFB"
},
"mobNum": null,
"customerTypeId": "00000000-0000-0000-0000-000000000000"
}
]
}
{
"code": "400",
"success": false,
"message": "Invalid Customer ID specified",
"data": null
}
{
"code": "404",
"success": false,
"message": "Invalid Customer",
"data": null
}
{
"code": "401",
"success": false,
"message": "Unauthorized access",
"data": null
}
{
"code": "500",
"success": false,
"message": "An unexpected error occurred",
"data": null
}

