curl --request GET \
--url https://api.pay.izichange.com/v1/settlement-accounts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pay.izichange.com/v1/settlement-accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pay.izichange.com/v1/settlement-accounts', 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.pay.izichange.com/v1/settlement-accounts",
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.pay.izichange.com/v1/settlement-accounts"
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.pay.izichange.com/v1/settlement-accounts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.izichange.com/v1/settlement-accounts")
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[
{
"id": "<string>",
"receptionAddress": "<string>",
"label": {},
"isDefault": true,
"settlementPaymentMethodId": "<string>",
"createdAt": "<string>",
"maturedAt": "<string>",
"isMatured": true,
"revokedAt": {},
"settlementPaymentMethod": {
"id": "<string>",
"displayName": "<string>",
"accountType": "<string>",
"country": "<string>",
"network": "<string>",
"currency": {}
},
"paymentMethod": {}
}
]Lister les comptes de retrait
Retourne tous les comptes de retrait fiat configurés par le marchand (mobile money, comptes bancaires, …), triés du plus récent au plus ancien. Chaque entrée contient les détails du moyen de paiement associé.
curl --request GET \
--url https://api.pay.izichange.com/v1/settlement-accounts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pay.izichange.com/v1/settlement-accounts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pay.izichange.com/v1/settlement-accounts', 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.pay.izichange.com/v1/settlement-accounts",
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.pay.izichange.com/v1/settlement-accounts"
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.pay.izichange.com/v1/settlement-accounts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.izichange.com/v1/settlement-accounts")
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[
{
"id": "<string>",
"receptionAddress": "<string>",
"label": {},
"isDefault": true,
"settlementPaymentMethodId": "<string>",
"createdAt": "<string>",
"maturedAt": "<string>",
"isMatured": true,
"revokedAt": {},
"settlementPaymentMethod": {
"id": "<string>",
"displayName": "<string>",
"accountType": "<string>",
"country": "<string>",
"network": "<string>",
"currency": {}
},
"paymentMethod": {}
}
]Autorisations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Réponse
Liste des comptes de retrait.
Identifiant unique du compte de retrait.
Adresse de réception (numéro mobile, IBAN, …).
Libellé personnel du compte choisi par le marchand.
Compte par défaut pour les settlements.
Identifiant du moyen de paiement associé.
Date de création — ISO 8601.
Date à partir de laquelle ce compte devient éligible au reversement AUTOMATIQUE — ISO 8601. N'affecte jamais un settlement manuel.
Vrai si maturedAt est déjà passé.
Date de révocation — ISO 8601, ou null si le compte est actif.
Détails du moyen de paiement associé.
Show child attributes
Show child attributes
Alias historique de settlementPaymentMethod (mêmes champs sans id).