Resolves SPI signer
curl --request POST \
--url https://api.example.com/v1/signer/lookup.dice \
--header 'Content-Type: application/json' \
--data '
{
"aliasValue": "@aliasValue",
"received": "2025-03-13T20:38:07.123-05:00",
"dispatched": "2025-03-13T20:38:10.123-05:00"
}
'import requests
url = "https://api.example.com/v1/signer/lookup.dice"
payload = {
"aliasValue": "@aliasValue",
"received": "2025-03-13T20:38:07.123-05:00",
"dispatched": "2025-03-13T20:38:10.123-05:00"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
aliasValue: '@aliasValue',
received: '2025-03-13T20:38:07.123-05:00',
dispatched: '2025-03-13T20:38:10.123-05:00'
})
};
fetch('https://api.example.com/v1/signer/lookup.dice', 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.example.com/v1/signer/lookup.dice",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'aliasValue' => '@aliasValue',
'received' => '2025-03-13T20:38:07.123-05:00',
'dispatched' => '2025-03-13T20:38:10.123-05:00'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/signer/lookup.dice"
payload := strings.NewReader("{\n \"aliasValue\": \"@aliasValue\",\n \"received\": \"2025-03-13T20:38:07.123-05:00\",\n \"dispatched\": \"2025-03-13T20:38:10.123-05:00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
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.example.com/v1/signer/lookup.dice")
.header("Content-Type", "application/json")
.body("{\n \"aliasValue\": \"@aliasValue\",\n \"received\": \"2025-03-13T20:38:07.123-05:00\",\n \"dispatched\": \"2025-03-13T20:38:10.123-05:00\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/signer/lookup.dice")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"aliasValue\": \"@aliasValue\",\n \"received\": \"2025-03-13T20:38:07.123-05:00\",\n \"dispatched\": \"2025-03-13T20:38:10.123-05:00\"\n}"
response = http.request(request)
puts response.read_body{
"requestId": "019617d6-bac4-7150-8610-0dc60a0f1bc2",
"signer_id": "0195b009-a139-7ff2-adac-15e3c3ecfc88",
"id": "0195b009-a139-7ff2-adac-15e3c3ecfc88",
"handle": "wYe6h63CNqoLxJet5jP1WWLhGi8D11ZGij",
"keeper": [
{
"public": "7ef44ee7ff1f4527ef44ee7ff1f4527ef44ee7ff1f4527ef44ee7ff1f4527ef4",
"scheme": "ecdsa-ed25519"
}
],
"labels": {
"type": "PERSON",
"status": "ACTIVE",
"created": "2025-03-19T15:12:55.993-05:00",
"updated": "2025-03-19T15:12:55.993-05:00",
"createdBy": "mSJkneiASd",
"aliasType": "ALPHANUM",
"aliasValue": "@jorge",
"proprietary": "CC",
"identification": "1010101010",
"firstName": "Jorge",
"lastName": "Diaz",
"bankId": "900123456",
"bankAccountType": "SVGS",
"bankAccountNumber": "4123456789",
"routerReference": "$bancorojo",
"targetSpbviCode": "TFY",
"consented": "2025-03-13T20:38:07-05:00",
"received": "2025-03-13T20:38:07.123-05:00",
"dispatched": "2025-03-13T20:38:10.123-05:00"
},
"error": {
"code": 0,
"message": "Success"
}
}{
"error": {
"code": 123,
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>",
"requestId": "<string>"
}
}Signer
Resolves SPI signer
Endpoint to resolve signer in DICE
POST
/
v1
/
signer
/
lookup.dice
Resolves SPI signer
curl --request POST \
--url https://api.example.com/v1/signer/lookup.dice \
--header 'Content-Type: application/json' \
--data '
{
"aliasValue": "@aliasValue",
"received": "2025-03-13T20:38:07.123-05:00",
"dispatched": "2025-03-13T20:38:10.123-05:00"
}
'import requests
url = "https://api.example.com/v1/signer/lookup.dice"
payload = {
"aliasValue": "@aliasValue",
"received": "2025-03-13T20:38:07.123-05:00",
"dispatched": "2025-03-13T20:38:10.123-05:00"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
aliasValue: '@aliasValue',
received: '2025-03-13T20:38:07.123-05:00',
dispatched: '2025-03-13T20:38:10.123-05:00'
})
};
fetch('https://api.example.com/v1/signer/lookup.dice', 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.example.com/v1/signer/lookup.dice",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'aliasValue' => '@aliasValue',
'received' => '2025-03-13T20:38:07.123-05:00',
'dispatched' => '2025-03-13T20:38:10.123-05:00'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/signer/lookup.dice"
payload := strings.NewReader("{\n \"aliasValue\": \"@aliasValue\",\n \"received\": \"2025-03-13T20:38:07.123-05:00\",\n \"dispatched\": \"2025-03-13T20:38:10.123-05:00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
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.example.com/v1/signer/lookup.dice")
.header("Content-Type", "application/json")
.body("{\n \"aliasValue\": \"@aliasValue\",\n \"received\": \"2025-03-13T20:38:07.123-05:00\",\n \"dispatched\": \"2025-03-13T20:38:10.123-05:00\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/signer/lookup.dice")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"aliasValue\": \"@aliasValue\",\n \"received\": \"2025-03-13T20:38:07.123-05:00\",\n \"dispatched\": \"2025-03-13T20:38:10.123-05:00\"\n}"
response = http.request(request)
puts response.read_body{
"requestId": "019617d6-bac4-7150-8610-0dc60a0f1bc2",
"signer_id": "0195b009-a139-7ff2-adac-15e3c3ecfc88",
"id": "0195b009-a139-7ff2-adac-15e3c3ecfc88",
"handle": "wYe6h63CNqoLxJet5jP1WWLhGi8D11ZGij",
"keeper": [
{
"public": "7ef44ee7ff1f4527ef44ee7ff1f4527ef44ee7ff1f4527ef44ee7ff1f4527ef4",
"scheme": "ecdsa-ed25519"
}
],
"labels": {
"type": "PERSON",
"status": "ACTIVE",
"created": "2025-03-19T15:12:55.993-05:00",
"updated": "2025-03-19T15:12:55.993-05:00",
"createdBy": "mSJkneiASd",
"aliasType": "ALPHANUM",
"aliasValue": "@jorge",
"proprietary": "CC",
"identification": "1010101010",
"firstName": "Jorge",
"lastName": "Diaz",
"bankId": "900123456",
"bankAccountType": "SVGS",
"bankAccountNumber": "4123456789",
"routerReference": "$bancorojo",
"targetSpbviCode": "TFY",
"consented": "2025-03-13T20:38:07-05:00",
"received": "2025-03-13T20:38:07.123-05:00",
"dispatched": "2025-03-13T20:38:10.123-05:00"
},
"error": {
"code": 0,
"message": "Success"
}
}{
"error": {
"code": 123,
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>",
"requestId": "<string>"
}
}Body
application/json
⌘I