Skip to main content
Fills an existing Agentcard virtual card into the checkout form on the current page, through the Agentcard Pay Chrome extension. Use it when you already have a card and want to reuse it on another checkout instead of creating a new one with pay_checkout.

Parameters

ParameterTypeRequiredDescription
card_idstringYesThe Agentcard card ID to fill.
tab_idnumberNoChrome tab ID. If omitted, uses the active tab.

Returns

The fill status reported by the extension (for example filled) and the list of form fields that were filled. If the fill fails, it returns status: "error" with an error message and the card ID you passed.

Example

{ "name": "fill_card", "arguments": { "card_id": "card_abc123" } }