All guides
Admin

Credits

Read or manage credit/usage records and their related limits.

Step-by-step guide

Before you start

Use an administrator account for this feature.

Open this feature

Open /admin/settings/credits on your application domain, or use the matching item in the application menu.

Steps

Save changes

  1. Open /admin/settings/credits on your own application domain.
  2. Complete these fields in that form: Pack expiry in days, Credit spend priority, Low-balance threshold, Insufficient-credit message, Default CTA when empty, Pack visibility, Low Smart Reply warning threshold. Their choices and limits are listed below.
  3. Select Save changes. The exact label can change between creating and editing a record.
  4. If validation fails, correct the named field and submit again. After success, reopen the same record and compare the saved values.
Field shown in the formWhat to enterExample / note
Pack expiry in daysRequired. Use 0 for no expiry. Enter a whole number. At least 0. No more than 3650.Use the value required by the task; no example is assumed.
Credit spend priorityRequired. Choose one of the options shown by the form.Use the value required by the task; no example is assumed.
Low-balance thresholdRequired. Enter a whole number. At least 0. No more than 1000000.Use the value required by the task; no example is assumed.
Insufficient-credit messageRequired. No more than 255 characters.Use the value required by the task; no example is assumed.
Default CTA when emptyRequired. Choose one of the options shown by the form.Use the value required by the task; no example is assumed.
Pack visibilityRequired. Choose one of the options shown by the form.Use the value required by the task; no example is assumed.
Low Smart Reply warning thresholdRequired. Send an account alert when the monthly remaining balance reaches this number. Use 0 to disable low-balance warnings. Enter a whole number. At least 0. No more than 1000000.Use the value required by the task; no example is assumed.

Fields shown in the interface

Only fields traced to this role’s handler and its own view are listed. The application can show separate create/edit forms; do not fill every row on one screen.

Form 1 — fields shown in the interface
FieldWhat to enter or choose
Pack expiry in daysRequired. Use 0 for no expiry. Enter a whole number. At least 0. No more than 3650.
Credit spend priorityRequired. Choose one of the options shown by the form.
Low-balance thresholdRequired. Enter a whole number. At least 0. No more than 1000000.
Insufficient-credit messageRequired. No more than 255 characters.
Default CTA when emptyRequired. Choose one of the options shown by the form.
Pack visibilityRequired. Choose one of the options shown by the form.
Low Smart Reply warning thresholdRequired. Send an account alert when the monthly remaining balance reaches this number. Use 0 to disable low-balance warnings. Enter a whole number. At least 0. No more than 1000000.

Check the result

After a source-checked procedure, verify the same record in the same workspace. Check saved values, visible state and access with the intended test account. An external payment/message/provider action needs its own result check.

Problems and validation

ProblemNext step
A field rejects the valueCheck its named error, the form’s visible choices and the relevant limit. Do not substitute internal numeric codes for the displayed options.
The control is missingCheck role, plan, enabled app and current record state. Do not grant administrator access merely to complete a User task.
The saved result is unexpectedReopen the same record and verify its owner/workspace before repeating the action.

Technical reference

Role-scoped source references

Pinned commit: 37d44a1727216f5c492205024b323aa522730ebc

Source-only route information
MethodSource-default route
LIVEWIRE/admin/settings/credits
Unmapped fields — not user instructions

These fields belong to this role’s source handler, but their screen labels were not confirmed.

Source keyHandler
credit_topup_enabledmodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_pack_enabledmodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_pack_carry_overmodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_negative_balance_allowedmodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_topup_requires_active_planmodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_trial_user_can_buy_extramodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_free_plan_user_can_buy_extramodules/App/AppCredits/Livewire/CreditSettingsPage.php
credit_action_block_on_emptymodules/App/AppCredits/Livewire/CreditSettingsPage.php
smart_reply_topup_enabledmodules/App/AppCredits/Livewire/CreditSettingsPage.php
smart_reply_topup_requires_active_planmodules/App/AppCredits/Livewire/CreditSettingsPage.php