cm_set_client_payg_billing
Configure a client's pay-as-you-go billing: set currency, credit purchase permissions, client payment responsibility, and markup rates.
Instructions
Configure pay-as-you-go (PAYG) billing settings for a client.
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": {
"clientId": "<clientId>",
"Currency": "<Currency>",
"CanPurchaseCredits": "<CanPurchaseCredits>",
"ClientPays": "<ClientPays>",
"MarkupPercentage": "<MarkupPercentage>"
},
"name": "cm_set_client_payg_billing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Currency | Yes | Billing currency code, e.g. 'USD'. | |
| clientId | Yes | Client ID (a hex string identifying the client). | |
| ClientPays | Yes | Whether the client pays for their sending. | |
| MarkupOnDelivery | No | Flat markup added per campaign delivery. | |
| MarkupPercentage | Yes | Markup percentage applied to spend. | |
| CanPurchaseCredits | Yes | Whether the client may purchase email credits. | |
| MarkupPerRecipient | No | Markup added per recipient. | |
| MarkupOnDesignSpamTest | No | Markup added per design & spam test. |