Cards
Log Transaction
Manually log a transaction against a card
POST
Logs a transaction against a card. Useful for tracking spend that occurs outside of automatic payment webhook processing.
With optional fields:
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
amount_cents | number | Yes | Transaction amount in cents |
merchant_name | string | No | Name of the merchant |
description | string | No | Description of the transaction |
agent_id | string | No | Agent UUID that initiated the transaction |
metadata | object | No | Arbitrary key-value metadata |
CLI
MCP
Tool:naive_cards_log_transaction