GET
/
query
/
withdrawal-requests
List withdrawal reservation lifecycle rows
curl --request GET \
--url https://joyride.exchange/api/query/withdrawal-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://joyride.exchange/api/query/withdrawal-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://joyride.exchange/api/query/withdrawal-requests', 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://joyride.exchange/api/query/withdrawal-requests",
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://joyride.exchange/api/query/withdrawal-requests"
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://joyride.exchange/api/query/withdrawal-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://joyride.exchange/api/query/withdrawal-requests")
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{
"rows": [
{
"withdrawal_id": "<string>",
"account_id": 123,
"amount": "100.00000000",
"user_wallet": "<string>",
"destination_token_account": "<string>",
"mint": "<string>",
"expiry_unix_timestamp": 123,
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"reserve_seq_no": 123,
"finalize_seq_no": 123,
"release_seq_no": 123,
"reserve_idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"finalize_idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"release_idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reserve_risk_verdict": 123,
"reserve_risk_reject_reason": 123,
"finalize_risk_verdict": 123,
"finalize_risk_reject_reason": 123,
"release_risk_verdict": 123,
"release_risk_reject_reason": 123
}
],
"next_cursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
SIWS-issued JWT. Admin commands require the admin role, admin:*, or the exact admin:<type> scope; admin reads use their documented read scope.
Query Parameters
Required range:
x >= 0Required range:
x >= 1Exclusive keyset cursor returned as next_cursor. Supported by accounts and monotone sequence-number lists; unsupported sort orders reject it with 400 rather than silently ignoring it. The decimal value must fit the backing non-negative PostgreSQL BIGINT; overflow returns 400.
Pattern:
^[0-9]+$Pattern:
^[0-9]+$Pattern:
^[a-z0-9_]{1,64}$Pattern:
^[0-9]+$List withdrawal reservation lifecycle rows
curl --request GET \
--url https://joyride.exchange/api/query/withdrawal-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://joyride.exchange/api/query/withdrawal-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://joyride.exchange/api/query/withdrawal-requests', 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://joyride.exchange/api/query/withdrawal-requests",
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://joyride.exchange/api/query/withdrawal-requests"
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://joyride.exchange/api/query/withdrawal-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://joyride.exchange/api/query/withdrawal-requests")
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{
"rows": [
{
"withdrawal_id": "<string>",
"account_id": 123,
"amount": "100.00000000",
"user_wallet": "<string>",
"destination_token_account": "<string>",
"mint": "<string>",
"expiry_unix_timestamp": 123,
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"reserve_seq_no": 123,
"finalize_seq_no": 123,
"release_seq_no": 123,
"reserve_idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"finalize_idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"release_idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reserve_risk_verdict": 123,
"reserve_risk_reject_reason": 123,
"finalize_risk_verdict": 123,
"finalize_risk_reject_reason": 123,
"release_risk_verdict": 123,
"release_risk_reject_reason": 123
}
],
"next_cursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}