@extends('layouts.dash') @section('title', 'My Wallet') @section('content')

My Wallet

Add money securely, see your balance, then use it to buy any API credits instantly.

Buy Credits
Available balance Secure
{{ taka($wallet->balance) }}
Use this balance for any API credit purchase. No separate payment each time.
Add Money

Choose an amount and complete payment in the secure payment gateway. Your wallet updates after verification.

@csrf
Minimum {{ taka(setting('wallet_min_topup',10)) }} • Maximum {{ taka(setting('wallet_max_topup',100000)) }}
Wallet Activity

Every top-up and credit purchase is recorded here.

{{ $transactions->total() }} transactions
@if($transactions->isEmpty())
No wallet activity yetAdd money to start using your wallet.
@else
@foreach($transactions as $tx)@endforeach
TypeDescriptionAmountBalance afterDate
{{ $tx->amount >= 0 ? 'Added' : 'Spent' }}{{ $tx->description ?: ucfirst(str_replace('_',' ', $tx->type)) }}
{{ $tx->reference ?: '—' }}
{{ $tx->amount >= 0 ? '+' : '' }}{{ taka($tx->amount) }}{{ taka($tx->balance_after) }}{{ fmt_date($tx->created_at, true) }}
{{ $transactions->links() }} @endif
How it works
Add money once → choose an API → set any credit quantity → pay from wallet. The admin controls each API’s per-credit price.
@endsection