IVMS 101 record for case transactions
curl --request GET \
--url https://app.blockgence.com/v1/cases/{token}/ivms101 \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.blockgence.com/v1/cases/{token}/ivms101"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.blockgence.com/v1/cases/{token}/ivms101', 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://app.blockgence.com/v1/cases/{token}/ivms101",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://app.blockgence.com/v1/cases/{token}/ivms101"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/cases/{token}/ivms101")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/cases/{token}/ivms101")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": "<string>",
"error": "<string>"
}{
"detail": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>",
"error": "<string>"
}Cases
IVMS 101 record for case transactions
Returns the IVMS 101.2023 record of the selected transactions of the saved case: the skeleton of the Travel Rule message with what the case knows and the list of what remains to be completed. It is not sent to any network.
Only simple transfers produce a record. An aggregated edge, a crossing, a swap or a transaction that moves value
in several rows goes to issues, with the reason.
The response includes case, selection, fichas, issues, notice, spec and methodology. Each record
contains:
payload: the IVMS 101.2023 message. The beneficiary account is the destination address. The originator account is the source address only if it does not belong to a VASP; if it comes from an exchange wallet, the customer account is internal and is left to be completed;to_complete: what is missing, as{path, what, hint?}: the type of person, their name and details, and the legal name of each VASP. A label names a brand, so it goes as ahintand not as a legal name;counterparties: the counterparty on each side, as inPOST /v1/travel-rule/counterparty, with the labels of the saved graph;transfer: the asset and the exact amount, because IVMS 101 describes the parties and not the amount;validation: the validation of the record itself, which does not pass the schema until it is completed.
Errors: 400 without tx, with a malformed hash or with a transaction that is not in the case; 404 if the
caller cannot view the case; 409 if the case does not have a saved trace yet; 422 if the snapshot is not a
valid graph.
Cost: free.
GET
/
v1
/
cases
/
{token}
/
ivms101
IVMS 101 record for case transactions
curl --request GET \
--url https://app.blockgence.com/v1/cases/{token}/ivms101 \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.blockgence.com/v1/cases/{token}/ivms101"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.blockgence.com/v1/cases/{token}/ivms101', 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://app.blockgence.com/v1/cases/{token}/ivms101",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://app.blockgence.com/v1/cases/{token}/ivms101"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/cases/{token}/ivms101")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/cases/{token}/ivms101")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": "<string>",
"error": "<string>"
}{
"detail": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>",
"error": "<string>"
}Authorizations
APIKeyHeaderBearerAuth
Headers
Path Parameters
Query Parameters
Response
Successful response.