@props([ 'id', 'title' => 'Add funds', 'topupAction', 'minTopup' => 5, 'suggestedAmount' => 10, 'pricePerAction' => null, 'actionNoun' => 'action', 'serviceBalance' => null, 'serviceBalanceLabel' => 'Wallet balance', 'description' => '', 'openOnLoad' => false, 'returnUrl' => null, ])
{{-- Header with step indicator --}}

How billing works

{{-- STEP 1 — billing explainer --}}

Ladill is pay-as-you-go. One wallet funds every Ladill app, and you're only charged when you perform an action.

@if($description)
{{ $description }}
@endif
@if($pricePerAction !== null)
Each {{ $actionNoun }} costs GHS {{ number_format((float) $pricePerAction, 4) }}
@endif @if($serviceBalance !== null)
{{ $serviceBalanceLabel }} GHS {{ number_format((float) $serviceBalance, 2) }}
@endif

Top up any amount — unused funds stay in your wallet for next time.

{{-- STEP 2 — amount + payment (plain POST -> Paystack checkout) --}}
@csrf @if($returnUrl) @endif

Minimum GHS {{ number_format($minTopup, 2) }}

Pay securely with Paystack.