Skip to main content
GET
/
consumers
/
{consumer_id}
/
connections
/
{connection_id}
/
transactions
Get transaction information
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/connections/{connection_id}/transactions
import requests

url = "https://api.chift.eu/consumers/{consumer_id}/connections/{connection_id}/transactions"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.chift.eu/consumers/{consumer_id}/connections/{connection_id}/transactions', 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}/connections/{connection_id}/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$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}/connections/{connection_id}/transactions"

req, _ := http.NewRequest("GET", url, nil)

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.chift.eu/consumers/{consumer_id}/connections/{connection_id}/transactions")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.chift.eu/consumers/{consumer_id}/connections/{connection_id}/transactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "created_on": "2023-11-07T05:31:56Z",
  "route": "<string>",
  "status_code": 123,
  "created_entity_id": "inv_123"
}
{
"message": "The specified transaction could not be found",
"status": "error"
}
{
"message": "Validation error",
"status": "error",
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Path Parameters

connection_id
string<uuid>
required
consumer_id
string<uuid>
required

Query Parameters

client_request_id
string
required

Response

Successful Response

created_on
string<date-time>
required

Date and time when the API transaction started (UTC).

Example:

"2024-05-15T12:34:56Z"

method
enum<string>
required

HTTP method of the original request.

Available options:
GET,
POST,
PUT,
PATCH,
DELETE,
HEAD,
OPTIONS
Example:

"POST"

route
string
required

Path of the original request.

Example:

"/consumers/a65f95f4-7188-4866-a3ff-eb0fe17958c3/accounting/suppliers"

status_code
integer
required

HTTP status code returned by the original request.

Example:

200

created_entity_id
string | null

Identifier of the entity created by the request, when applicable (typically for POST).

Example:

"inv_123"