Skip to main content
Connect to https://mcp.agentcard.sh/mcp with your company credential (client_id + client_secret, or the company access token). Behavior: idempotent per idempotency_key.

What it does

top_up_card raises the spending limit of an open company-funded multi-use card from your company balance. Agentcard keeps the existing card and its number, so the top-up does not count against the cardholder’s limit on new cards. Call it whenever your user adds money to a card they already have. If you close the card and create a new one instead, the card number changes and each new card counts against that limit, which ends in card_limit_reached. Each top-up needs its own idempotency_key. On funding_in_progress, deposit_confirming, a timeout, a connection error or any result you are unsure of, call again with the same arguments and the same key: Agentcard returns the first attempt’s result and never adds the money twice. Use a new key only for a new top-up, or after one of the other refusals below.

Inputs

Returns

Example call

The tool answers:

Refusals

A refusal comes back as a status with a message, not as an error. For example, a top-up on a single-use card answers:
A few failures come back as a tool error instead of a status, with the code at the start of the message. Nothing is reserved for any of them except top_up_failed. The same top-up over REST is POST /api/v1/cards/{id}/topups with an Idempotency-Key header and {"amount_cents": 500}.