Skip to main content
Credits pay for project processing and cloud exports. Use credits overview before starting work when an automation needs to decide whether the account has enough balance.

credits overview

Show the current balance, renewal dates, expiring credit packages, and subscription renewal metadata.
youka credits overview --json
Example response shape:
{
  "ok": true,
  "data": {
    "availableBalance": 120,
    "renewalDates": ["2026-05-01T00:00:00.000Z"],
    "topups": [
      {
        "id": "topup_123",
        "originalAmount": 100,
        "remaining": 40,
        "expiresAt": "2026-07-01T00:00:00.000Z"
      }
    ],
    "subscription": {
      "renewsAt": "2026-05-01T00:00:00.000Z"
    }
  }
}

What’s next

  • Billing - create checkout and billing portal URLs
  • Projects - quote credits before creating a project
  • Exports - quote credits before rendering