Overview
The billing system tracks credit balance, top-ups, and usage. Credits are denominated in cents (USD). The current implementation uses a simulated payment system for development.Get Billing Summary
Retrieve account balance and usage statistics.This endpoint requires session authentication (dashboard login).
Response
number
Current account balance in cents (USD)
number
Total amount topped up (all time) in cents
number
Total amount spent on usage (all time) in cents
number
Count of active (non-revoked) API keys
number
Total count of x402 payment transactions
Balance = Total Top-Ups - Total Usage
Top Up Credits
Add credits to your account balance. This endpoint simulates payment for development purposes.This endpoint requires session authentication (dashboard login).
Request Body
number
required
Amount to add in cents (USD)
- Minimum: 100 cents ($1.00)
- Maximum: 100,000 cents ($1,000.00)
Response
string
Unique identifier for the payment intent (prefixed with
pi_)number
Amount added to the balance in cents
number
Updated account balance in cents
Error Response
If the amount is outside the allowed range:List Payment Intents
Retrieve recent payment intents (top-up history).This endpoint requires session authentication (dashboard login).
Response
array
List of payment intent objects (up to 50 most recent)
Credit Ledger System
Behind the scenes, ActumX uses a double-entry ledger system:Credit Entries
- Source:
top_up - Direction:
credit - Reference: Payment intent ID
Debit Entries
- Source:
api_request - Direction:
debit - Reference: x402 transaction ID
Error Codes
Pricing
Current x402 request pricing:- Protected endpoint request: 25 cents ($0.25 USD)