Add test money
Это содержимое пока не доступно на вашем языке.
any keywritestest key only
TEST SPACE ONLY.
Everything the agent is told about this tool
TEST SPACE ONLY. Adds free test money to this test space’s wallet, so that a campaign can be launched without a bank transfer. It goes through the same top-up path as a real transfer (an invoice, then the bank’s confirmation), so the statement shows a deposit. The money is not real and exists only in this test space; it never reaches the brand’s real wallet or ledger. The wallet has a ceiling; a call that would pass it adds only what fits (funded). Send an idempotencyKey; dryRun: true shows what would be added and adds nothing.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
amount |
integer |
yes | How much test money to add, in minor units (cents). At most 100000 (EUR 1000) per call. |
idempotencyKey |
string |
no | Any unique string for this attempt, for example a UUID. Sending the same key and body again returns the first answer instead of writing twice. |
dryRun |
boolean |
no | When true, runs every check and returns what would happen, and keeps nothing: no draft, no log entry, no event. |
A write: send an idempotencyKey (any unique string for this one intent). A call with dryRun: true needs none.
Example
Section titled “Example”curl https://countviews.com/api/public/v1/call \ -H "Authorization: Bearer $COUNTVIEWS_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"sandbox_fund","arguments":{"amount":100000,"idempotencyKey":"fund-1"}}'{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "sandbox_fund", "arguments": { "amount": 100000, "idempotencyKey": "fund-1" } }}{ "amount": 100000, "idempotencyKey": "fund-1"}