Requests in the examples call https://api.invunion.com/api/v1/counterparties/CPT-042/transactions.
curl Python Ruby JavaScript Go Node
curl --request GET \
--url https://api.invunion.com/api/v1/counterparties/CPT-042/transactions?pageSize= 50 \
--header 'accept: application/json' \
--header 'authorization: Bearer uk_live_YOUR_API_KEY' import requests
url = "https://api.invunion.com/api/v1/counterparties/CPT-042/transactions?pageSize=50"
headers = {
"Accept" : "application/json" ,
"Authorization" : "Bearer uk_live_YOUR_API_KEY" ,
}
response = requests. get (url, headers = headers)
print (response. json ()) require 'net/http'
require 'json'
require 'uri'
uri = URI ( "https://api.invunion.com/api/v1/counterparties/CPT-042/transactions?pageSize=50" )
http = Net :: HTTP . new (uri. host , uri. port )
http. use_ssl = true
request = Net :: HTTP :: Get . new (uri)
request[ 'Accept' ] = 'application/json'
request[ 'Authorization' ] = 'Bearer uk_live_YOUR_API_KEY'
response = http. request (request)
puts response. body const response = await fetch ( "https://api.invunion.com/api/v1/counterparties/CPT-042/transactions?pageSize=50" , {
method : "GET" ,
headers : {
"Accept" : "application/json" ,
"Authorization" : "Bearer uk_live_YOUR_API_KEY"
},
});
const data = await response . json (); package main
import (
"fmt"
"io"
"net/http"
)
func main () {
req , err := http . NewRequest ( "GET" , "https://api.invunion.com/api/v1/counterparties/CPT-042/transactions?pageSize=50" , nil )
if err != nil {
panic ( err )
}
req . Header . Set ( "Accept" , "application/json" )
req . Header . Set ( "Authorization" , "Bearer uk_live_YOUR_API_KEY" )
resp , err := http . DefaultClient . Do ( req )
if err != nil {
panic ( err )
}
defer resp . Body . Close ()
body , _ := io . ReadAll ( resp . Body )
fmt . Println ( string ( body ))
} const response = await fetch ( "https://api.invunion.com/api/v1/counterparties/CPT-042/transactions?pageSize=50" , {
method : "GET" ,
headers : {
"Accept" : "application/json" ,
"Authorization" : "Bearer uk_live_YOUR_API_KEY"
},
});
console . log ( await response . json ()); {
"success" : true ,
"data" : {
"items" : [
{
"id" : "2d0e6679-7425-40de-944b-e07fc1f90ae7" ,
"transaction_code" : "TX-8891" ,
"transaction_date" : "2026-09-12" ,
"amount" : 1000 ,
"currency" : "EUR" ,
"direction" : "inbound" ,
"status" : "partial" ,
"remaining_amount" : 0 ,
"description_original" : "INV-2026-0042 Leones Cars" ,
"payment_method_code" : "PM-001" ,
"matched_invoices" : [
{
"match_id" : "1c9e6679-7425-40de-944b-e07fc1f90ae7" ,
"invoice_id" : "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d" ,
"invoice_number" : "INV-2026-0042" ,
"matched_amount" : 1000
}
]
},
{
"id" : "7d9c13e4-3a06-4f81-ca03-104f7b2d95c3" ,
"transaction_code" : "TX-8870" ,
"transaction_date" : "2026-08-20" ,
"amount" : 800 ,
"currency" : "EUR" ,
"direction" : "inbound" ,
"status" : "unmatched" ,
"remaining_amount" : 800 ,
"description_original" : "VIREMENT LEONES CARS" ,
"payment_method_code" : "PM-003" ,
"matched_invoices" : []
}
],
"nextCursor" : null ,
"hasMore" : false
}
}