ghl_affiliate_update_payout_method
Update stored payout details for an affiliate without changing the payout method type; use it to replace PayPal or bank info for a specific location and affiliate.
Instructions
Update Payout Method Replace the stored details of a payout method. The payout method type cannot be changed, and the method must belong to the affiliate named in the path. Endpoint: PUT /affiliate-manager/{locationId}/affiliate/{affiliateId}/payout-method/{payoutMethodId} (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
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": {
"locationId": "<locationId>",
"affiliateId": "<affiliateId>",
"payoutMethodId": "<payoutMethodId>",
"body": "<body>"
},
"name": "ghl_affiliate_update_payout_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id | |
| payoutMethodId | Yes | Payout Method Id |