Liquidity Ramps
Submit Off-Ramp Transaction Hash
Reports the on-chain hash of the transaction the user sent to fund an off-ramp. Optional: deposits are detected automatically; the hash speeds up the match and resolves it when the automatic detection did not arrive.
The hash alone never moves the operation. Kravata checks it with the custodian: the transaction must be confirmed, sent to the deposit address of the operation, for the exact amount, from the declared external wallet. If it matches, the off-ramp continues (compliance review, then the fiat payout). Verification is retried automatically until expiresAt; after that, submit the hash again to trigger a new one.
You can resubmit the same hash (idempotent) or correct it while the operation is AWAITING_DEPOSIT.
Request
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | Header | Yes | Bearer <access_token> obtained from POST /api/v1/client/token. |
| user_id | Path | Yes | User who owns the off-ramp. |
| operation_id | Path | Yes | operation.id returned by POST /admin/operation/{user_id}/withdrawal with originExternalWalletId. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| txHash | string | Yes | On-chain transaction hash. EVM networks: 0x + 64 hex characters; TRON / Stellar: 64 hex characters; Solana / SUI: base58. |
Response
202 Accepted
| Field | Description |
|---|---|
| operationId | The off-ramp operation. |
| txHash | The hash as stored (normalized). |
| status | VERIFYING. Follow the result with GET /admin/operation/{user_id}/withdrawal/{operation_id}/hash. |
Errors
| Status | When |
|---|---|
| 404 | The operation does not exist, does not belong to the user, or is not an off-ramp funded from an external wallet. |
| 409 | The operation is no longer AWAITING_DEPOSIT, or the hash is already declared for another operation. |
| 422 | txHash is missing or not a valid hash for the network of the deposit address. |
POST
/
api
/
v1
/
admin
/
operation
/
{user_id}
/
withdrawal
/
{operation_id}
/
hash
Submit Off-Ramp Transaction Hash
curl --request POST \
--url https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"txHash": "{{tx_hash}}"
}
'import requests
url = "https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash"
payload = { "txHash": "{{tx_hash}}" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({txHash: '{{tx_hash}}'})
};
fetch('https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash', 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://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash",
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([
'txHash' => '{{tx_hash}}'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash"
payload := strings.NewReader("{\n \"txHash\": \"{{tx_hash}}\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"txHash\": \"{{tx_hash}}\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"txHash\": \"{{tx_hash}}\"\n}"
response = http.request(request)
puts response.read_bodySubmit Off-Ramp Transaction Hash
curl --request POST \
--url https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"txHash": "{{tx_hash}}"
}
'import requests
url = "https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash"
payload = { "txHash": "{{tx_hash}}" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({txHash: '{{tx_hash}}'})
};
fetch('https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash', 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://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash",
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([
'txHash' => '{{tx_hash}}'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash"
payload := strings.NewReader("{\n \"txHash\": \"{{tx_hash}}\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"txHash\": \"{{tx_hash}}\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api-kore.kravata.co/api/v1/admin/operation/{user_id}/withdrawal/{operation_id}/hash")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"txHash\": \"{{tx_hash}}\"\n}"
response = http.request(request)
puts response.read_body