Check Near Intents deposit/swap status
curl --request GET \
--url https://api.hypermid.io/v1/execute/deposit/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hypermid.io/v1/execute/deposit/status"
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.hypermid.io/v1/execute/deposit/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://api.hypermid.io/v1/execute/deposit/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 => [
"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.hypermid.io/v1/execute/deposit/status"
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.hypermid.io/v1/execute/deposit/status")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypermid.io/v1/execute/deposit/status")
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{
"data": {
"depositId": "dep_abc123def456",
"status": "DONE",
"subStatus": "COMPLETED",
"depositAddress": "0xDepositAddress",
"depositAmount": "1000000000000000000",
"depositTxHash": "0xDepositTxHash",
"depositChainId": 1,
"destinationAddress": "rRecipientXRPAddress",
"destinationAmount": "3240000000",
"destinationTxHash": "txDestinationHash",
"destinationChainId": 900000004,
"createdAt": 1711234576,
"updatedAt": 1711234666
},
"error": null,
"meta": {
"requestId": "o5d6e7f8-a9b0-1234-8901-345678901234",
"timestamp": 1711234670,
"rateLimit": {
"limit": 2000,
"remaining": 1985,
"reset": 1711234727
}
}
}
{
"data": {
"depositId": "dep_abc123def456",
"status": "PENDING",
"subStatus": "WAITING_FOR_DEPOSIT",
"depositAddress": "0xDepositAddress",
"depositAmount": null,
"depositTxHash": null,
"depositChainId": 1,
"destinationAddress": "rRecipientXRPAddress",
"destinationAmount": null,
"destinationTxHash": null,
"destinationChainId": 900000004,
"createdAt": 1711234576,
"updatedAt": 1711234576
},
"error": null,
"meta": {
"requestId": "p6e7f8a9-b0c1-2345-9012-456789012345",
"timestamp": 1711234580,
"rateLimit": {
"limit": 2000,
"remaining": 1984,
"reset": 1711234627
}
}
}
Swap
Get Deposit Status
Check the status of a manual deposit
GET
/
v1
/
execute
/
deposit
/
status
Check Near Intents deposit/swap status
curl --request GET \
--url https://api.hypermid.io/v1/execute/deposit/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hypermid.io/v1/execute/deposit/status"
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.hypermid.io/v1/execute/deposit/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://api.hypermid.io/v1/execute/deposit/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 => [
"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.hypermid.io/v1/execute/deposit/status"
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.hypermid.io/v1/execute/deposit/status")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hypermid.io/v1/execute/deposit/status")
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{
"data": {
"depositId": "dep_abc123def456",
"status": "DONE",
"subStatus": "COMPLETED",
"depositAddress": "0xDepositAddress",
"depositAmount": "1000000000000000000",
"depositTxHash": "0xDepositTxHash",
"depositChainId": 1,
"destinationAddress": "rRecipientXRPAddress",
"destinationAmount": "3240000000",
"destinationTxHash": "txDestinationHash",
"destinationChainId": 900000004,
"createdAt": 1711234576,
"updatedAt": 1711234666
},
"error": null,
"meta": {
"requestId": "o5d6e7f8-a9b0-1234-8901-345678901234",
"timestamp": 1711234670,
"rateLimit": {
"limit": 2000,
"remaining": 1985,
"reset": 1711234727
}
}
}
{
"data": {
"depositId": "dep_abc123def456",
"status": "PENDING",
"subStatus": "WAITING_FOR_DEPOSIT",
"depositAddress": "0xDepositAddress",
"depositAmount": null,
"depositTxHash": null,
"depositChainId": 1,
"destinationAddress": "rRecipientXRPAddress",
"destinationAmount": null,
"destinationTxHash": null,
"destinationChainId": 900000004,
"createdAt": 1711234576,
"updatedAt": 1711234576
},
"error": null,
"meta": {
"requestId": "p6e7f8a9-b0c1-2345-9012-456789012345",
"timestamp": 1711234580,
"rateLimit": {
"limit": 2000,
"remaining": 1984,
"reset": 1711234627
}
}
}
Returns the current status of a manual deposit and its associated swap. Use this endpoint for deposit-based swap routes instead of
/v1/status.
The deposit ID returned from the
/v1/execute endpoint.{
"data": {
"depositId": "dep_abc123def456",
"status": "DONE",
"subStatus": "COMPLETED",
"depositAddress": "0xDepositAddress",
"depositAmount": "1000000000000000000",
"depositTxHash": "0xDepositTxHash",
"depositChainId": 1,
"destinationAddress": "rRecipientXRPAddress",
"destinationAmount": "3240000000",
"destinationTxHash": "txDestinationHash",
"destinationChainId": 900000004,
"createdAt": 1711234576,
"updatedAt": 1711234666
},
"error": null,
"meta": {
"requestId": "o5d6e7f8-a9b0-1234-8901-345678901234",
"timestamp": 1711234670,
"rateLimit": {
"limit": 2000,
"remaining": 1985,
"reset": 1711234727
}
}
}
{
"data": {
"depositId": "dep_abc123def456",
"status": "PENDING",
"subStatus": "WAITING_FOR_DEPOSIT",
"depositAddress": "0xDepositAddress",
"depositAmount": null,
"depositTxHash": null,
"depositChainId": 1,
"destinationAddress": "rRecipientXRPAddress",
"destinationAmount": null,
"destinationTxHash": null,
"destinationChainId": 900000004,
"createdAt": 1711234576,
"updatedAt": 1711234576
},
"error": null,
"meta": {
"requestId": "p6e7f8a9-b0c1-2345-9012-456789012345",
"timestamp": 1711234580,
"rateLimit": {
"limit": 2000,
"remaining": 1984,
"reset": 1711234627
}
}
}
Status Values
| Status | Description |
|---|---|
PENDING | Waiting for the user’s deposit |
DEPOSIT_RECEIVED | Deposit confirmed, swap in progress |
DONE | Swap completed successfully |
FAILED | Swap failed |
EXPIRED | Deposit address expired before funds were received |
Sub-Status Values
| Sub-Status | Description |
|---|---|
WAITING_FOR_DEPOSIT | Waiting for the user to send funds |
CONFIRMING_DEPOSIT | Deposit detected, waiting for confirmations |
PROCESSING_SWAP | Swap is being executed |
COMPLETED | Swap finished successfully |
DEPOSIT_EXPIRED | Deposit window has expired |
const status = await client.getDepositStatus({
depositId: "dep_abc123def456",
});
console.log("Status:", status.data.status);
console.log("Sub-status:", status.data.subStatus);
if (status.data.status === "DONE") {
console.log("Destination tx:", status.data.destinationTxHash);
console.log("Amount received:", status.data.destinationAmount);
}
curl "https://api.hypermid.io/v1/execute/deposit/status?depositId=dep_abc123def456" \
-H "X-API-Key: your-api-key"
req, _ := http.NewRequest("GET",
"https://api.hypermid.io/v1/execute/deposit/status?depositId=dep_abc123def456", nil)
req.Header.Set("X-API-Key", "your-api-key")
resp, _ := http.DefaultClient.Do(req)
Authorizations
Partner API key. Optional for public endpoints, required for /v1/partner/*.
Query Parameters
The deposit address to check
Deposit memo (if applicable)
⌘I