curl --request POST \
--url https://third-party.lootrush.com/api/crypto/{userId}/withdraw \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.50",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2",
"currency": "USDT",
"network": "polygon",
"externalId": "withdraw-12345"
}
'import requests
url = "https://third-party.lootrush.com/api/crypto/{userId}/withdraw"
payload = {
"amount": "100.50",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2",
"currency": "USDT",
"network": "polygon",
"externalId": "withdraw-12345"
}
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({
amount: '100.50',
to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2',
currency: 'USDT',
network: 'polygon',
externalId: 'withdraw-12345'
})
};
fetch('https://third-party.lootrush.com/api/crypto/{userId}/withdraw', 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://third-party.lootrush.com/api/crypto/{userId}/withdraw",
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([
'amount' => '100.50',
'to' => '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2',
'currency' => 'USDT',
'network' => 'polygon',
'externalId' => 'withdraw-12345'
]),
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://third-party.lootrush.com/api/crypto/{userId}/withdraw"
payload := strings.NewReader("{\n \"amount\": \"100.50\",\n \"to\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2\",\n \"currency\": \"USDT\",\n \"network\": \"polygon\",\n \"externalId\": \"withdraw-12345\"\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://third-party.lootrush.com/api/crypto/{userId}/withdraw")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"100.50\",\n \"to\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2\",\n \"currency\": \"USDT\",\n \"network\": \"polygon\",\n \"externalId\": \"withdraw-12345\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://third-party.lootrush.com/api/crypto/{userId}/withdraw")
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 \"amount\": \"100.50\",\n \"to\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2\",\n \"currency\": \"USDT\",\n \"network\": \"polygon\",\n \"externalId\": \"withdraw-12345\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Withdraw created as queued",
"data": {
"bulkId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalId": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Create withdrawal
Initiates a cryptocurrency withdrawal for a user. The withdrawal is created as a queued transaction and processed asynchronously.
curl --request POST \
--url https://third-party.lootrush.com/api/crypto/{userId}/withdraw \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.50",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2",
"currency": "USDT",
"network": "polygon",
"externalId": "withdraw-12345"
}
'import requests
url = "https://third-party.lootrush.com/api/crypto/{userId}/withdraw"
payload = {
"amount": "100.50",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2",
"currency": "USDT",
"network": "polygon",
"externalId": "withdraw-12345"
}
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({
amount: '100.50',
to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2',
currency: 'USDT',
network: 'polygon',
externalId: 'withdraw-12345'
})
};
fetch('https://third-party.lootrush.com/api/crypto/{userId}/withdraw', 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://third-party.lootrush.com/api/crypto/{userId}/withdraw",
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([
'amount' => '100.50',
'to' => '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2',
'currency' => 'USDT',
'network' => 'polygon',
'externalId' => 'withdraw-12345'
]),
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://third-party.lootrush.com/api/crypto/{userId}/withdraw"
payload := strings.NewReader("{\n \"amount\": \"100.50\",\n \"to\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2\",\n \"currency\": \"USDT\",\n \"network\": \"polygon\",\n \"externalId\": \"withdraw-12345\"\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://third-party.lootrush.com/api/crypto/{userId}/withdraw")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"100.50\",\n \"to\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2\",\n \"currency\": \"USDT\",\n \"network\": \"polygon\",\n \"externalId\": \"withdraw-12345\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://third-party.lootrush.com/api/crypto/{userId}/withdraw")
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 \"amount\": \"100.50\",\n \"to\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2\",\n \"currency\": \"USDT\",\n \"network\": \"polygon\",\n \"externalId\": \"withdraw-12345\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Withdraw created as queued",
"data": {
"bulkId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalId": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
API token issued by your LootRush account manager. Sent as Authorization: Bearer <token>.
Path Parameters
Unique identifier of the user making the withdrawal.
Body
Amount to withdraw. Sent as a string to preserve decimal precision.
"100.50"
Recipient identifier: an email address, a user ID (UUID), or a wallet address (0x-prefixed, 42 chars). Emails and user IDs resolve to the user's verified smart wallet; a wallet address is used as-is.
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb2"
Cryptocurrency to withdraw.
"USDT"
"USDC"
"EURC"
Blockchain network.
"polygon"
"ethereum"
"base"
Optional external identifier for tracking this withdrawal in your system.
"withdraw-12345"