curl --request GET \
--url https://hg.cash/api/v1/ve/transactions/{id}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://hg.cash/api/v1/ve/transactions/{id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://hg.cash/api/v1/ve/transactions/{id}/status', 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://hg.cash/api/v1/ve/transactions/{id}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://hg.cash/api/v1/ve/transactions/{id}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hg.cash/api/v1/ve/transactions/{id}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hg.cash/api/v1/ve/transactions/{id}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"externalID": "1000",
"status": "pending",
"direction": "Inbound",
"amount": "100.5",
"currency": "USDT",
"orden_id": 1000,
"banco": "ONRAMP_BANK_NAME",
"numero_cuenta": "00000000000000000000"
}Get transaction status (Venezuela)
Read inbound or outbound status. amount is a USDT decimal string. status includes pending_kyc.
Optional fields, only when present: orden_id, montoFiat, tasaCompra, inbound-only banco and numero_cuenta,
outbound kyc_url, and kyc_expires_at while a pending_kyc hold is open.
For an outbound cancelled because identity verification was required, kyc_url is included only when a non-empty URL was stored.
cancelledReason is included only for KOLLAT_KYC_EXPIRED, KOLLAT_KYC_DECLINED, or KOLLAT_KYC_REQUIRED.
Other cancellation reasons are omitted.
The merchant status_change webhook includes cancelledReason only for those same three codes.
A transaction that is not a Venezuela movement returns 400.
curl --request GET \
--url https://hg.cash/api/v1/ve/transactions/{id}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://hg.cash/api/v1/ve/transactions/{id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://hg.cash/api/v1/ve/transactions/{id}/status', 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://hg.cash/api/v1/ve/transactions/{id}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://hg.cash/api/v1/ve/transactions/{id}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hg.cash/api/v1/ve/transactions/{id}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hg.cash/api/v1/ve/transactions/{id}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"externalID": "1000",
"status": "pending",
"direction": "Inbound",
"amount": "100.5",
"currency": "USDT",
"orden_id": 1000,
"banco": "ONRAMP_BANK_NAME",
"numero_cuenta": "00000000000000000000"
}Authorizations
User API authentication token with format cash_<64-char-hex>. Sample value cash_16cdc3b6f83c72d9d2680adca4f430962981f6bf32613a129dded0aa060387d2.
Path Parameters
Response
Transaction status
Current ledger status. Includes pending for cash-in, processing when a payout is accepted, pending_kyc while identity verification holds a payout, done, and cancelled.
Inbound, Outbound Positive USDT decimal string. Not a JSON number. Up to 8 fractional digits may be present. VES amounts are not this field.
^\d+(\.\d+)?$"100.5"
"USDT"
Included only when present.
VES metadata. Included only when present.
VES metadata. Included only when present.
Inbound pay-in bank. Never returned for a payout.
Inbound pay-in account number. Never returned for a payout.
Outbound only. Included when a non-empty URL was stored, including when an outbound was cancelled because identity verification was required.
Included while a pending_kyc hold is open.
Included only for KOLLAT_KYC_EXPIRED, KOLLAT_KYC_DECLINED, or KOLLAT_KYC_REQUIRED. Other cancellation reasons are omitted.
KOLLAT_KYC_EXPIRED, KOLLAT_KYC_DECLINED, KOLLAT_KYC_REQUIRED Optional fee snapshot on a direct transaction status response. Amounts and rates are decimal strings. Omitted when the transaction has no breakdown. collectedAmount is the percentage transaction fee plus the flat fee. platformFee is the recorded wallet cost and is not added to collectedAmount. Includes flatFee.source, which transaction webhooks omit.
Show child attributes
Show child attributes

