Skip to content

Ask for a top-up invoice

scope wallet:depositwriteslive key only

Opens an invoice for a bank transfer of the sum you name (amount as {amount, currency}, minor units, EUR) and returns its payment reference, the account to pay to and howToPay in words for the brand.

Everything the agent is told about this tool

Opens an invoice for a bank transfer of the sum you name (amount as {amount, currency}, minor units, EUR) and returns its payment reference, the account to pay to and howToPay in words for the brand. Nothing is charged and no money moves: the balance rises only after the brand pays the invoice from its own bank and the transfer is matched. Asking again for the same sum while that invoice is open returns it (reused: true) instead of a second reference; past a few open invoices the answer is too_many_open_invoices. Pass dryRun: true to see what would be issued without opening anything (bank transfers only: an invoice on another rail is opened at the payment provider, so a dry run of one is refused with dry_run_unsupported). Send an idempotencyKey. Then read wallet_deposit_info to see when the money arrives. Example: {"amount": {"amount": 100000, "currency": "EUR"}, "idempotencyKey": "topup-2026-10-1"}.

Name Type Required Description
amount object yes
method "sepa" | "card" | "stablecoin" no
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.

curl https://countviews.com/api/public/v1/call \
-H "Authorization: Bearer $COUNTVIEWS_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"wallet_deposit_request","arguments":{"amount":{"amount":100000,"currency":"EUR"},"idempotencyKey":"topup-2026-10-1"}}'