Update mutable fields on an existing Offloader Wallet. You can change the bank account destination (including the payout rail and reference), adjust the integrator fee rate, or update the return address for failed transactions. The on-chain address and network are immutable after creation.
Endpoint
PATCH https://api.spherepay.co/v2/offloader-wallet/{id}
Authentication
All requests must include a Bearer token in the Authorization header.
Authorization: Bearer < toke n>
Path parameters
The ID of the offloader wallet to update.
Request parameters
Updated bank account destination configuration. Only supply fields you want to change. The ID of the new bank account to receive converted funds.
Updated ACH reference string (1–10 characters).
Updated wire message string (1–105 characters).
Updated SEPA reference string (6–140 characters).
Updated integrator fee in basis points (0–1000). Send "0" to remove the integrator fee entirely.
Updated on-chain return address for failed transactions. Must be valid for the wallet’s network.
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"destination": {
"bankAccountId": "bankAccount_6221e8d4299f4a889bd882255e92f581",
"achReference": "REF456"
}
}'
Response fields
Unique identifier for the offloader wallet.
The ID of the customer who owns this wallet.
The on-chain wallet address (unchanged after creation).
The stablecoin this wallet accepts (e.g., "usdc").
The blockchain network (e.g., "ethereum").
The updated bank account destination configuration.
Updated integrator and platform fee configuration.
The updated on-chain return address.
ISO 8601 timestamp of when the wallet was created.
ISO 8601 timestamp of the most recent update.
{
"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"
}