Files
ladill-hosting/config/billing.php
T
isaaccladandClaude Opus 4.8 739043755f
Deploy Ladill Hosting / deploy (push) Successful in 28s
Add wallet balance widget to the profile menu (after Billing)
Wallet balance peek rendered as a menu row directly under Billing, backed by
a /wallet/balance endpoint (BillingClient) and guarded by Route::has. Also
opens Afia via a direct window event for reliability.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 12:25:46 +00:00

17 lines
629 B
PHP

<?php
return [
/*
| Consumer-side config for the platform Billing API. This (extracted) app
| does NOT own a wallet — it bills the one platform UserWallet over HTTP.
| Mirrors the contract validated in the monolith (smtp-extraction-runbook §4-A).
| The bearer key is the platform's per-consumer 'domains' key; ledger entries
| are tagged with the 'domains' service.
*/
'api_url' => env('BILLING_API_URL', 'https://ladill.com/api/billing'),
'api_key' => env('BILLING_API_KEY_HOSTING'),
'service' => 'hosting',
'wallet_balance_route' => 'wallet.balance',
'currency' => 'GHS',
];