Skip to main content
Use these endpoints to inspect your Solami subscription and billing status. REST base URL: https://api.solami.fast

Get subscription

Returns details about your current plan.
GET /v1/billing/subscription
curl "https://api.solami.fast/v1/billing/subscription?api_key=YOUR_API_KEY"

Response

{
  "subscription": "Pro",
  "billing_cycle": "Monthly",
  "starts": 1700000000,
  "expires": 1702592000,
  "paid_amount": 9900,
  "renewal_disabled": false,
  "payment_provider": "balance"
}
subscription
string
Your current plan tier. One of Free, Dev, Pro, Ultra, or SharedMetal.
billing_cycle
string
How often you are billed. One of Monthly, Quarterly, SemiAnnual, or Annual.
starts
number
Unix timestamp (seconds) when the current billing period started.
expires
number
Unix timestamp (seconds) when the current billing period ends.
paid_amount
number
Amount paid for the current period, in the smallest currency unit (e.g. cents).
renewal_disabled
boolean
true if auto-renewal has been cancelled. The plan remains active until expires.
payment_provider
string
How the subscription is paid. "balance" means your account balance is used.

Get balance

Returns your current account balance.
GET /v1/billing/balance
curl "https://api.solami.fast/v1/billing/balance?api_key=YOUR_API_KEY"

Response

{
  "balance": 500000000
}
balance
number
Your account balance scaled by 100,000,000. For example, a balance of 500000000 equals 5 SOL.
1 SOL = 100,000,000 balance units. To deposit, use your unique deposit address shown in the Dashboard.

Get invoices

Returns a list of past invoices for your account.
GET /v1/billing/invoices
curl "https://api.solami.fast/v1/billing/invoices?api_key=YOUR_API_KEY"

Response

[
  {
    "id": "inv_001",
    "plan": "Pro",
    "amount": 9900,
    "billing_cycle": "Monthly",
    "paid_at": 1700000000,
    "period_start": 1700000000,
    "period_end": 1702592000
  }
]
id
string
Unique invoice identifier.
plan
string
The plan tier this invoice covers.
amount
number
Amount charged, in the smallest currency unit.
billing_cycle
string
The billing cycle for this invoice.
paid_at
number
Unix timestamp (seconds) when the invoice was paid.
period_start
number
Start of the billing period this invoice covers (Unix seconds).
period_end
number
End of the billing period this invoice covers (Unix seconds).