Top Up Wallet
{% set fiat_gateways = enabled_gateways.keys() | select('in', ['stripe', 'paypal']) | list %}
{% set crypto_gateways = enabled_gateways.keys() | select('in', ['bitcoin', 'ethereum', 'usdt', 'usdc']) | list %}
{% if not enabled_gateways %}
No payment methods are currently enabled.
Please contact the administrator to enable a payment gateway.
{% else %}
{% if fiat_gateways %}
Quick amounts
{% for amt in [10, 15, 20, 50, 100] %}
{% endfor %}
{% for name in fiat_gateways %}
{% if name == 'stripe' %}
{% elif name == 'paypal' %}
{% endif %}
{% endfor %}
{% endif %}
{% if crypto_gateways %}
{% if fiat_gateways %}
{% endif %}
Crypto deposit
{% for name in crypto_gateways %}
{% set cfg = enabled_gateways[name] %}
{% endfor %}
{% endif %}
{% endif %}
Auto Top-Up Settings
{% if stripe_cards %}
Charged to your default credit card:
{% set default_card = stripe_cards | selectattr('is_default') | first | default(stripe_cards[0]) %}
•••• {{ default_card.last4 or '????' }} ({{ default_card.brand | default('Card') | capitalize }})
{% else %}
Auto top-up charges your saved credit card automatically.
You don't have a credit card on file yet.
Add Credit Card
{% endif %}
{% if not wallet.auto_topup_enabled %}
Enable auto top-up to automatically reload your wallet when the balance drops below a threshold. This ensures uninterrupted API access.
{% endif %}