Saltar al contenido principal
Get an offloader wallet
curl --request GET \
  --url https://api.spherepay.co/v2/offloader-wallet/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.spherepay.co/v2/offloader-wallet/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.spherepay.co/v2/offloader-wallet/{id}', 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.spherepay.co/v2/offloader-wallet/{id}",
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://api.spherepay.co/v2/offloader-wallet/{id}"

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://api.spherepay.co/v2/offloader-wallet/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.spherepay.co/v2/offloader-wallet/{id}")

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
{
  "id": "wallet_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "customerId": "customer_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "address": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
  "currency": "usdc",
  "network": "ethereum",
  "status": "active",
  "destination": {
    "bankAccountId": "bankAccount_6221e8d4299f4a889bd882255e92f581",
    "currency": "usd",
    "network": "ach",
    "achReference": "REF123"
  },
  "fees": {
    "integratorFee": {
      "bpsRate": "100",
      "currency": "usdc"
    },
    "platformFee": {
      "bpsRate": "30",
      "currency": "usdc"
    }
  },
  "created": "2024-06-15T10:30:00.000Z",
  "updated": "2024-06-15T12:00:00.000Z",
  "returnAddress": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97"
}
{
"status": 400,
"detail": "Invalid request parameters",
"code": "address/invalid",
"correlationId": "28c61e885c6e5eaa78c1a2183a9b883c"
}
{
"status": 404,
"detail": "Resource not found",
"code": "resource/not-found",
"correlationId": "28c61e885c6e5eaa78c1a2183a9b883c"
}
{
"status": 422,
"detail": "Validation failed",
"code": "validation/failed",
"correlationId": "28c61e885c6e5eaa78c1a2183a9b883c",
"errors": [
{
"detail": "Invalid email format",
"pointer": "/email"
},
{
"detail": "Name is required",
"pointer": "/name"
}
]
}
Recupera la configuración completa de un único Offloader Wallet por su ID. La respuesta incluye la dirección on-chain para compartir con el cliente, la cuenta bancaria de destino vinculada, la red blockchain y la estructura de comisiones actual. Usa este endpoint para verificar la configuración de una billetera o para buscar una dirección antes de dirigir a un cliente a depositar fondos.

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

id
string
requerido

Respuesta

id
string
requerido

Unique identifier for the offloader wallet.

Ejemplo:

"wallet_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"

customerId
string
requerido

The customer who owns the offloader wallet.

Ejemplo:

"customer_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"

address
string
requerido

The on-chain deposit address for the offloader wallet. Send crypto to this address to trigger automatic conversion.

Ejemplo:

"0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97"

currency
enum<string>
requerido

The crypto currency the offloader wallet accepts for deposits. See Supported Rails & Currencies.

Opciones disponibles:
usdc,
usdt,
eurc
Ejemplo:

"usdc"

network
enum<string>
requerido

The blockchain network the offloader wallet is on. See Supported Rails & Currencies.

Opciones disponibles:
sol,
ethereum,
arbitrum,
polygon,
base,
avalanche,
tron
Ejemplo:

"ethereum"

status
enum<string>
requerido

Lifecycle status of the offloader wallet. active accepts deposits and settles; deactivated no longer settles.

Opciones disponibles:
active,
deactivated
Ejemplo:

"active"

destination
ACH · object
requerido

The bank account destination where converted funds are sent. See Bank Accounts guide.

Ejemplo:
{
"bankAccountId": "bankAccount_6221e8d4299f4a889bd882255e92f581",
"currency": "usd",
"network": "ach",
"achReference": "REF123"
}
fees
object
requerido

Fee configuration for the offloader wallet, including integrator and platform fees.

Ejemplo:
{
"integratorFee": { "bpsRate": "100", "currency": "usdc" },
"platformFee": { "bpsRate": "30", "currency": "usdc" }
}
created
string
requerido

Timestamp when the offloader wallet was created (ISO 8601).

Ejemplo:

"2024-06-15T10:30:00.000Z"

updated
string
requerido

Timestamp when the offloader wallet was last updated (ISO 8601).

Ejemplo:

"2024-06-15T12:00:00.000Z"

returnAddress
string

Crypto address where funds are returned on failed transactions. Must be valid for the wallet network. Null if not configured.

Ejemplo:

"0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97"

Última modificación el 22 de junio de 2026