Liste des services disponibles
curl --request GET \
--url https://api-m.dexchange.sn/api/v1/api-services/services \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-m.dexchange.sn/api/v1/api-services/services"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-m.dexchange.sn/api/v1/api-services/services', 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://api-m.dexchange.sn/api/v1/api-services/services",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api-m.dexchange.sn/api/v1/api-services/services"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-m.dexchange.sn/api/v1/api-services/services")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-m.dexchange.sn/api/v1/api-services/services")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"services": [
{
"serviceName": "<string>",
"serviceCode": "<string>",
"serviceType": "MOBILEMONEY",
"country": "SN"
}
]
}Services List
Services List
Complete list of available payment services
GET
/
api
/
v1
/
api-services
/
services
Liste des services disponibles
curl --request GET \
--url https://api-m.dexchange.sn/api/v1/api-services/services \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-m.dexchange.sn/api/v1/api-services/services"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-m.dexchange.sn/api/v1/api-services/services', 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://api-m.dexchange.sn/api/v1/api-services/services",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api-m.dexchange.sn/api/v1/api-services/services"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-m.dexchange.sn/api/v1/api-services/services")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-m.dexchange.sn/api/v1/api-services/services")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"services": [
{
"serviceName": "<string>",
"serviceCode": "<string>",
"serviceType": "MOBILEMONEY",
"country": "SN"
}
]
}Payment Services
Operation Types
CASHOUT (Collection)
- Description: Allows you to receive payments from your customers
- Use cases:
- E-commerce website payments
- Bill payments
- Service payment collection
- How it works: The customer makes the payment from their mobile wallet to your DEXCHANGE account
CASHIN (Disbursement)
- Description: Allows you to send money to your customers
- Use cases:
- Refunds
- Salary payments
- Commission payouts
- How it works: You transfer funds from your DEXCHANGE account to the customer’s mobile wallet
AIRTIME (Phone Credit)
- Description: Mobile phone credit recharge service
- Benefit: 1% commission on each recharge
- Availability: All mobile operators in Senegal
Available Services by Country
Senegal (SN)
Orange Money
- Cashin:
OM_SN_CASHIN- Transfer to Orange Money - Cashout:
OM_SN_CASHOUT- Receive from Orange Money
Wave
- Cashin:
WAVE_SN_CASHIN- Transfer to Wave - Cashout:
WAVE_SN_CASHOUT- Receive from Wave
Free Money
- Cashin:
FM_SN_CASHIN- Transfer to Free Money - Cashout:
FM_SN_CASHOUT- Receive from Free Money
Wizall Money
- Cashin:
WIZALL_SN_CASHIN- Transfer to Wizall - Cashout:
WIZALL_SN_CASHOUT- Receive from Wizall
Airtime Recharge
- Orange:
ORANGE_SN_AIRTIME- Orange recharge - Free:
FREE_SN_AIRTIME- Free recharge - Expresso:
EXPRESSO_SN_AIRTIME- Expresso recharge - Promobile:
PROMOBILE_SN_AIRTIME- Promobile recharge
Bills & Top-ups (BILL)
- SenEau:
SENEAU_SN_BILL- Water bill (fixed amount) - Senelec:
SENELEC_SN_BILL- Postpaid electricity bill (fixed amount) - Woyofal:
WOYOFAL_SN_BILL- Prepaid electricity top-up (customer-chosen amount, returns a token)
BILL services use the dedicated endpoints Bill Inquiry and Pay a Bill / Top-up.
Mali (ML)
- Orange Money:
OM_ML_CASHOUT- Receive from Orange Money - Moov Money:
MOOV_ML_CASHOUT- Receive from Moov Money - Wave:
WAVE_ML_CASHOUT- Receive from Wave
Ivory Coast (CI)
Orange Money
- Cashin:
OM_CI_CASHIN- Transfer to Orange Money - Cashout:
OM_CI_CASHOUT- Receive from Orange Money
Wave
- Cashin:
WAVE_CI_CASHIN- Transfer to Wave - Cashout:
WAVE_CI_CASHOUT- Receive from Wave
MTN Money
- Cashin:
MTN_CI_CASHIN- Transfer to MTN Money - Cashout:
MTN_CI_CASHOUT- Receive from MTN Money
Moov Money
- Cashin:
MOOV_CI_CASHIN- Transfer to Moov Money - Cashout:
MOOV_CI_CASHOUT- Receive from Moov Money
Other Services
- Digi Cash:
DIGICASH_CI_CASHOUT- Receive from Digi Cash
Cameroon (CM)
- Orange Money:
OM_CM_CASHOUT- Receive from Orange Money - MTN Money:
MTN_CM_CASHOUT- Receive from MTN Money
Request Example
curl -X GET https://api-m.dexchange.sn/api/v1/api-services/services \
-H "Authorization: Bearer YOUR_API_KEY"
Response Example
{
"services": [
{
"serviceName": "Orange Money Cashin SN",
"serviceCode": "OM_SN_CASHIN",
"serviceType": "MOBILEMONEY",
"country": "SN"
},
{
"serviceName": "Orange Money Cashout SN",
"serviceCode": "OM_SN_CASHOUT",
"serviceType": "MOBILEMONEY",
"country": "SN"
}
// ... other services
]
}
Notes
-
Service Availability
- Services may vary depending on your account
- Some services require specific activation
- Contact support to activate additional services
-
Commissions
- Commissions vary by service type
- AIRTIME: Fixed 1% commission on each transaction
- CASHOUT/CASHIN: Pricing according to your contract
-
Transaction Limits
- Minimum: 200 FCFA
- Maximum: 1,000,000 FCFA
- Custom limits available upon request