Saltar al contenido principal
Update an offloader wallet
curl --request PATCH \
  --url https://api.spherepay.co/v2/offloader-wallet/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "destination": {
    "bankAccountId": "bankAccount_6221e8d4299f4a889bd882255e92f581",
    "achReference": "REF456"
  }
}
'
{
  "id": "wallet_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "customerId": "customer_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "address": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
  "currency": "usdc",
  "network": "ethereum",
  "destination": {
    "bankAccountId": "bankAccount_6221e8d4299f4a889bd882255e92f581",
    "currency": "usd",
    "network": "ach",
    "achReference": "REF456"
  },
  "fees": {
    "integratorFee": {
      "bpsRate": "100",
      "currency": "usdc"
    },
    "platformFee": {
      "bpsRate": "30",
      "currency": "usdc"
    }
  },
  "returnAddress": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
  "created": "2024-06-15T10:30:00.000Z",
  "updated": "2024-06-15T14:00:00.000Z"
}
Actualiza campos modificables de un Offloader Wallet existente. Puedes cambiar la cuenta bancaria de destino (incluyendo el riel de pago y la referencia), ajustar la tasa de comisión del integrador, o actualizar la dirección de retorno para transacciones fallidas. La dirección on-chain y la red son inmutables después de la creación.

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

Cuerpo

application/json
destination
object
requerido

The bank account destination where converted funds are sent.

Ejemplo:
{
"bankAccountId": "bankAccount_6221e8d4299f4a889bd882255e92f581",
"achReference": "REF456"
}
integratorBpsFeeRate
string

Integrator fee override in basis points (0-1000). Send "0" to remove the integrator fee.

Ejemplo:

"75"

returnAddress
string

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

Ejemplo:

"0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97"

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"

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 18 de junio de 2026