Misar IO Docs

Credit rates

GET /io/wallet/rates — public table of credits charged per feature unit.

Returns the public credit rate table: how many credits each billable feature costs per unit. This endpoint is public — no authentication required — so products, pricing pages, and clients can display costs.

GET https://api.misar.io/io/wallet/rates

Authentication

None. This endpoint is public.

Request

curl "https://api.misar.io/io/wallet/rates"

Response

{
  "rates": [
    {
      "feature": "blog.article.generate",
      "label": "Generate an article",
      "credits": 1,
      "unit": "article"
    },
    {
      "feature": "mail.send",
      "label": "Send an email",
      "credits": 1,
      "unit": "1000 emails"
    }
  ]
}
ratesobject[]

The active credit rate table. Each entry maps a feature to its credits-per-unit cost.

Rate entry fields

Prop

Type

Rates are the source of truth for cost

The credits charged by POST /io/wallet/deduct are count × the feature's credits rate. Never hardcode per-feature costs in product code — read them from this endpoint (or the cached rate table) so a rate change applies everywhere at once.