Cryptocurrency Withdrawals - Get Cryptocurrency Withdrawal
curl --request GET \
--url https://api.ripio.com/trade/withdrawals/withdrawal \
--header 'authorization: <authorization>' \
--header 'signature: <signature>' \
--header 'timestamp: <timestamp>'import requests
url = "https://api.ripio.com/trade/withdrawals/withdrawal"
headers = {
"authorization": "<authorization>",
"signature": "<signature>",
"timestamp": "<timestamp>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
authorization: '<authorization>',
signature: '<signature>',
timestamp: '<timestamp>'
}
};
fetch('https://api.ripio.com/trade/withdrawals/withdrawal', 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.ripio.com/trade/withdrawals/withdrawal",
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: <authorization>",
"signature: <signature>",
"timestamp: <timestamp>"
],
]);
$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.ripio.com/trade/withdrawals/withdrawal"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
req.Header.Add("signature", "<signature>")
req.Header.Add("timestamp", "<timestamp>")
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.ripio.com/trade/withdrawals/withdrawal")
.header("authorization", "<authorization>")
.header("signature", "<signature>")
.header("timestamp", "<timestamp>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ripio.com/trade/withdrawals/withdrawal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
request["signature"] = '<signature>'
request["timestamp"] = '<timestamp>'
response = http.request(request)
puts response.read_body{
"data": {
"amount": 0.1,
"create_date": "2019-01-25T16:37:15.443Z",
"currency_code": "BTC",
"destination_address": "rw9nf3WgsagJiZnkAeZzXZuqeCQ6LHm2h1",
"link": null,
"miner_fee": 0,
"miner_fee_type": 1,
"status": "<string>",
"transaction_id": null,
"update_date": "2019-01-25T16:37:15.443Z",
"id": "A1DCD3B6-1CBD-4F17-ADA0-230ADEC04173",
"fee": 0,
"hash": null,
"external_id": "rtd-9012-lkju-908",
"is_internal": false,
"network": "bitcoin",
"memo": "<string>",
"tag": "<string>"
},
"error_code": null,
"message": null
}Cryptocurrency Withdrawals
Get Cryptocurrency Withdrawal
Gets a cryptocurrency withdrawal.
Authorization
- Requires a valid API key.
- Required API-key permission(s):
- Withdrawal (Read)
GET
/
trade
/
withdrawals
/
withdrawal
Cryptocurrency Withdrawals - Get Cryptocurrency Withdrawal
curl --request GET \
--url https://api.ripio.com/trade/withdrawals/withdrawal \
--header 'authorization: <authorization>' \
--header 'signature: <signature>' \
--header 'timestamp: <timestamp>'import requests
url = "https://api.ripio.com/trade/withdrawals/withdrawal"
headers = {
"authorization": "<authorization>",
"signature": "<signature>",
"timestamp": "<timestamp>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
authorization: '<authorization>',
signature: '<signature>',
timestamp: '<timestamp>'
}
};
fetch('https://api.ripio.com/trade/withdrawals/withdrawal', 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.ripio.com/trade/withdrawals/withdrawal",
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: <authorization>",
"signature: <signature>",
"timestamp: <timestamp>"
],
]);
$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.ripio.com/trade/withdrawals/withdrawal"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
req.Header.Add("signature", "<signature>")
req.Header.Add("timestamp", "<timestamp>")
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.ripio.com/trade/withdrawals/withdrawal")
.header("authorization", "<authorization>")
.header("signature", "<signature>")
.header("timestamp", "<timestamp>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ripio.com/trade/withdrawals/withdrawal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
request["signature"] = '<signature>'
request["timestamp"] = '<timestamp>'
response = http.request(request)
puts response.read_body{
"data": {
"amount": 0.1,
"create_date": "2019-01-25T16:37:15.443Z",
"currency_code": "BTC",
"destination_address": "rw9nf3WgsagJiZnkAeZzXZuqeCQ6LHm2h1",
"link": null,
"miner_fee": 0,
"miner_fee_type": 1,
"status": "<string>",
"transaction_id": null,
"update_date": "2019-01-25T16:37:15.443Z",
"id": "A1DCD3B6-1CBD-4F17-ADA0-230ADEC04173",
"fee": 0,
"hash": null,
"external_id": "rtd-9012-lkju-908",
"is_internal": false,
"network": "bitcoin",
"memo": "<string>",
"tag": "<string>"
},
"error_code": null,
"message": null
}Headers
The API key as a string.
See the Generating Signature section for more details.
A timestamp in milliseconds. See the Timestamp Security section for more details.
An additional, non-required parameter, that you can send to specify the number of milliseconds after the timestamp for the request to be valid. See the Timestamp Security section for more details.
Query Parameters
Withdrawal identifier
Example:
"000A650D-F8A5-419A-A4C4-194452345981"
Withdrawal external identifier
Example:
"000A650D-F8A5-419A-A4C4-194452345981"