Obtener accion por ID
curl --request GET \
--url https://api.example.com/v1/action/{action_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/v1/action/{action_id}"
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://api.example.com/v1/action/{action_id}', 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/action/{action_id}",
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://api.example.com/v1/action/{action_id}"
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://api.example.com/v1/action/{action_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/action/{action_id}")
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{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}{
"action_id": "<string>",
"source": "<string>",
"symbol": "<string>",
"target": "<string>",
"amount": "<string>",
"snapshot": {
"target": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"source": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"symbol": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
}
},
"labels": {
"tx_id": "<string>",
"tx_ref": "<string>",
"status": "<string>",
"domain": "<string>",
"sourceChannel": "<string>",
"created": "<string>",
"updated": "<string>",
"sourceCreated": "<string>",
"targetUpdated": "<string>",
"description": "<string>",
"type": "<string>",
"rejectSource": "<string>",
"rejectDescription": "<string>",
"transactionPurpose": "<string>",
"numberOfTransactions": "<string>",
"hash": "<string>",
"iouHash": "<string>",
"reason": {},
"reverseInitiated": true,
"config": {},
"test": [
{}
],
"deviceFingerPrint": {
"hash": "<string>",
"ipAddress": "<string>",
"geolocation": "<string>",
"country": "<string>",
"city": "<string>",
"mobileDevice": "<string>",
"SIMCardId": "<string>",
"model": "<string>",
"operator": "<string>"
},
"service": "<string>",
"otp": "<string>",
"tpagaAuthorization": {},
"girosPayment": {},
"girosTransactionInfo": {},
"agent": {},
"customer": {},
"contextTransaction": {}
},
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}Action
Obtener accion por ID
GET
/
v1
/
action
/
{action_id}
Obtener accion por ID
curl --request GET \
--url https://api.example.com/v1/action/{action_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/v1/action/{action_id}"
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://api.example.com/v1/action/{action_id}', 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/action/{action_id}",
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://api.example.com/v1/action/{action_id}"
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://api.example.com/v1/action/{action_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/action/{action_id}")
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{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}{
"action_id": "<string>",
"source": "<string>",
"symbol": "<string>",
"target": "<string>",
"amount": "<string>",
"snapshot": {
"target": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"source": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"symbol": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
}
},
"labels": {
"tx_id": "<string>",
"tx_ref": "<string>",
"status": "<string>",
"domain": "<string>",
"sourceChannel": "<string>",
"created": "<string>",
"updated": "<string>",
"sourceCreated": "<string>",
"targetUpdated": "<string>",
"description": "<string>",
"type": "<string>",
"rejectSource": "<string>",
"rejectDescription": "<string>",
"transactionPurpose": "<string>",
"numberOfTransactions": "<string>",
"hash": "<string>",
"iouHash": "<string>",
"reason": {},
"reverseInitiated": true,
"config": {},
"test": [
{}
],
"deviceFingerPrint": {
"hash": "<string>",
"ipAddress": "<string>",
"geolocation": "<string>",
"country": "<string>",
"city": "<string>",
"mobileDevice": "<string>",
"SIMCardId": "<string>",
"model": "<string>",
"operator": "<string>"
},
"service": "<string>",
"otp": "<string>",
"tpagaAuthorization": {},
"girosPayment": {},
"girosTransactionInfo": {},
"agent": {},
"customer": {},
"contextTransaction": {}
},
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}⌘I