def METHOD_NAME(
    gift_card: GiftCard,
    user: Optional[User],
    app: Optional[App],
):
    balance_data = {
        "currency": gift_card.currency,
        "initial_balance": gift_card.initial_balance_amount,
        "current_balance": gift_card.current_balance_amount,
    }
    return GiftCardEvent.objects.create(
        gift_card=gift_card,
        user=user,
        app=app,
        type=GiftCardEvents.ISSUED,
        parameters={"balance": balance_data, "expiry_date": gift_card.expiry_date},
    )