Modifier votre compte
curl --request PATCH \
--url https://guichet.apidjonanko.tech/v1/merchants/me \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-api-secret: <api-key>' \
--data '
{
"webhookUrl": "https://wakati.ci/hooks/djonanko-v2"
}
'const options = {
method: 'PATCH',
headers: {
'x-api-key': '<api-key>',
'x-api-secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({webhookUrl: 'https://wakati.ci/hooks/djonanko-v2'})
};
fetch('https://guichet.apidjonanko.tech/v1/merchants/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://guichet.apidjonanko.tech/v1/merchants/me"
payload = { "webhookUrl": "https://wakati.ci/hooks/djonanko-v2" }
headers = {
"x-api-key": "<api-key>",
"x-api-secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://guichet.apidjonanko.tech/v1/merchants/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'webhookUrl' => 'https://wakati.ci/hooks/djonanko-v2'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>",
"x-api-secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"merchant": {
"reference": "PRT-4F7K2M9Q",
"name": "Wakati Technologies",
"legalName": "<string>",
"email": "jsmith@example.com",
"phoneNumber": "<string>",
"country": "CI",
"status": "PENDING",
"allowedCountries": [
"CI"
],
"webhookUrl": "<string>",
"webhookSecretHint": "9f1c2b7e",
"pricing": {
"cashinFeeBps": 200,
"cashinFeeFlat": 0,
"cashoutFeeBps": 200,
"cashoutFeeFlat": 0
},
"limits": {
"minCashinAmount": 100,
"maxCashinAmount": 2000000,
"minCashoutAmount": 100,
"maxCashoutAmount": 2000000,
"dailyCashoutLimit": 0
},
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "La requête est invalide.",
"details": {
"fields": [
"amount must be an integer number"
]
}
},
"requestId": "9f1c2b7e-4a5d-4c8f-b0a1-e2d3c4b5a697",
"timestamp": "2026-10-01T10:12:04.000Z"
}{
"success": false,
"error": {
"code": "INVALID_CREDENTIALS",
"message": "Identifiants API invalides."
},
"requestId": "9f1c2b7e-4a5d-4c8f-b0a1-e2d3c4b5a697",
"timestamp": "2026-10-01T10:12:04.000Z"
}Compte & clés
Modifier votre compte
Seuls ces champs sont modifiables. Le barème, les plafonds, les pays ouverts et le statut sont contractuels : leur évolution passe par votre référent.
PATCH
/
merchants
/
me
Modifier votre compte
curl --request PATCH \
--url https://guichet.apidjonanko.tech/v1/merchants/me \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-api-secret: <api-key>' \
--data '
{
"webhookUrl": "https://wakati.ci/hooks/djonanko-v2"
}
'const options = {
method: 'PATCH',
headers: {
'x-api-key': '<api-key>',
'x-api-secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({webhookUrl: 'https://wakati.ci/hooks/djonanko-v2'})
};
fetch('https://guichet.apidjonanko.tech/v1/merchants/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://guichet.apidjonanko.tech/v1/merchants/me"
payload = { "webhookUrl": "https://wakati.ci/hooks/djonanko-v2" }
headers = {
"x-api-key": "<api-key>",
"x-api-secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://guichet.apidjonanko.tech/v1/merchants/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'webhookUrl' => 'https://wakati.ci/hooks/djonanko-v2'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>",
"x-api-secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"merchant": {
"reference": "PRT-4F7K2M9Q",
"name": "Wakati Technologies",
"legalName": "<string>",
"email": "jsmith@example.com",
"phoneNumber": "<string>",
"country": "CI",
"status": "PENDING",
"allowedCountries": [
"CI"
],
"webhookUrl": "<string>",
"webhookSecretHint": "9f1c2b7e",
"pricing": {
"cashinFeeBps": 200,
"cashinFeeFlat": 0,
"cashoutFeeBps": 200,
"cashoutFeeFlat": 0
},
"limits": {
"minCashinAmount": 100,
"maxCashinAmount": 2000000,
"minCashoutAmount": 100,
"maxCashoutAmount": 2000000,
"dailyCashoutLimit": 0
},
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "La requête est invalide.",
"details": {
"fields": [
"amount must be an integer number"
]
}
},
"requestId": "9f1c2b7e-4a5d-4c8f-b0a1-e2d3c4b5a697",
"timestamp": "2026-10-01T10:12:04.000Z"
}{
"success": false,
"error": {
"code": "INVALID_CREDENTIALS",
"message": "Identifiants API invalides."
},
"requestId": "9f1c2b7e-4a5d-4c8f-b0a1-e2d3c4b5a697",
"timestamp": "2026-10-01T10:12:04.000Z"
}Le barème, les plafonds, les pays ouverts et le statut sont contractuels : ils ne sont pas modifiables par l’API. Leur évolution passe par votre référent Djonanko.
Authorizations
Votre clé publique, préfixée gk_live_ (ou gk_test_).
Votre secret, préfixé gs_live_ (ou gs_test_). Affiché une seule fois, à l'émission de la clé. Il ne doit jamais quitter vos serveurs.
Body
application/json
Response
Compte mis à jour.
Show child attributes
Show child attributes
