curl --request POST \
--url https://api.pay.izichange.com/v1/settlements/{id}/relaunch \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pay.izichange.com/v1/settlements/{id}/relaunch"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pay.izichange.com/v1/settlements/{id}/relaunch', 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}/relaunch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/relaunch"
req, _ := http.NewRequest("POST", 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.post("https://api.pay.izichange.com/v1/settlements/{id}/relaunch")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.izichange.com/v1/settlements/{id}/relaunch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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>"
}Relancer un settlement échoué
Relance un settlement en statut failed en rafraîchissant son taux quand c’est possible et en re-figeant le solde correspondant. Refusé si le payout lié n’est pas lui-même en échec ou si le solde a été utilisé entre-temps.
curl --request POST \
--url https://api.pay.izichange.com/v1/settlements/{id}/relaunch \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pay.izichange.com/v1/settlements/{id}/relaunch"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pay.izichange.com/v1/settlements/{id}/relaunch', 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}/relaunch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/relaunch"
req, _ := http.NewRequest("POST", 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.post("https://api.pay.izichange.com/v1/settlements/{id}/relaunch")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.izichange.com/v1/settlements/{id}/relaunch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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 à relancer.
Réponse
Settlement relancé.
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.