curl --request GET \
--url https://api.pay.izichange.com/v1/settlements/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pay.izichange.com/v1/settlements/{id}"
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/settlements/{id}', 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/settlements/{id}",
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/settlements/{id}"
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/settlements/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.izichange.com/v1/settlements/{id}")
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>",
"assetCode": "<string>",
"amountCrypto": "<string>",
"fiatCurrency": {},
"rateIndicative": "<string>",
"rateNet": "<string>",
"rateEffective": {},
"fiatAmountIndicative": "<string>",
"fiatAmountFinal": {},
"status": "<string>",
"mode": "<string>",
"providerReference": {},
"failureReason": {},
"merchantSettlementAccountId": "<string>",
"settlementAccount": {
"id": "<string>",
"label": {},
"receptionAddress": "<string>",
"paymentMethodName": {},
"currency": {}
},
"createdAt": "<string>",
"updatedAt": "<string>"
}Récupérer un settlement
Renvoie le détail complet d’un settlement appartenant au marchand authentifié.
curl --request GET \
--url https://api.pay.izichange.com/v1/settlements/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pay.izichange.com/v1/settlements/{id}"
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/settlements/{id}', 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/settlements/{id}",
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/settlements/{id}"
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/settlements/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.izichange.com/v1/settlements/{id}")
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>",
"assetCode": "<string>",
"amountCrypto": "<string>",
"fiatCurrency": {},
"rateIndicative": "<string>",
"rateNet": "<string>",
"rateEffective": {},
"fiatAmountIndicative": "<string>",
"fiatAmountFinal": {},
"status": "<string>",
"mode": "<string>",
"providerReference": {},
"failureReason": {},
"merchantSettlementAccountId": "<string>",
"settlementAccount": {
"id": "<string>",
"label": {},
"receptionAddress": "<string>",
"paymentMethodName": {},
"currency": {}
},
"createdAt": "<string>",
"updatedAt": "<string>"
}Autorisations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paramètres de chemin
Identifiant du settlement.
Réponse
Détail du settlement.
Identifiant unique du settlement.
Code de l'actif crypto envoyé pour conversion.
Quantité de crypto settlée — chaîne décimale.
Devise fiat reçue par le marchand (ISO 4217).
Taux brut fourni par le provider — chaîne décimale.
Taux effectif après marge IzichangePay — chaîne décimale. C'est ce taux qui est appliqué à l'exécution.
Taux finalement constaté à l'exécution — chaîne décimale, renseigné une fois le settlement complété.
Montant fiat indicatif attendu — chaîne décimale.
Montant fiat final crédité au marchand — chaîne décimale.
Statut courant du settlement (pending, dispatched, completed, failed, …).
Mode d'envoi de la crypto au provider : transfert on-chain ou transfert interne entre comptes IzichangePay.
Référence du provider (numéro d'ordre côté plateforme externe).
Motif d'échec — renseigné uniquement pour les settlements en échec.
Identifiant du compte de réception crédité.
Compte de réception crédité, tel qu'il était AU MOMENT du settlement. Renvoyé avec le settlement plutôt que résolu contre la liste courante des comptes : l'adresse créditée appartient au mouvement, pas au profil. null seulement si le compte a été supprimé depuis.
Show child attributes
Show child attributes
Date de création — ISO 8601.
Date de dernière mise à jour — ISO 8601.