Credits
Read or manage credit/usage records and their related limits.
Before you start
Use an administrator account for this feature.
Open /admin/settings/credits on your application domain, or use the matching item in the application menu.
Steps
Save changes
- Open /admin/settings/credits on your own application domain.
- 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.
- Select Save changes. The exact label can change between creating and editing a record.
- 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 form | What to enter | Example / note |
|---|---|---|
| Pack expiry in days | Required. 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 priority | Required. Choose one of the options shown by the form. | Use the value required by the task; no example is assumed. |
| Low-balance threshold | Required. Enter a whole number. At least 0. No more than 1000000. | Use the value required by the task; no example is assumed. |
| Insufficient-credit message | Required. No more than 255 characters. | Use the value required by the task; no example is assumed. |
| Default CTA when empty | Required. Choose one of the options shown by the form. | Use the value required by the task; no example is assumed. |
| Pack visibility | Required. Choose one of the options shown by the form. | Use the value required by the task; no example is assumed. |
| Low Smart Reply warning threshold | Required. 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
| Field | What to enter or choose |
|---|---|
| Pack expiry in days | Required. Use 0 for no expiry. Enter a whole number. At least 0. No more than 3650. |
| Credit spend priority | Required. Choose one of the options shown by the form. |
| Low-balance threshold | Required. Enter a whole number. At least 0. No more than 1000000. |
| Insufficient-credit message | Required. No more than 255 characters. |
| Default CTA when empty | Required. Choose one of the options shown by the form. |
| Pack visibility | Required. Choose one of the options shown by the form. |
| Low Smart Reply warning threshold | Required. 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
| Problem | Next step |
|---|---|
| A field rejects the value | Check 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 missing | Check role, plan, enabled app and current record state. Do not grant administrator access merely to complete a User task. |
| The saved result is unexpected | Reopen 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
| Method | Source-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 key | Handler |
|---|---|
| credit_topup_enabled | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_pack_enabled | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_pack_carry_over | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_negative_balance_allowed | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_topup_requires_active_plan | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_trial_user_can_buy_extra | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_free_plan_user_can_buy_extra | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| credit_action_block_on_empty | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| smart_reply_topup_enabled | modules/App/AppCredits/Livewire/CreditSettingsPage.php |
| smart_reply_topup_requires_active_plan | modules/App/AppCredits/Livewire/CreditSettingsPage.php |