Change payment route destination
update_route_destinationChange the payout wallet on an existing payment route to support wallet rotation. This feature updates the destination address for future deposits without requiring a new virtual account.
Instructions
Change the payout wallet on an existing payment route. Deposits after this point are paid out to the new address; use it when a customer rotates wallets rather than creating a second route.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customerId": "<customerId>",
"virtualAccountId": "<virtualAccountId>",
"destinationAddress": "<destinationAddress>",
"destinationPaymentRail": "<destinationPaymentRail>"
},
"name": "update_route_destination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID | |
| virtualAccountId | Yes | The payment route (virtual account) ID | |
| destinationAddress | Yes | New payout wallet address | |
| destinationCurrency | No | Stablecoin to receive | usdt |
| destinationPaymentRail | Yes | Blockchain network the new address belongs to |