Deploy Ladill Hosting / deploy (push) Successful in 28s
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>
17 lines
629 B
PHP
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',
|
|
];
|