Lister les banques disponibles
curl --request GET \
--url https://apidjonanko.tech/banks/activeconst options = {method: 'GET'};
fetch('https://apidjonanko.tech/banks/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/banks/active"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apidjonanko.tech/banks/active",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Société Générale Côte d'Ivoire",
"code": "SGBCI",
"logo": "<string>",
"isActive": true
}
]Reversements
Lister les banques disponibles
Banques acceptées pour les comptes de reversement bancaires. Utilisez id dans bankId.
GET
/
banks
/
active
Lister les banques disponibles
curl --request GET \
--url https://apidjonanko.tech/banks/activeconst options = {method: 'GET'};
fetch('https://apidjonanko.tech/banks/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/banks/active"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apidjonanko.tech/banks/active",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Société Générale Côte d'Ivoire",
"code": "SGBCI",
"logo": "<string>",
"isActive": true
}
]