Update payment route
update_payment_routeUpdates a payment route's deposit handling mode—auto payout, hold, or manual—so you can control how deposits are processed for a customer's virtual account.
Instructions
Update a payment route's settings (e.g., deposit handling mode)
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>",
"depositHandlingMode": "<depositHandlingMode>"
},
"name": "update_payment_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID | |
| virtualAccountId | Yes | The payment route ID to update | |
| depositHandlingMode | Yes | New deposit handling mode |