Get Charge
Returns the full object of a specific charge. Use this to poll the status of a transaction or to retrieve metadata for reconciliation.
Headers
The secret API key of the agent. This key ensures that only the agent who created the charge (or has administrative access) can view its details.
Path Parameters
The unique Cuids-based identifier for the charge. This is the chargeId returned during the creation process.
Response
Charge details retrieved successfully
Unique identifier for the charge record.
"cmnf6jwup00091rcvo4qevr42"
The unique string provided during creation to prevent duplicate processing.
"2207f602-c751-4b9b-98ae-456653bfe7b7"
The transaction amount in decimal format (e.g., 50.00).
50
The currency used for the transaction.
USDC, USD "USDC"
The purpose of the charge as defined by the agent.
"AI Inference Service"
The current state of the charge in its lifecycle.
PENDING, SUCCESS, FAILED, EXPIRED "FAILED"
Timestamp when the charge was first initialized.
"2026-03-31T22:20:03.217Z"

