curl --request PATCH \
--url https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exportedimport requests
url = "https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported"
response = requests.patch(url)
print(response.text)const options = {method: 'PATCH'};
fetch('https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported', 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.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);
$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.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported"
req, _ := http.NewRequest("PATCH", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
response = http.request(request)
puts response.read_bodyMark one financial movement as exported
Marks a financial movement as exported to the target accounting system, so it stops being returned by get_financial_movements when filtered on export_status=to_export.
curl --request PATCH \
--url https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exportedimport requests
url = "https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported"
response = requests.patch(url)
print(response.text)const options = {method: 'PATCH'};
fetch('https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported', 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.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);
$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.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported"
req, _ := http.NewRequest("PATCH", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chift.eu/consumers/{consumer_id}/spend_management/financial-movements/{financial_movement_id}/mark-as-exported")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
response = http.request(request)
puts response.read_bodyResponse
Successful Response
Id of the financial movement.
Date the financial movement was cleared/settled.
Amount of the financial movement. Negative for a refund (supplier_refund type), matching the direction of money flow.
Normalized classification of this financial movement.
supplier_payment, employee_reimbursement, supplier_refund, cash_advance, cash_return, chargeback Exchange rate applied between the movement's own currency and the account's currency.
Whether this financial movement still needs to be synced to the target accounting system: 'not_ready' (not yet validated), 'to_export' (ready, not yet exported), 'exported', or 'unknown' when the connector cannot determine it.
unknown, not_ready, to_export, exported Whether the movement was funded from an external bank account rather than the connector's own account.
Free text description of the movement.
The payable(s) this financial movement is settling, each with its own share of the amount.
Show child attributes
Show child attributes
Bank fees incurred for this financial movement (fx, atm, or other).
Show child attributes
Show child attributes